/* --- Reset & Variables --- */
:root {
    /* Brand Colors - Organic & Calm */
    --primary: #9d9a87;         /* New Clay/Taupe - Calm & Grounded */
    --primary-light: #b5b2a0;   /* Lighter version for hover */
    --primary-dark: #7a7765;    /* Darker version for contrast */
    
    --secondary: #F4F1EA;       /* Very Light Stone - Backgrounds */
    --secondary-light: #FFFFFF; /* Pure White - Main Background */
    
    --accent: #B28451;          /* Muted Gold/Tan - Subtle Energy/CTAs */
    --accent-hover: #966F43;
    
    --text-main: #222222;       /* Deeper Black for better readability */
    --text-muted: #555555;      /* Darker Gray */
    --text-light: #FFFFFF;      /* White for dark backgrounds */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-serif-elegant: 'Cormorant Garamond', serif;
    --font-script: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 90px;
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    /* Effects */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.08);
    --glass: rgba(255, 255, 255, 0.95);
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

html, body {
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    background-color: var(--secondary-light);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }

p { margin-bottom: 1.5rem; color: var(--text-main); font-weight: 400; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

/* --- Utility Classes --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.font-serif { font-family: var(--font-heading); }
.font-serif-elegant { font-family: var(--font-serif-elegant); }
.font-script { font-family: var(--font-script); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

.bg-cream { background-color: var(--secondary); }
.bg-white { background-color: #ffffff; }
.bg-sage { background-color: var(--primary); color: white; }

.italic { font-style: italic; }
.uppercase { text-transform: uppercase; letter-spacing: 0.1em; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 0; /* Squared for a more modern, minimal look like in the PDF */
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s ease;
    letter-spacing: 1.5px;
    border: 1px solid transparent;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

/* --- Header & Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.5s ease, top 0.3s ease;
    background-color: rgba(255, 255, 255, 0.4); /* Semi-transparent */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header.scrolled {
    background-color: var(--primary);
    padding: 0.8rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    border-bottom: none;
}

.main-header.scrolled .nav-link {
    color: white;
}

.main-header.scrolled .nav-link:hover,
.main-header.scrolled .nav-link.active {
    color: var(--secondary);
}

.main-header.scrolled .btn-nav {
    border-color: white;
    color: white;
}

.main-header.scrolled .btn-nav:hover {
    background-color: white;
    color: var(--primary);
}

.main-header.scrolled .logo img {
    filter: brightness(0) invert(1);
}

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

.logo img {
    height: 45px;
    transition: all 0.4s ease;
}

.desktop-nav {
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.btn-nav {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.75rem !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-main);
    z-index: 1002;
}

.mobile-menu-btn i {
    width: 28px;
    height: 28px;
}

.main-header.scrolled .mobile-menu-btn {
    color: white;
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Newspaper Style Titles --- */
.newspaper-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

.newspaper-title::before,
.newspaper-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--primary-light);
    opacity: 0.3;
}

.newspaper-title h2 {
    margin-bottom: 0;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    font-family: var(--font-body);
}

/* Specific Section Headlines */
.headline-elegant {
    border-top: 1px solid var(--primary-dark);
    border-bottom: 1px solid var(--primary-dark);
    padding: 1.5rem 0;
    display: inline-block;
    margin-bottom: 3rem;
}

/* Hero section specific for transparency */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(180, 165, 145, 0.35); /* Tono marrón muy claro como NOBU */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 100px; /* Space for the fixed header */
}

.hero-title {
    font-family: var(--font-serif-elegant);
    font-size: 5rem; /* Larger size */
    color: white;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 2rem;
    display: block;
    font-weight: 600;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 4rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
    font-weight: 400;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}
.hero-image-wrapper:hover img { transform: scale(1.05); }

/* --- Services (Cards) --- */
.services-section { padding: 8rem 0; background-color: #ffffff; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 400;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* --- Newspaper Grid (Services) --- */
.newspaper-grid-services {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 4rem;
    border-top: 1px solid rgba(157, 154, 135, 0.3);
    border-bottom: 1px solid rgba(157, 154, 135, 0.3);
}

.newspaper-grid-item {
    padding: 4rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(157, 154, 135, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newspaper-grid-item:last-child {
    border-right: none;
}

.newspaper-grid-item .service-icon {
    margin-bottom: 2.5rem;
    color: var(--primary);
    opacity: 0.8;
}

.newspaper-grid-item h3 {
    font-family: var(--font-serif-elegant);
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.newspaper-grid-item p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* --- Split Method Box --- */
.method-split-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    border: 1px solid var(--primary);
    margin: 6rem 0;
}

.method-left {
    padding: 5rem;
    border-right: 1px solid var(--primary);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.method-right {
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-list {
    list-style: none;
    margin-bottom: 3rem;
}

.step-item {
    border-bottom: 1px solid rgba(157, 154, 135, 0.5);
    padding: 1.2rem 0;
}

.step-item:first-child {
    border-top: none;
    padding-top: 0;
}

.step-text {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .newspaper-grid-services {
        grid-template-columns: repeat(2, 1fr);
    }
    .newspaper-grid-item:nth-child(2n) {
        border-right: none;
    }
    .method-split-container {
        grid-template-columns: 1fr;
    }
    .method-left {
        border-right: none;
        border-bottom: 1px solid var(--primary);
    }
}

@media (max-width: 600px) {
    .newspaper-grid-services {
        grid-template-columns: 1fr;
    }
    .newspaper-grid-item {
        border-right: none;
        border-bottom: 1px solid rgba(157, 154, 135, 0.3);
    }
    .method-left, .method-right {
        padding: 3rem 1.5rem;
    }
}

/* --- Methodology Section with Side Images (NOBU style) --- */
.methodology-section {
    position: relative;
    overflow: hidden;
}

.methodology-wrapper {
    display: flex;
    align-items: stretch;
    min-height: 600px;
}

.side-image {
    flex: 0 0 280px;
    position: relative;
}

.side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-image-left {
    margin-right: -50px;
}

.side-image-right {
    margin-left: -50px;
}

.methodology-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 6rem;
    z-index: 2;
    background: white;
}

.methodology-text {
    max-width: 600px;
    margin: 2rem auto 0;
}

.methodology-text p {
    margin-bottom: 0.6rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.methodology-cta {
    font-size: 1.5rem !important;
    color: var(--accent);
    margin-top: 2rem !important;
}

@media (max-width: 1200px) {
    .side-image {
        flex: 0 0 200px;
    }
    .methodology-content {
        padding: 3rem 4rem;
    }
}

@media (max-width: 900px) {
    .methodology-wrapper {
        flex-direction: column;
    }
    .side-image {
        flex: none;
        height: 250px;
        margin: 0;
    }
    .side-image-left {
        order: -1;
    }
    .side-image-right {
        order: 1;
    }
    .methodology-content {
        padding: 3rem 2rem;
    }
}

/* --- Testimonials --- */
.testimonials-section {
    background-color: var(--secondary);
    padding: 8rem 0;
}

.swiper-slide-content {
    background: transparent;
    padding: 2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.quote-icon {
    display: none; /* Minimalist */
}

.testimonial-text {
    font-family: var(--font-serif-elegant);
    font-size: 1.75rem;
    font-style: italic;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.testimonial-author {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Footer Minimalista con líneas --- */
.main-footer {
    background-color: #ffffff;
    color: var(--text-main);
    padding: 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(157, 154, 135, 0.3);
    border-bottom: 1px solid rgba(157, 154, 135, 0.3);
}

.footer-col {
    padding: 4rem 3rem;
}

.footer-col:first-child {
    border-right: 1px solid rgba(157, 154, 135, 0.3);
}

.footer-col-right {
    text-align: right;
}

.footer-title-elegant {
    font-family: var(--font-serif-elegant);
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 2.5rem;
}

.footer-social-list {
    list-style: none;
}

.footer-social-list li {
    margin-bottom: 1.25rem;
}

.footer-social-list a {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-social-list a:hover {
    color: var(--primary);
}

.footer-social-list i {
    width: 20px;
    height: 20px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 2rem;
    margin-left: auto;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-contact-list a,
.footer-contact-list span {
    color: var(--text-muted);
}

.footer-contact-list a:hover {
    color: var(--primary);
}

.footer-contact-list i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-legal {
    text-align: center;
    padding: 2rem 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(157, 154, 135, 0.3);
}

.footer-legal a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--primary);
}

.footer-eu {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.footer-eu-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.footer-eu-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-eu-logos img {
    height: auto;
    max-width: 100%;
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-col {
        padding: 3rem 1.5rem;
    }

    .footer-col:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(157, 154, 135, 0.3);
    }

    .footer-col-right {
        text-align: left;
    }

    .footer-logo {
        margin-left: 0;
        height: 55px;
    }

    .footer-contact-list li {
        justify-content: flex-start;
    }

    .footer-title-elegant {
        font-size: 1.8rem;
    }

    .footer-eu-logos img {
        height: auto;
    }
}

/* --- Mobile Nav Overlay --- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: white;
    z-index: 1001;
    padding: 2rem;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-main);
}

.mobile-nav-close i {
    width: 28px;
    height: 28px;
}

.mobile-nav-links {
    list-style: none;
    margin-top: 4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.mobile-nav-links li {
    margin-bottom: 2rem;
    text-align: center;
}

.mobile-nav-links a {
    font-family: var(--font-serif-elegant);
    font-size: 1.75rem;
    color: var(--primary-dark);
    font-weight: 400;
    transition: color 0.3s;
}

.mobile-nav-links a:hover {
    color: var(--accent);
}

.mobile-nav .btn {
    margin-top: auto;
    margin-bottom: 2rem;
    width: 100%;
    text-align: center;
}

/* --- Decorative Flowers SVG --- */
.flower-decoration {
    position: absolute;
    pointer-events: none;
    opacity: 0.12;
    z-index: 0;
}

.flower-1 {
    width: 300px;
    height: 300px;
    top: 5%;
    right: -30px;
}

.flower-2 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: -60px;
}

.flower-3 {
    width: 180px;
    height: 180px;
    top: 20%;
    right: 2%;
}

.flower-4 {
    width: 200px;
    height: 200px;
    bottom: -20px;
    right: -20px;
    opacity: 0.1;
}

.flower-5 {
    width: 220px;
    height: 220px;
    top: 15%;
    left: 3%;
}

/* Flower in text containers */
.about-text .flower-decoration,
.method-right .flower-decoration {
    width: 180px;
    height: 180px;
    bottom: 5%;
    right: 5%;
    opacity: 0.08;
}

/* Flower in method section */
.method-split-container {
    position: relative;
}

@media (max-width: 1024px) {
    .flower-decoration {
        opacity: 0.08;
    }

    .flower-1,
    .flower-2 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .flower-decoration {
        display: none;
    }
}

/* --- Google Translate Integration --- */

/* 1. Transition for fixed header when Google bar appears */
.main-header {
    transition: top 0.3s ease;
}

/* 2. Hide Google's yellow tooltip and highlights */
#goog-gt-tt {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* 3. Style the Google Translate gadget to match the design */
.goog-te-gadget-simple {
    background-color: transparent !important;
    border: 1px solid rgba(157, 154, 135, 0.3) !important;
    border-radius: 0 !important; /* Match squared buttons */
    padding: 5px 10px !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    height: auto !important;
    transition: all 0.3s ease !important;
}

.goog-te-gadget-simple:hover {
    background-color: var(--secondary) !important;
    border-color: var(--primary) !important;
}

.goog-te-gadget-simple img {
    display: none !important; /* Hide Google G logo */
}

.goog-te-gadget-simple .goog-te-menu-value {
    color: var(--text-main) !important;
    font-family: var(--font-body) !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.main-header.scrolled .goog-te-gadget-simple .goog-te-menu-value {
    color: white !important;
}

.main-header.scrolled .goog-te-gadget-simple {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.goog-te-gadget-simple .goog-te-menu-value span[style*="color: #bbb"] {
    display: none !important; /* Hide separator */
}

/* Language selector container in header */
.lang-selector-container {
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .lang-selector-container {
        margin-left: 0;
        margin-right: 1rem;
    }
}

/* --- Responsive Adjustments --- */

/* Tablet */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.7rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    /* Container */
    .container {
        width: 100%;
        padding: 0 1rem;
    }

    /* Header */
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo img {
        height: 35px;
    }

    .main-header {
        padding: 1rem 0;
    }

    /* Hero */
    .hero-section {
        min-height: 80vh;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-content {
        padding: 80px 1rem 2rem;
    }

    /* Sections */
    .page-section {
        padding: 4rem 0;
    }

    /* Newspaper title */
    .newspaper-title {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .newspaper-title h2 {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    /* Headline elegant */
    .headline-elegant {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }

    .headline-elegant h2 {
        font-size: 1.5rem !important;
    }

    /* Methodology text */
    .methodology-text {
        margin: 1.5rem auto 0;
    }

    .methodology-text p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .methodology-cta {
        font-size: 1.2rem !important;
        margin-top: 1.5rem !important;
    }

    /* Method split */
    .method-split-container {
        margin: 3rem 0;
    }

    .method-left,
    .method-right {
        padding: 2rem 1.5rem;
    }

    .method-left h3 {
        font-size: 1.5rem;
    }

    .method-left .font-script {
        font-size: 1.8rem !important;
    }

    /* Grid 2 */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Sobre mi section */
    .grid-2 h2 {
        font-size: 2.5rem;
    }

    .grid-2 .font-script {
        font-size: 1.5rem;
    }

    /* Services grid */
    .newspaper-grid-services {
        margin-top: 2rem;
    }

    .newspaper-grid-item {
        padding: 2rem 1.5rem;
    }

    .newspaper-grid-item h3 {
        font-size: 1.4rem;
    }

    /* Hablamos section */
    .grid-2[style*="gap: 6rem"] {
        gap: 2rem !important;
    }

    .font-serif-elegant[style*="font-size: 5rem"] {
        font-size: 2.5rem !important;
    }

    .grid-2 > div[style*="text-align: right"] {
        text-align: left !important;
    }

    .grid-2 > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Footer */
    .main-footer {
        padding: 3rem 0 2rem;
    }

    .footer-nobu {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-col-right {
        text-align: left;
    }

    .footer-logo {
        margin-left: 0;
    }

    .footer-contact-list li {
        justify-content: flex-start;
    }

    .footer-contact-list i {
        order: 0;
    }

    .footer-contact-list span,
    .footer-contact-list a {
        order: 1;
    }

    .footer-eu-text {
        font-size: 0.65rem;
        padding: 0 1rem;
    }

    /* WhatsApp button */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    /* Buttons */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .hero-title {
        font-size: 1.8rem;
    }

    .headline-elegant h2 {
        font-size: 1.25rem !important;
    }

    .method-left .font-script {
        font-size: 1.5rem !important;
    }

    .newspaper-grid-item h3 {
        font-size: 1.2rem;
    }

    .font-serif-elegant[style*="font-size: 5rem"] {
        font-size: 2rem !important;
    }
}

/* --- General Utilities for Inner Pages --- */
.page-section { padding: 8rem 0; }
.section-title { font-size: 3.5rem; margin-bottom: 4rem; text-align: center; color: var(--primary-dark); font-family: var(--font-serif-elegant); font-weight: 300; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }

.card {
    background: transparent;
    padding: 2rem;
    border: 1px solid var(--secondary);
    border-radius: 0;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
/* --- Inner Page Header --- */
.inner-header {
    height: 40vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.inner-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.inner-header-content {
    position: relative;
    z-index: 2;
    padding-top: 80px; /* Space for the fixed header */
}

.inner-header-content h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.inner-header-content .breadcrumb {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 3px;
    opacity: 0.8;
}

/* --- Forms --- */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; color: var(--text-main); }
.form-input, .form-textarea {
    width: 100%; padding: 0.8rem 1rem;
    border: 1px solid #ddd; border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 1rem;
    background-color: #fcfcfc; transition: all 0.3s;
}
.form-input:focus, .form-textarea:focus {
    border-color: var(--primary); background-color: white; outline: none; box-shadow: 0 0 0 3px rgba(74, 103, 65, 0.1);
}
.checkbox-label { display: flex; items-center: center; gap: 0.5rem; font-size: 0.9rem; cursor: pointer; }

/* --- About Page (Sobre Mí) --- */
.about-section-1,
.about-section-3 {
    border-top: 1px solid rgba(157, 154, 135, 0.3);
}

.about-section-2 {
    border-top: 1px solid rgba(157, 154, 135, 0.3);
    border-bottom: 1px solid rgba(157, 154, 135, 0.3);
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.about-grid-reverse {
    direction: rtl;
}

.about-grid-reverse > * {
    direction: ltr;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
    border-left: 1px solid rgba(157, 154, 135, 0.3);
}

.about-grid-reverse .about-text {
    border-left: none;
    border-right: 1px solid rgba(157, 154, 135, 0.3);
}

.about-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 2.5rem;
    line-height: 1.2;
}

.about-title span {
    color: var(--accent);
}

.about-intro {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-highlight {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    text-align: center;
}

.about-section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 3rem;
    line-height: 1.4;
}

.about-section-title span {
    color: var(--accent);
}

.about-body {
    max-width: 700px;
    margin: 0 auto;
}

.about-body p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-cta {
    font-size: 1.3rem !important;
    color: var(--accent) !important;
    margin-top: 2rem !important;
    text-align: center;
}

@media (max-width: 1024px) {
    .about-text {
        padding: 4rem 3rem;
    }

    .about-title {
        font-size: 2.2rem;
    }

    .about-section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .about-grid-reverse {
        direction: ltr;
    }

    .about-image {
        height: 50vh;
        min-height: 300px;
    }

    .about-text {
        padding: 3rem 1.5rem;
        border-left: none;
        border-top: 1px solid rgba(157, 154, 135, 0.3);
    }

    .about-grid-reverse .about-text {
        border-right: none;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .about-section-title {
        font-size: 1.5rem;
    }

    .about-section-2 {
        padding: 4rem 0;
    }

    .about-highlight {
        font-size: 1rem;
        text-align: left;
    }
}
