/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg: #FAF6F2;
    --color-bg-alt: #F3ECE5;
    --color-rose: #D69E9E;
    --color-rose-hover: #C28B8B;
    --color-rose-light: rgba(214, 158, 158, 0.15);
    --color-text: #3B4856;
    --color-text-light: #6B7C8E;
    --color-text-white: #FFFFFF;
    --color-text-white-muted: rgba(255, 255, 255, 0.75);
    --color-dark: #2E3A46;
    --color-white: #FFFFFF;
    --color-border: rgba(59, 72, 86, 0.1);
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(59, 72, 86, 0.08);
    --shadow-lg: 0 16px 40px rgba(59, 72, 86, 0.12);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.85; /* Increased from 1.6 for premium breathing room */
    font-weight: 300; /* Sleek, high-end Outfit light weight */
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400; /* Lighter weight is much more premium */
    line-height: 1.3;
    letter-spacing: -0.02em;
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
}

button {
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Common Layout Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 24px;
    transition: all var(--transition-normal);
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-rose {
    background-color: var(--color-rose);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(214, 158, 158, 0.3);
}

.btn-rose:hover {
    background-color: var(--color-rose-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 158, 158, 0.4);
}

.btn-rose:active {
    transform: translateY(0);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--color-white) !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
    border: none;
}

.btn-whatsapp:hover {
    background-color: #20ba59;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:active {
    transform: translateY(0);
}

.whatsapp-icon {
    margin-right: 8px;
    flex-shrink: 0;
}

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

.btn-secondary:hover {
    background-color: var(--color-bg-alt);
    border-color: var(--color-text-light);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

.whatsapp-contact-wrapper {
    margin-top: 24px;
    margin-bottom: 16px;
    padding: 32px;
    background-color: var(--color-bg-alt);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(59, 72, 86, 0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.whatsapp-intro {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
    max-width: 520px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
    background-color: var(--color-bg-alt);
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(59, 72, 86, 0.05);
    z-index: 100;
    position: relative;
}

.announcement-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.announcement-text {
    font-weight: 400;
    letter-spacing: 0.5px;
}

.announcement-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    transition: color var(--transition-fast);
}

.social-link:hover {
    color: var(--color-rose);
}

.btn-app {
    display: flex;
    align-items: center;
    background-color: var(--color-white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

.btn-app:hover {
    background-color: var(--color-rose-light);
    border-color: var(--color-rose);
    color: var(--color-text);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header {
    background-color: var(--color-bg);
    height: var(--header-height);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.main-header.scrolled {
    background-color: rgba(250, 246, 242, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

@media (min-width: 1201px) {
    .header-container.container {
        max-width: 1320px; /* Generates more horizontal breathing room for logo, nav, and button, similar to Apple/Stripe */
    }
}

/* Logo Group */
.logo-group {
    display: flex;
    align-items: center;
    gap: 10px; /* Reduced space between isotype and text to make it more compact and cohesive */
    flex-shrink: 0; /* Prevents logo from squishing under flex container constraints */
}

.logo-image {
    height: 60px; /* Increased by ~36% (from original 44px) for prominent visual identity */
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply; /* Blends off-white of logo.png nicely */
}

.logo-text {
    display: flex;
    flex-direction: column;
    letter-spacing: 2px;
}

.logo-title {
    font-size: 0.98rem; /* Reduced by 15% (from original 1.15rem) */
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.76rem; /* Reduced by 15% (from original 0.9rem) */
    font-weight: 300;
    color: var(--color-text-light);
}

/* Navigation Links */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px; /* Reverted to 32px now that container is expanded, allowing links to breathe */
}

.nav-link {
    font-size: 0.72rem; /* Compact size for luxury editorial feel */
    font-weight: 500;
    letter-spacing: 2px; /* Increased letter-spacing for premium feel */
    color: var(--color-text);
    padding: 8px 0;
    position: relative;
    white-space: nowrap; /* Prevents navigation item text from wrapping onto two lines */
}

.header-cta {
    flex-shrink: 0; /* Prevents CTA button from shrinking and squishing navigation items */
    margin-left: 54px; /* Distinct visual separation (48px - 60px) between CONTACTO and the CTA button */
}

.header-cta .btn {
    padding: 8px 22px; /* Compact padding specifically for the header button */
    font-size: 0.75rem; /* Balanced size */
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-rose);
    transition: width var(--transition-normal);
}

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

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

.nav-link.active {
    color: var(--color-rose);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 100px;
    padding-bottom: 160px; /* Space for the curve at bottom */
    color: var(--color-text-white);
    min-height: 580px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Soft cyan/blue/dark overlay gradient to keep design premium while ensuring text legibility */
    background: linear-gradient(100deg, 
        rgba(10, 36, 48, 0.85) 0%, 
        rgba(12, 45, 60, 0.6) 40%, 
        rgba(14, 52, 70, 0.25) 100%
    );
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 48px;
    width: 100%;
}

.hero-content {
    max-width: 720px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--transition-slow) forwards;
}

.hero-title {
    font-size: 3.6rem;
    margin-bottom: 32px;
    font-weight: 300; /* Lighter weight is much more elegant */
    line-height: 1.35; /* Increased from 1.15 for more space between lines */
    letter-spacing: 0.02em; /* Spacious letter spacing */
    color: var(--color-text-white);
}

.hero-paragraph {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-text-white-muted);
}

.hero-paragraph:last-of-type {
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.action-divider {
    color: rgba(255, 255, 255, 0.3);
}

.action-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    padding-bottom: 4px;
}

.action-link:hover {
    color: var(--color-rose);
    border-bottom-color: var(--color-rose);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-logo-watermark {
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatAnimation 6s ease-in-out infinite;
    mix-blend-mode: normal; /* Normal blend mode displays the slate pupil and rose hands correctly */
    opacity: 0.55; /* Soft opacity for an elegant overlay */
}

.watermark-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Soft rose filter shift if needed, but since it's already rose it overlays beautifully */
}

/* Wave Curve Divider */
.hero-wave-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.hero-wave {
    width: 100%;
    height: 80px;
    display: block;
}

/* ==========================================================================
   VALUES SECTION
   ========================================================================== */
.values-section {
    padding: 60px 0 100px;
    background-color: var(--color-bg);
    position: relative;
    z-index: 5;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.value-card {
    text-align: center;
    padding: 32px 24px;
    background-color: var(--color-bg);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid transparent;
}

.value-card:hover {
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    border-color: rgba(214, 158, 158, 0.1);
}

.value-icon-container {
    margin-bottom: 24px;
    color: var(--color-rose);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform var(--transition-normal);
}

.value-card:hover .value-icon-container {
    transform: scale(1.1);
}

.value-icon {
    stroke-width: 1;
}

.value-title {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    color: var(--color-text);
    font-family: var(--font-sans); /* Styled as sans-serif in mockup */
}

.value-description {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Column dividers matching mockup */
.value-card:not(:last-child) {
    border-right: 1px solid rgba(59, 72, 86, 0.08);
}

/* Remove right border on hover or when cards box shadow shows */
.value-card:hover,
.value-card:hover + .value-card {
    border-right-color: transparent;
}

/* ==========================================================================
   CONTENT SECTIONS (Sobre Nosotros, Cómo Trabajamos, etc.)
   ========================================================================== */
.content-section {
    padding: 130px 0; /* Expanded vertical padding for luxury, spacious breathing room */
    background-color: var(--color-bg);
}

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

.section-header {
    text-align: center;
    margin-bottom: 72px; /* Slightly increased space for openness */
}

.section-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--color-rose);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.6rem;
    color: var(--color-text);
    font-weight: 300; /* Lighter, more elegant weight */
    line-height: 1.4; /* Generous interline spacing */
    letter-spacing: 0.03em; /* Airy spacing to prevent cluttered look */
    margin-top: 8px;
}

.section-lead {
    max-width: 680px;
    margin: 20px auto 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-light);
    font-weight: 300;
}

.section-body {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.85; /* Increased from 1.8 for spacious typography */
    color: var(--color-text-light);
    text-align: center;
}

.text-left-paragraphs {
    text-align: left;
    max-width: 760px;
    margin: 0 auto;
}

.text-left-paragraphs p {
    margin-bottom: 24px; /* Increased paragraph gap */
    line-height: 1.85;
}

.text-left-paragraphs p:last-child {
    margin-bottom: 0;
}

/* Premium Typography Elements */
.intro-paragraph {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-dark);
}

.intro-pull-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.55;
    color: var(--color-dark);
    margin: 36px 0;
    padding-left: 24px;
    border-left: 3px solid var(--color-rose);
    letter-spacing: -0.01em;
}

.content-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-rose);
    background-color: var(--color-rose-light);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.split-section-title {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--color-dark);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.text-highlight {
    font-weight: 400;
    color: var(--color-dark);
}

/* Premium Offset-Framed Images */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Balanced 50/50 columns */
    gap: 64px; /* Spacious gap */
    align-items: stretch; /* Stretches columns to match heights */
    max-width: 1200px; /* Wider grid to match maximum container width */
    margin: 0 auto;
    text-align: left;
}

.split-layout.reverse {
    grid-template-columns: 1fr 1fr;
}

.split-image-container {
    position: relative;
    padding: 16px; /* Offset spacing context */
    height: 100%;
}

.split-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--color-rose);
    border-radius: 48px 16px 48px 16px; /* Organic warm leaf shapes */
    transform: translate(0px, 0px);
    transition: transform var(--transition-slow);
    z-index: 1;
    pointer-events: none;
}

.split-image-wrapper {
    border-radius: 48px 16px 48px 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    background-color: var(--color-white);
    border: 1px solid rgba(59, 72, 86, 0.03);
    height: 100%;
    min-height: 480px; /* Ensures the image is large and fills the height */
}

.split-image {
    width: 100%;
    height: 100%; /* Fills the container completely */
    object-fit: cover; /* Crops and scales beautifully to fit the cell */
    display: block;
    transition: transform var(--transition-slow);
}

.split-image-container:hover::before {
    transform: translate(10px, 10px); /* Organic offset animation */
}

.split-image-container:hover .split-image {
    transform: scale(1.04);
}

/* Inset Premium Areas Grid Layout */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-top: 56px;
    text-align: left;
}

.area-card {
    background-color: var(--color-white);
    border-radius: 40px 14px 40px 14px; /* Organic wellness styling */
    padding: 16px; /* Inset container framing */
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(59, 72, 86, 0.03);
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(214, 158, 158, 0.25);
}

.area-image-container {
    height: 220px;
    border-radius: 30px 10px 30px 10px; /* Inner matching curves */
    overflow: hidden;
    position: relative;
}

.area-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.area-card:hover .area-image {
    transform: scale(1.05);
}

.area-card-content {
    padding: 8px 12px 16px 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.area-card-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.area-card-desc {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.7; /* Spacious line height inside cards */
}

/* Contact Container Specifics */
.contact-container {
    max-width: 700px;
}

.contact-form {
    margin-top: 48px;
    text-align: left;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

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

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text);
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-rose);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(214, 158, 158, 0.15);
}

.form-group textarea {
    resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.logo-text.dark .logo-title {
    color: var(--color-white);
}

.logo-text.dark .logo-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.footer-desc {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-right {
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
}

/* ==========================================================================
   INTERVIEW BOOKING DIALOG (MODAL)
   ========================================================================== */
.modal {
    border: none;
    background: transparent;
    max-width: 500px;
    width: calc(100% - 32px);
    margin: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: visible;
}

.modal::backdrop {
    background: rgba(46, 58, 70, 0.4);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.modal[open]::backdrop {
    opacity: 1;
}

.modal-box {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    position: relative;
    animation: modalScaleUp 0.4s var(--transition-slow) forwards;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--color-text-light);
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background-color: var(--color-bg);
    color: var(--color-dark);
}

.modal-title {
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.modal-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes modalScaleUp {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Medium Screens & Small Desktops (Prevent Nav links squishing) */
@media (max-width: 1200px) {
    .nav-list {
        gap: 16px; /* Closer links to fit the screen width */
    }
    
    .nav-link {
        font-size: 0.68rem; /* Smaller links on laptop viewports */
        letter-spacing: 1px;
    }
    
    .header-container {
        padding: 0 16px;
    }
    
    .header-cta .btn {
        padding: 7px 16px;
        font-size: 0.72rem;
    }
}

/* Large Tablets & Desktop scaling (Show Drawer Menu at 1024px) */
@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }
    
    .logo-image {
        height: 44px; /* Balanced logo size on mobile/tablet viewports */
    }
    
    .logo-group {
        gap: 12px;
    }
    
    .announcement-bar {
        display: none; /* Hide top banner on tablets/mobiles for clean real estate */
    }
    
    .header-cta {
        display: none; /* Hide desktop header button */
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .value-card:not(:last-child) {
        border-right: none;
    }
    
    .value-card:nth-child(odd) {
        border-right: 1px solid rgba(59, 72, 86, 0.08);
    }
    
    .hero-logo-watermark {
        width: 300px;
        height: 300px;
    }

    /* Mobile Navigation List Menu Drawer */
    .main-nav {
        position: fixed;
        inset: 0 0 0 30%;
        background-color: var(--color-bg);
        box-shadow: -10px 0 30px rgba(46, 58, 70, 0.15);
        z-index: 1000;
        transform: translateX(100%);
        transition: transform var(--transition-slow);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        backdrop-filter: blur(10px);
        background-color: rgba(250, 246, 242, 0.98);
    }
    
    .main-nav[data-visible="true"] {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 40px;
        width: 100%;
        align-items: flex-start;
    }
    
    .nav-link {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
    }
    
    /* Mobile Hamburger Trigger */
    .mobile-nav-toggle {
        display: block;
        position: relative;
        z-index: 2000;
        background: transparent;
        border: 0;
        width: 2.5rem;
        aspect-ratio: 1;
        cursor: pointer;
    }
    
    .hamburger {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 24px;
        height: 2px;
        background-color: var(--color-text);
        transition: background-color var(--transition-fast);
    }
    
    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: var(--color-text);
        transition: transform var(--transition-normal), top var(--transition-normal);
    }
    
    .hamburger::before {
        top: -6px;
        left: 0;
    }
    
    .hamburger::after {
        top: 6px;
        left: 0;
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }
}

/* Mobile & Small Tablets (Layout Stack & Mobile Scale) */
@media (max-width: 768px) {
    /* Hero layout mobile stack */
    .hero-section {
        padding-top: 60px;
        padding-bottom: 120px;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-paragraph {
        margin-bottom: 30px;
    }
    
    .hero-actions {
        justify-content: center;
        gap: 16px;
    }
    
    .action-divider {
        display: none; /* Hide dividers, let them wrap stack */
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-actions .action-link {
        width: 100%;
        display: block;
        padding: 10px 0;
    }
    
    .hero-visual {
        order: -1; /* Place visual above content on mobile */
        margin-bottom: 16px;
    }
    
    .hero-logo-watermark {
        width: 200px;
        height: 200px;
    }
    
    /* Values Grid Mobile */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .value-card {
        border-right: none !important;
        border-bottom: 1px solid rgba(59, 72, 86, 0.08);
        padding: 24px 16px;
    }
    
    .value-card:last-child {
        border-bottom: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .modal-box {
        padding: 30px 20px;
    }
    
    /* Responsive Split and Areas Grid */
    .split-layout, 
    .split-layout.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .split-layout.reverse .split-image-container {
        order: -1; /* Place image above text on mobile */
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .area-card {
        max-width: 480px;
        margin: 0 auto;
    }
}
