@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --bg-color: #fdfcf9;
    --surface-color: #ffffff;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --accent: #4a4e69;
    --soft-accent: #9a8c98;
    --border: #e2e2e2;
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    position: relative;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 80px 0;
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 1px;
}

/* Hero */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 500;
    max-width: 800px;
}

/* Content Sections */
.intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 2rem;
}

.mission-panel {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.intro p {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-primary);
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
}

#servicios {
    background: #fdfcf9;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.glow-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.glow-1 {
    background: #4a4e69;
    top: -100px;
    left: -100px;
}

.glow-2 {
    background: #9a8c98;
    bottom: -100px;
    right: -100px;
}

#servicios .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 4rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 32px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(74, 78, 105, 0.08);
    border-color: rgba(255, 255, 255, 0.8);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--soft-accent);
    opacity: 0.3;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-plus {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255, 250, 240, 0.4);
}

.service-plus h3 {
    color: #b8860b;
}

.service-plus:hover {
    border-color: rgba(212, 175, 55, 0.6);
    background: rgba(255, 250, 240, 0.6);
}

.service-legado {
    border-color: rgba(74, 78, 105, 0.2);
    background: rgba(20, 20, 30, 0.03);
    cursor: pointer;
}

.service-legado:hover {
    background: rgba(20, 20, 30, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-highlight {
    background: var(--accent);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 4px;
}

.contact-highlight h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.phone-number {
    font-size: 2.2rem;
    font-weight: 700;
    display: block;
    margin-top: 1rem;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .nav-content { flex-direction: column; gap: 15px; text-align: center; }
    .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
    .logo { font-size: 1.3rem; }
    .hero { height: auto; padding: 120px 0 60px 0; }
    .hero h1 { font-size: 2.5rem; }
    #servicios .container { grid-template-columns: 1fr; }
}
