/* 
   =========================================
   STYLE SYSTEM: NIEVES LÓPEZ - ABOGADA
   =========================================
   Author: Antigravity AI
   Design Theme: Natural Sage & Warm Cream
   =========================================
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* Color & Design Variables */
:root {
    /* Color Palette */
    --primary: #7A9A82;
    --primary-rgb: 122, 154, 130;
    --primary-dark: #58735F;
    --primary-light: #9BB8A3;
    --primary-ultra-light: #EBF1EC;
    
    --bg-cream: #F9F9F6;
    --bg-pure: #FFFFFF;
    --white: #FFFFFF;
    
    --text-main: #2C3E30;
    --text-muted: #5C6E60;
    --text-light: #8DA091;
    
    --accent-gold: #C09A6B;
    --accent-gold-dark: #A57E51;
    --accent-gold-light: #E0CDB6;
    
    /* System Colors */
    --success: #679E78;
    --error: #C27070;
    
    /* Glassmorphism & Borders */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-sage: rgba(122, 154, 130, 0.08);
    --border-color: rgba(122, 154, 130, 0.15);
    --border-color-light: rgba(122, 154, 130, 0.08);
    
    /* Shadows */
    --shadow-sm: 0 4px 10px rgba(44, 62, 48, 0.03);
    --shadow-md: 0 10px 30px rgba(44, 62, 48, 0.06);
    --shadow-lg: 0 20px 50px rgba(44, 62, 48, 0.1);
    
    /* Border Radii */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    
    /* Transitions */
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   1. RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-main);
}

h1 {
    font-size: 3rem;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
}

h2.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.8rem;
    font-weight: 500;
}

h4 {
    font-size: 1.3rem;
    font-weight: 600;
}

p {
    font-size: 1rem;
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Common Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-pure);
}

.text-center {
    text-align: center;
}

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

.grid {
    display: grid;
    gap: 30px;
}

/* Section Titles */
.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    display: block;
}

.section-description {
    font-size: 1.1rem;
    margin-top: 15px;
}

/* =========================================
   2. BUTTONS & INTERACTIVE ELEMENTS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary-ultra-light);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-gold);
    color: var(--white);
    border: 1px solid var(--accent-gold);
}

.btn-accent:hover {
    background-color: var(--accent-gold-dark);
    border-color: var(--accent-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-icon {
    font-size: 1.1rem;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    font-size: 32px;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Pulsing effect for WhatsApp */
.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

.header.sticky {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-smooth);
}

.header.sticky .container {
    height: 65px;
}

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-container img {
    height: 45px;
    width: auto;
    transition: var(--transition-smooth);
}

.header.sticky .logo-container img {
    height: 38px;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text span.sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-top: 3px;
    font-weight: 500;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--accent-gold);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--text-main);
    font-weight: 600;
}

/* Nav Right / CTA */
.nav-cta {
    display: flex;
    align-items: center;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Hamburger Active States */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(122, 154, 130, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(192, 154, 107, 0.08) 0%, transparent 40%),
                var(--bg-cream);
    position: relative;
    overflow: hidden;
}

/* Background elements */
.hero::before {
    content: '';
    position: absolute;
    top: 15%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(122, 154, 130, 0.1), rgba(192, 154, 107, 0.05));
    border-radius: 43% 57% 70% 30% / 45% 45% 55% 55%;
    filter: blur(40px);
    z-index: 0;
    animation: blob-float 15s infinite alternate ease-in-out;
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 43% 57% 70% 30% / 45% 45% 55% 55%;
    }
    100% {
        transform: translate(-40px, 50px) scale(1.1) rotate(120deg);
        border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%;
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-ultra-light);
    color: var(--primary-dark);
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    border: 1px solid rgba(122, 154, 130, 0.2);
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-title span {
    font-style: italic;
    color: var(--accent-gold);
    font-weight: 400;
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    border-left: 3px solid var(--accent-gold);
    padding-left: 20px;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual Block */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-card {
    background-color: var(--primary);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    width: 100%;
    max-width: 420px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-slow);
}

.hero-logo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-logo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(44, 62, 48, 0.18);
}

.hero-logo-card img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

/* Hero Profile Photo visual additions */
.hero-logo-card.has-photo {
    display: block; /* Disables flex layout centering, forcing the image to fill the card completely */
    padding: 0;
    overflow: hidden;
    background-color: var(--primary-ultra-light);
    border: 1px solid var(--border-color);
}

.hero-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.hero-logo-card.has-photo .hero-photo {
    filter: none !important; /* Keep natural photo colors, no invert filter */
}

.hero-logo-card:hover .hero-photo {
    transform: scale(1.03);
}

.hero-photo-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-smooth);
    z-index: 2;
}

.hero-logo-card:hover .hero-photo-badge {
    transform: scale(1.1) rotate(5deg);
}

.hero-photo-badge img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1) !important; /* Forces the SVG monogram inside the badge to be crisp white */
}

/* Subtle decorative frame around card */
.hero-visual-frame {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 1px solid var(--border-color);
    border-radius: calc(var(--radius-lg) + 12px);
    pointer-events: none;
    z-index: -1;
    transition: var(--transition-smooth);
}

.hero-logo-card:hover + .hero-visual-frame {
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    opacity: 0.6;
}

/* =========================================
   5. PHILOSOPHY / PILLARS SECTION
   ========================================= */
/* Philosophy Section Grid Layout */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pillar-card.photo-card {
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 1px solid var(--border-color);
}

.pillar-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.pillar-card.photo-card:hover .pillar-photo {
    transform: scale(1.02);
}

.pillar-card {
    background-color: var(--bg-pure);
    padding: 50px 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color-light);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-light);
    transition: var(--transition-fast);
}

.pillar-card:hover::before {
    background-color: var(--accent-gold);
    height: 6px;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
}

.pillar-icon-container {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--primary-ultra-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon-container {
    background-color: var(--accent-gold-light);
    color: var(--accent-gold-dark);
    transform: scale(1.1);
}

.pillar-title {
    font-size: 1.45rem;
    margin-bottom: 18px;
    color: var(--text-main);
}

.pillar-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Highlight quote block */
.quote-banner {
    margin-top: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.quote-banner::after {
    content: '“';
    position: absolute;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    bottom: -100px;
    right: 30px;
    pointer-events: none;
}

.quote-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    line-height: 1.4;
    font-style: italic;
    font-weight: 400;
    color: var(--white); /* Fixes the contrast by making the quote white on the green background */
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.quote-author {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-gold-light);
}

/* =========================================
   6. PRACTICE AREAS (SERVICES)
   ========================================= */
.services-grid {
    grid-template-columns: repeat(2, 1fr);
}

.service-card {
    background-color: var(--bg-pure);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
}

.service-header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.service-icon {
    font-size: 2.2rem;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
}

.service-description {
    font-size: 0.98rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color-light);
}

.service-feature-item {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-feature-item i {
    color: var(--accent-gold);
    font-size: 0.8rem;
}

/* Special Specialization Highlight Card */
.service-card.highlighted {
    grid-column: span 2;
    background: linear-gradient(to right, #FAF9F5, var(--primary-ultra-light));
    border: 1px solid rgba(192, 154, 107, 0.25);
    position: relative;
    overflow: hidden;
}

/* Ribbon removed at user request */

.service-card.highlighted .service-features {
    grid-template-columns: repeat(3, 1fr);
}

/* =========================================
   7. ABOUT ME (TRAYECTORIA)
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    padding: 15px;
}

.about-card-elegant {
    background-color: var(--bg-pure);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 40px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Gold corner elements */
.about-card-elegant::before,
.about-card-elegant::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    border-color: var(--accent-gold);
    border-style: solid;
    pointer-events: none;
}

.about-card-elegant::before {
    top: 25px;
    left: 25px;
    border-width: 1px 0 0 1px;
}

.about-card-elegant::after {
    bottom: 25px;
    right: 25px;
    border-width: 0 1px 1px 0;
}

.about-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.about-brand .monogram {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}

.about-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 2px;
}

.about-brand .title-sub {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    font-weight: 600;
}

.about-badges {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-badge-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background-color: var(--bg-cream);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.about-badge-icon {
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 2px;
}

.about-badge-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}

.about-badge-text p {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Background outline graphic behind about card */
.about-visual-bg {
    position: absolute;
    top: -5px;
    left: -5px;
    right: 5px;
    bottom: 15px;
    border: 1.5px solid var(--accent-gold-light);
    border-radius: var(--radius-md);
    z-index: 0;
    pointer-events: none;
}

.about-content h3 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    font-style: italic;
    font-weight: 400;
}

.about-content h3 span {
    font-style: normal;
    color: var(--primary-dark);
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

.about-content p {
    font-size: 1.02rem;
    margin-bottom: 20px;
}

.about-content p:last-of-type {
    margin-bottom: 32px;
}

.about-matricula-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: var(--text-muted);
    background-color: var(--primary-ultra-light);
    border: 1px solid rgba(122, 154, 130, 0.15);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Photo and Licensing Grid Styles */
.about-photo-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    aspect-ratio: 0.82;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    z-index: 1;
}

.about-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.about-photo-wrapper:hover .about-photo {
    transform: scale(1.03);
}



.about-photo-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 65px;
    height: 65px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-smooth);
}

.about-photo-wrapper:hover .about-photo-badge {
    transform: scale(1.1) rotate(5deg);
}

.about-photo-badge img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.about-licensing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 35px;
}

.about-licensing-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    background-color: var(--bg-pure);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.about-licensing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
}

.about-licensing-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--primary-ultra-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.about-licensing-card:hover .about-licensing-icon {
    background-color: var(--accent-gold-light);
    color: var(--accent-gold-dark);
}

.about-licensing-info {
    display: flex;
    flex-direction: column;
}

.about-licensing-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-main);
}

.about-licensing-info p {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-muted);
}

/* Seal Card Styles (About Me visual representation) */
.about-seal-card {
    background-color: var(--bg-pure);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    aspect-ratio: 0.82;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition-smooth);
}

/* Elegant gold corners for the seal card */
.about-seal-card::before,
.about-seal-card::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    border-color: var(--accent-gold);
    border-style: solid;
    pointer-events: none;
}

.about-seal-card::before {
    top: 20px;
    left: 20px;
    border-width: 1px 0 0 1px;
}

.about-seal-card::after {
    bottom: 20px;
    right: 20px;
    border-width: 0 1px 1px 0;
}

.about-seal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(44, 62, 48, 0.12);
    border-color: var(--primary-light);
}

.about-seal-logo-container {
    width: 110px;
    height: 110px;
    color: var(--primary); /* Deep green logo fill! */
    margin-bottom: 24px;
    transition: transform var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-seal-card:hover .about-seal-logo-container {
    transform: scale(1.06);
}

.about-seal-logo {
    width: 100%;
    height: 100%;
}

.about-seal-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.1rem;
    margin-bottom: 4px;
    color: var(--text-main);
    font-weight: 600;
}

.about-seal-card .title-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    font-weight: 600;
}

/* =========================================
   8. CONTACT & FORM SECTION
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: stretch;
}

.contact-info-block {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-info-block::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    pointer-events: none;
}

.contact-info-block h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
    margin-bottom: 40px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:hover .contact-item-icon {
    background-color: var(--accent-gold);
    color: var(--white);
    transform: scale(1.08);
}

.contact-item-text h4 {
    font-family: 'Inter', sans-serif;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item-text p,
.contact-item-text a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.contact-item-text a:hover {
    color: var(--white);
    text-decoration: underline;
}

.contact-legal-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Contact Form Block */
.contact-form-block {
    background-color: var(--bg-pure);
    padding: 60px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color-light);
}

.contact-form-block h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-form-block p {
    font-size: 0.98rem;
    margin-bottom: 40px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-control {
    background-color: var(--bg-cream);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-pure);
    box-shadow: 0 0 0 4px rgba(122, 154, 130, 0.12);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%235C6E60' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-btn-row {
    grid-column: span 2;
    margin-top: 10px;
}

.form-btn-row .btn {
    width: 100%;
}

/* Success/Error alert states */
.form-status {
    grid-column: span 2;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    display: none;
    align-items: center;
    gap: 12px;
    animation: fadeIn 0.4s ease-out;
}

.form-status.success {
    display: flex;
    background-color: #EBF7EE;
    color: var(--success);
    border: 1px solid rgba(103, 158, 120, 0.2);
}

.form-status.error {
    display: flex;
    background-color: #FDF1F1;
    color: var(--error);
    border: 1px solid rgba(194, 112, 112, 0.2);
}

/* =========================================
   9. FOOTER
   ========================================= */
.footer {
    background-color: #243026;
    color: var(--white);
    padding: 80px 0 40px 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo img {
    height: 45px;
    filter: brightness(0) invert(1);
}

.footer-logo-text,
.footer .logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--white) !important;
    line-height: 1;
}

.footer-logo-text span.sub,
.footer .logo-text span.sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold-light) !important;
    display: block;
    margin-top: 4px;
    font-weight: 500;
}

.footer-brand-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-social-link:hover {
    background-color: var(--accent-gold);
    color: var(--white);
    transform: translateY(-3px);
}

.footer h4,
.footer-links-col h4,
.footer-matricula-col h4 {
    font-family: 'Inter', sans-serif;
    color: var(--white) !important;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links-col h4::after,
.footer-matricula-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1.5px;
    background-color: var(--accent-gold);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-link-item a:hover {
    color: var(--accent-gold-light);
    padding-left: 4px;
}

.footer-matricula-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-matricula-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-matricula-item i {
    color: var(--accent-gold-light);
    margin-top: 4px;
    font-size: 0.95rem;
}

.footer-matricula-item-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    font-weight: 500;
}

.footer-matricula-item-text span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* =========================================
   10. SCROLL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================= */
.reveal {
    opacity: 0;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.reveal-fade {
    transform: translateY(0);
}

.reveal.reveal-slide-up {
    transform: translateY(40px);
}

.reveal.reveal-slide-left {
    transform: translateX(-40px);
}

.reveal.reveal-slide-right {
    transform: translateX(40px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Delay classes for staggered animation entries */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* =========================================
   11. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================= */

@media (max-width: 1024px) {
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2.1rem; }
    h3 { font-size: 1.6rem; }
    
    .hero-title { font-size: 3rem; }
    .hero-grid { gap: 40px; }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-visual {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    
    .header .container {
        height: 70px;
    }
    
    /* Navigation Menu Mobile Drawer */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-pure);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 40px 40px 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        transition: right var(--transition-smooth);
        z-index: 999;
        gap: 25px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-cta {
        display: none; /* Hide top CTA on mobile */
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Mobile nav-link overrides */
    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        display: block;
    }
    
    /* Hero layout */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-badge {
        align-self: center;
    }
    
    .hero-tagline {
        border-left: none;
        border-bottom: 2px solid var(--accent-gold);
        padding-left: 0;
        padding-bottom: 20px;
        margin: 0 auto 30px auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1; /* Place image card on top */
    }
    
    .hero-logo-card {
        max-width: 320px;
        padding: 30px;
    }
    
    /* Philosophy & Quote */

    
    .quote-text {
        font-size: 1.6rem;
    }
    
    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.highlighted {
        grid-column: span 1;
    }
    
    .service-card.highlighted .service-features {
        grid-template-columns: 1fr;
    }
    
    .about-licensing-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Contact and Footer styling */
    .contact-form-block {
        padding: 40px 24px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .form-btn-row {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-ctas .btn {
        width: 100%;
    }
    
    .pillar-card {
        padding: 30px 20px;
    }
    
    .about-card-elegant {
        padding: 30px 20px;
    }
    
    .contact-info-block {
        padding: 40px 20px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}
