/* --- EMBEDDED LOCAL FONTS --- */
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/public/assets/fonts/font_5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/public/assets/fonts/font_13.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/public/assets/fonts/font_5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/public/assets/fonts/font_13.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/public/assets/fonts/font_10.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/public/assets/fonts/font_17.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/public/assets/fonts/font_10.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/public/assets/fonts/font_17.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/public/assets/fonts/font_10.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/public/assets/fonts/font_17.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/public/assets/fonts/font_10.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/public/assets/fonts/font_17.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/public/assets/fonts/font_10.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/public/assets/fonts/font_17.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/public/assets/fonts/font_3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/public/assets/fonts/font_7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/public/assets/fonts/font_3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/public/assets/fonts/font_7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/public/assets/fonts/font_0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/public/assets/fonts/font_14.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/public/assets/fonts/font_0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/public/assets/fonts/font_14.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/public/assets/fonts/font_0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/public/assets/fonts/font_14.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/public/assets/fonts/font_8.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/public/assets/fonts/font_6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/public/assets/fonts/font_8.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/public/assets/fonts/font_6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/public/assets/fonts/font_8.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/public/assets/fonts/font_6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/public/assets/fonts/font_8.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/public/assets/fonts/font_6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/public/assets/fonts/font_8.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/public/assets/fonts/font_6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==========================================================================
   YAQUELIN GAINZA HERRERA - STYLESHEET
   Colors: Blue, Cyan, Orange | Tone: Cercano, Resolutivo, Simple, Limpio
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Brand Colors */
    --color-primary-navy: #0B192C;
    --color-navy-light: #1E3E62;
    --color-navy-dark: #070F1B;

    --color-cyan-main: #00C4DF;
    --color-cyan-dark: #026E7E;
    --color-cyan-light: #E0F8FC;
    --color-cyan-glow: rgba(0, 196, 223, 0.25);

    --color-orange-main: #FF8A00;
    --color-orange-dark: #E06A00;
    --color-orange-light: #FFF4E5;
    --color-orange-glow: rgba(255, 138, 0, 0.25);

    /* Neutral Tones */
    --color-bg-light: #F8FAFC;
    --color-bg-white: #FFFFFF;
    --color-bg-card: #FFFFFF;

    --color-text-main: #1E293B;
    --color-text-muted: #64748B;
    --color-text-light: #94A3B8;
    --color-border: #E2E8F0;

    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif-title: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

    --shadow-sm: 0 2px 8px rgba(11, 25, 44, 0.04);
    --shadow-md: 0 8px 24px rgba(11, 25, 44, 0.08);
    --shadow-lg: 0 16px 40px rgba(11, 25, 44, 0.12);
    --shadow-glow: 0 10px 30px rgba(0, 196, 223, 0.2);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-navy);
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.section {
    padding: 6rem 0;
}

/* --------------------------------------------------------------------------
   3. BUTTONS & UI ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-orange-main) 0%, var(--color-orange-dark) 100%);
    color: #FFFFFF;
    box-shadow: 0 6px 20px var(--color-orange-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 138, 0, 0.4);
    background: linear-gradient(135deg, #FF971A 0%, var(--color-orange-main) 100%);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: #FFFFFF;
    color: var(--color-primary-navy);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--color-cyan-light);
    color: var(--color-cyan-dark);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-tag.light {
    background-color: rgba(0, 196, 223, 0.2);
    color: var(--color-cyan-main);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 680px;
    margin: 0 auto 3rem auto;
}

/* --------------------------------------------------------------------------
   4. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: rgba(11, 25, 44, 0.92);
    backdrop-filter: blur(12px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.logo-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.logo:hover .logo-icon-wrap {
    transform: scale(1.06);
}

.logo-svg {
    width: 100%;
    height: 100%;
    color: #FFFFFF;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-serif-title);
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.3px;
    line-height: 1.15;
}

.logo-sub {
    font-size: 0.73rem;
    color: var(--color-cyan-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 0.3rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: #FFFFFF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-orange-main);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Nav Item Dropdown */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.dropdown-chevron {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.nav-item-dropdown.open .dropdown-chevron,
.nav-item-dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(11, 25, 44, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 196, 223, 0.25);
    border-radius: var(--radius-md);
    padding: 0.6rem;
    min-width: 230px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 196, 223, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* Triángulo superior decorativo */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(11, 25, 44, 0.98);
    border-left: 1px solid rgba(0, 196, 223, 0.25);
    border-top: 1px solid rgba(0, 196, 223, 0.25);
}

/* Área puente para evitar pérdida de hover al mover el cursor */
.nav-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

@media (min-width: 769px) {
    /* Abrir al pasar el ratón o con clase .open en escritorio */
    .nav-item-dropdown:hover > .nav-dropdown-menu,
    .nav-item-dropdown.open > .nav-dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(-50%) translateY(0) !important;
    }
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.dropdown-link svg {
    color: var(--color-cyan-main);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.dropdown-link:hover {
    background: rgba(0, 196, 223, 0.12);
    color: #FFFFFF;
    transform: translateX(3px);
}

.dropdown-link:hover svg {
    color: var(--color-orange-main);
    transform: scale(1.15);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 100%;
    height: 2.5px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-mobile-cta {
    display: none;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    overflow: hidden;
    background-color: var(--color-primary-navy);
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(11, 25, 44, 0.55) 0%,
            rgba(11, 25, 44, 0.35) 45%,
            rgba(11, 25, 44, 0.10) 75%,
            rgba(11, 25, 44, 0.0) 100%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* Compact Hero for Secondary Pages */
.hero-section.hero-compact {
    min-height: 42vh;
    padding-top: 6.5rem;
    padding-bottom: 2.5rem;
}

.hero-section.hero-compact .hero-container {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.hero-section.hero-compact .hero-title {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
}

.hero-section.hero-compact .hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hero-section.hero-compact {
        min-height: auto;
        padding-top: 5.5rem;
        padding-bottom: 2rem;
    }

    .hero-section.hero-compact .hero-title {
        font-size: 2.2rem;
    }
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    background: rgba(11, 25, 44, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-orange-main);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-orange-main);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.25);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

.hero-title {
    font-family: var(--font-serif-title);
    font-size: 4.1rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 18px rgba(11, 25, 44, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #FFFFFF;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(11, 25, 44, 0.7);
}

.hero-sub-desktop {
    display: inline;
}

.hero-sub-mobile {
    display: none;
}

.hero-subtitle strong {
    color: #FFD275;
    font-weight: 700;
}

.hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(11, 25, 44, 0.7);
}

.highlight-item svg {
    color: var(--color-cyan-main);
    flex-shrink: 0;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   6. PRESENTACIÓN (ABOUT SECTION)
   -------------------------------------------------------------------------- */
.about-section {
    background-color: var(--color-bg-white);
    position: relative;
    overflow: hidden;
    padding: 8rem 0 5rem 0;
}

.about-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 520px;
    opacity: 0.07;
    pointer-events: none;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-bg-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about-content-centered {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--color-primary-navy);
    margin: 1.2rem 0 1.8rem 0;
}

.about-badge-pill svg {
    color: var(--color-orange-main);
    flex-shrink: 0;
}

.about-badge-pill strong {
    color: var(--color-primary-navy);
    font-family: var(--font-heading);
}

.about-badge-pill span {
    color: var(--color-text-muted);
}

.about-paragraph {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.about-paragraph.lead {
    font-size: 1.2rem;
    color: var(--color-primary-navy);
    font-weight: 500;
    line-height: 1.6;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.about-feature-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon.cyan {
    background-color: var(--color-cyan-light);
    color: var(--color-cyan-dark);
}

.feature-icon.orange {
    background-color: var(--color-orange-light);
    color: var(--color-orange-dark);
}

.about-feature-box h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.about-feature-box p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin: 0;
}

.about-action {
    margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   7. ÁREAS DE PRÁCTICA (3 BLOCKS)
   -------------------------------------------------------------------------- */
.areas-section {
    background-color: var(--color-bg-light);
    padding: 5.5rem 0;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
    margin-top: 1.5rem;
}

/* Base card */
.area-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-cyan-main);
    transition: var(--transition-fast);
}

.area-card.featured::before {
    background: var(--color-orange-main);
}

.area-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.area-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.area-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.area-icon.cyan {
    background-color: var(--color-cyan-light);
    color: var(--color-cyan-dark);
}

.area-icon.orange {
    background-color: var(--color-orange-light);
    color: var(--color-orange-dark);
}

.area-icon.blue {
    background-color: #E2E8F0;
    color: var(--color-primary-navy);
}

.area-number {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-text-light);
}

.area-title {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.area-summary {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.4rem;
    line-height: 1.5;
}

.area-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.6rem;
    flex-grow: 1;
}

.area-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.92rem;
    color: var(--color-text-main);
    line-height: 1.5;
}

.area-list li svg {
    color: var(--color-cyan-dark);
    flex-shrink: 0;
    margin-top: 2px;
}

.area-card.featured .area-list li svg {
    color: var(--color-orange-main);
}

.area-card-footer {
    padding-top: 0.9rem;
    border-top: 1px solid var(--color-border);
}

.area-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--color-primary-navy);
}

.area-link:hover {
    color: var(--color-orange-main);
    gap: 0.7rem;
}

/* ==========================================================================
   ENHANCED HOME PAGE AREA CARDS (MODERN REDESIGN)
   ========================================================================== */
.areas-grid .area-card {
    border-radius: 1.25rem;
    padding: 2.2rem 1.85rem 1.85rem;
    background: #FFFFFF;
    border: 1px solid rgba(15, 39, 68, 0.09);
    box-shadow: 0 10px 25px -5px rgba(15, 39, 68, 0.05), 0 8px 10px -6px rgba(15, 39, 68, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.areas-grid .area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -10px rgba(15, 39, 68, 0.12), 0 10px 18px -6px rgba(15, 39, 68, 0.06);
}

/* Colored Top Stripe & Glow */
.areas-grid .card-extranjeria::before {
    height: 4px;
    background: linear-gradient(90deg, #00B4D8 0%, #0096B4 100%);
}
.areas-grid .card-penal::before {
    height: 4px;
    background: linear-gradient(90deg, #0F2744 0%, #1E3A8A 100%);
}
.areas-grid .card-laboral::before {
    height: 4px;
    background: linear-gradient(90deg, #F97316 0%, #EA580C 100%);
}

.areas-grid .card-extranjeria:hover {
    border-color: rgba(0, 180, 216, 0.45);
}
.areas-grid .card-penal:hover {
    border-color: rgba(15, 39, 68, 0.35);
}
.areas-grid .card-laboral:hover {
    border-color: rgba(249, 115, 22, 0.45);
}

/* Card Topbar: Badge + Index Number */
.area-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.area-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
}
.area-badge.cyan {
    background: rgba(0, 180, 216, 0.1);
    color: #007799;
    border: 1px solid rgba(0, 180, 216, 0.25);
}
.area-badge.navy {
    background: rgba(15, 39, 68, 0.07);
    color: #0F2744;
    border: 1px solid rgba(15, 39, 68, 0.16);
}
.area-badge.orange {
    background: rgba(249, 115, 22, 0.1);
    color: #C2410C;
    border: 1px solid rgba(249, 115, 22, 0.25);
}

.areas-grid .area-number {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #CBD5E1;
    letter-spacing: -0.02em;
}

/* Card Header: Icon + Title */
.areas-grid .area-card-header {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 1.15rem;
    justify-content: flex-start;
}

.areas-grid .area-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.areas-grid .area-card:hover .area-icon {
    transform: scale(1.06);
}

.areas-grid .area-icon.cyan {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.14), rgba(0, 150, 180, 0.08));
    border: 1px solid rgba(0, 180, 216, 0.28);
    color: #008AA3;
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.12);
}
.areas-grid .area-icon.orange {
    background: linear-gradient(135deg, rgba(15, 39, 68, 0.08), rgba(30, 58, 138, 0.06));
    border: 1px solid rgba(15, 39, 68, 0.16);
    color: #0F2744;
    box-shadow: 0 4px 12px rgba(15, 39, 68, 0.08);
}
.areas-grid .area-icon.blue {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(234, 88, 12, 0.06));
    border: 1px solid rgba(249, 115, 22, 0.28);
    color: #EA580C;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.12);
}

.areas-grid .area-title {
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--color-primary-navy);
    line-height: 1.28;
    margin: 0;
}

.areas-grid .area-summary {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.55;
    margin-bottom: 1.35rem;
}

/* Micro-Cards for Bullet Items */
.areas-grid .area-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.6rem;
    flex-grow: 1;
    list-style: none;
    padding: 0;
}

.areas-grid .area-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.8rem 0.95rem;
    background: #F8FAFC;
    border: 1px solid #EEF2F6;
    border-radius: 0.85rem;
    transition: all 0.22s ease;
}

.areas-grid .area-list li:hover {
    background: #FFFFFF;
    border-color: #E2E8F0;
    box-shadow: 0 4px 12px rgba(15, 39, 68, 0.04);
    transform: translateX(3px);
}

.list-icon-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.card-extranjeria .list-icon-check {
    background: rgba(0, 180, 216, 0.12);
    color: #008AA3;
}
.card-penal .list-icon-check {
    background: rgba(15, 39, 68, 0.08);
    color: #0F2744;
}
.card-laboral .list-icon-check {
    background: rgba(249, 115, 22, 0.12);
    color: #EA580C;
}

.list-text {
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.5;
}
.list-text strong {
    color: var(--color-primary-navy);
    font-weight: 600;
}

/* Full-Width Interactive Card CTA Button */
.areas-grid .area-card-footer {
    padding-top: 1rem;
    border-top: 1px solid #F1F5F9;
}

.area-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.78rem 1.15rem;
    border-radius: 0.8rem;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.area-card-cta svg {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.area-card-cta:hover svg {
    transform: translateX(4px);
}

.card-extranjeria .area-card-cta {
    background: rgba(0, 180, 216, 0.08);
    color: #0284C7;
    border: 1px solid rgba(0, 180, 216, 0.25);
}
.card-extranjeria .area-card-cta:hover {
    background: #00B4D8;
    color: #FFFFFF;
    border-color: #00B4D8;
    box-shadow: 0 6px 18px rgba(0, 180, 216, 0.28);
}

.card-penal .area-card-cta {
    background: rgba(15, 39, 68, 0.06);
    color: #0F2744;
    border: 1px solid rgba(15, 39, 68, 0.15);
}
.card-penal .area-card-cta:hover {
    background: #0F2744;
    color: #FFFFFF;
    border-color: #0F2744;
    box-shadow: 0 6px 18px rgba(15, 39, 68, 0.28);
}

.card-laboral .area-card-cta {
    background: rgba(249, 115, 22, 0.08);
    color: #EA580C;
    border: 1px solid rgba(249, 115, 22, 0.25);
}
.card-laboral .area-card-cta:hover {
    background: #F97316;
    color: #FFFFFF;
    border-color: #F97316;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.28);
}


/* --------------------------------------------------------------------------
   7.5. PREGUNTAS FRECUENTES (FAQ SECTION - HERO COLORS & ORGANIC TRANSITION)
   -------------------------------------------------------------------------- */
.faq-section {
    background:
        linear-gradient(180deg, rgba(7, 15, 27, 0.12) 0%, rgba(7, 15, 27, 0.20) 100%),
        linear-gradient(135deg, #FF941A 0%, #FF8A00 25%, #E06A00 100%);
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
    color: #FFFFFF;
}

/* Large organic circular shape in Cyan/Blue sweeping from the left towards the right */
.faq-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 18%;
    width: 90vw;
    min-width: 620px;
    height: 140%;
    background: radial-gradient(circle at 35% 50%, #00C4DF 0%, #009EBA 60%, #027082 100%);
    border-radius: 50% / 50%;
    pointer-events: none;
    z-index: 1;
    box-shadow: -25px 0 65px rgba(0, 140, 165, 0.35);
}

/* Soft fluid cyan ambient glow on the far right */
.faq-section::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50vw;
    height: 150%;
    background: radial-gradient(circle at 40% 50%, rgba(0, 229, 255, 0.35) 0%, rgba(0, 175, 200, 0.18) 60%, transparent 85%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(25px);
}

.faq-section .container {
    position: relative;
    z-index: 2;
}

.faq-section .section-title {
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(7, 15, 27, 0.25);
}

.faq-section .section-description {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 6px rgba(7, 15, 27, 0.2);
}

.faq-section .section-tag {
    background-color: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.faq-accordion-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-item.active {
    background: #FFFFFF;
    border-color: #FFFFFF;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 1.8rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    color: #FFFFFF;
    cursor: pointer;
    transition: var(--transition-fast);
    text-shadow: none;
}

.faq-item.active .faq-question {
    color: var(--color-primary-navy);
}

.faq-question:hover {
    color: #FFFFFF;
    opacity: 0.95;
}

.faq-item.active .faq-question:hover {
    color: var(--color-orange-main);
}

.faq-icon {
    width: 34px;
    height: 34px;
    padding: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--color-orange-main);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 15px var(--color-orange-glow);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
    padding: 0 1.8rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.8rem 1.6rem 1.8rem;
    transition: max-height 0.5s ease-in-out, padding 0.35s ease;
}

.faq-answer p {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin: 0;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: none;
}

.faq-item.active .faq-answer p {
    color: var(--color-text-main);
    border-top-color: var(--color-border);
}

/* --------------------------------------------------------------------------
   7.8. TESTIMONIALS & GOOGLE REVIEWS SECTION
   -------------------------------------------------------------------------- */
.reviews-section {
    background-color: var(--color-bg-white);
    position: relative;
    padding: 6.5rem 0;
    overflow: hidden;
}

.reviews-summary-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 1.2rem;
    background: #F8FAFC;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary-navy);
    box-shadow: 0 2px 6px rgba(11, 25, 44, 0.04);
}

.reviews-summary-stars {
    display: inline-flex;
    gap: 2px;
    color: #FBBC04;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3.5rem;
}

.review-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.2rem 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
    position: relative;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 3px;
    background: linear-gradient(90deg, var(--color-cyan-main), var(--color-orange-main));
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 196, 223, 0.4);
}

.review-card:hover::before {
    opacity: 1;
}

.review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #FFFFFF;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review-author-info {
    display: flex;
    flex-direction: column;
}

.review-author-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary-navy);
    line-height: 1.25;
}

.review-source-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-top: 0.2rem;
}

.review-google-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.review-stars {
    display: flex;
    gap: 2px;
    color: #FBBC04;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 0.96rem;
    line-height: 1.7;
    color: #334155;
    margin: 0;
    flex-grow: 1;
}

.review-highlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #F1F5F9;
}

.review-pill {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-primary-navy);
    background: #F1F5F9;
    border-radius: var(--radius-full);
    padding: 0.2rem 0.65rem;
}

@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 4.5rem 0;
    }
    .reviews-grid {
        gap: 1.25rem;
    }
    .review-card {
        padding: 1.6rem 1.4rem;
    }
}

/* --------------------------------------------------------------------------
   8. FORMULARIO DE CITA GRATUITA
   -------------------------------------------------------------------------- */
.contact-section {
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    position: relative;
}

.contact-wrapper {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-quick-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.quick-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.4rem;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-main);
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.quick-contact-item:hover {
    border-color: var(--color-cyan-dark);
    color: var(--color-cyan-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quick-contact-item svg {
    color: var(--color-cyan-dark);
    flex-shrink: 0;
}

.quick-contact-item strong {
    color: var(--color-primary-navy);
}

.contact-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-cyan-dark);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px var(--color-cyan-glow);
}

.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    user-select: none;
}

.checkbox-container input {
    width: auto;
    cursor: pointer;
}

.checkbox-container a {
    color: var(--color-cyan-dark);
    text-decoration: underline;
}

.btn-submit {
    margin-top: 0.8rem;
    padding: 1.1rem;
}

/* --------------------------------------------------------------------------
   9. FOOTER & MODALS & FLOATING
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--color-navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.92rem;
    max-width: 320px;
    line-height: 1.6;
}

.footer-links h3,
.footer-links h4,
.footer-legal h3,
.footer-legal h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a,
.footer-legal a {
    font-size: 0.92rem;

}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--color-cyan-main);
}

.footer-bottom {
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFFFFF;
    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;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 25, 44, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: var(--color-cyan-light);
    color: var(--color-cyan-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.modal-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.modal-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    /* Hero Tablet: ubicar textos abajo para no tapar el rostro de la abogada */
    .hero-section {
        min-height: 90vh;
        min-height: 90dvh;
        display: flex;
        align-items: flex-end;
        padding-top: 12rem;
        padding-bottom: 3.5rem;
    }

    .hero-section .hero-container {
        padding-top: 0;
        padding-bottom: 0;
        width: 100%;
    }

    .hero-content {
        max-width: 580px;
    }

    .hero-bg-image {
        object-position: 75% 20%;
    }

    .hero-title {
        font-size: 2.85rem;
        line-height: 1.15;
        margin-bottom: 1rem;
        text-shadow: 0 4px 18px rgba(7, 15, 27, 0.95), 0 2px 6px rgba(0, 0, 0, 0.85);
    }

    .hero-subtitle {
        font-size: 1.15rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 12px rgba(7, 15, 27, 0.95), 0 1px 4px rgba(0, 0, 0, 0.85);
    }

    .hero-highlights {
        margin-bottom: 1.8rem;
        gap: 0.75rem;
    }

    .hero-badge {
        display: none !important;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(11, 25, 44, 0.1) 0%, rgba(11, 25, 44, 0.45) 55%, rgba(11, 25, 44, 0.9) 100%) !important;
    }

    .highlight-item {
        font-size: 0.95rem;
        text-shadow: 0 2px 8px rgba(7, 15, 27, 0.95);
    }

    /* Header Tablet: Ocultar texto del logo dejando solo el icono, y botón compacto para dar espacio a la navegación */
    .header .logo-text {
        display: none !important;
    }

    .header .logo-icon-wrap {
        width: 40px;
        height: 40px;
    }

    .header-container {
        gap: 1rem;
    }

    .nav-list {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.04rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .btn-header {
        padding: 0.6rem 1.15rem !important;
        font-size: 0.92rem !important;
        font-weight: 600 !important;
        white-space: nowrap;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    /* Header permanente azul en versión móvil */
    .header {
        background: #0B192C !important;
        padding: 0.85rem 0 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    }

    .about-section {
        padding-top: 6rem;
    }

    /* Hero Mobile Simplification */
    .hero-section {
        min-height: 90vh;
        min-height: 90dvh;
        display: flex;
        align-items: flex-end;
        padding-top: 14rem;
        padding-bottom: 2rem;
    }

    .hero-section .hero-container {
        padding-top: 0;
        padding-bottom: 0;
        width: 100%;
    }

    .hero-overlay {
        display: none !important;
    }

    .hero-bg-image {
        object-position: 85% 15% !important;
    }

    .hero-badge,
    .hero-highlights {
        display: none !important;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        max-width: 440px;
    }

    .hero-title {
        font-size: 2.35rem;
        line-height: 1.15;
        margin-bottom: 0.85rem;
        text-align: center;
        text-shadow: 0 3px 14px rgba(7, 15, 27, 0.95), 0 1px 3px rgba(0, 0, 0, 0.9);
    }

    .hero-sub-desktop {
        display: none !important;
    }

    .hero-sub-mobile {
        display: inline !important;
        font-size: 1.15rem;
        line-height: 1.5;
        color: #E0F8FC !important;
        font-weight: 600;
        letter-spacing: -0.2px;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        line-height: 1.5;
        color: #FFFFFF !important;
        font-weight: 500;
        margin-bottom: 1.8rem;
        text-align: center;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        text-shadow: 0 2px 10px rgba(7, 15, 27, 0.95), 0 1px 3px rgba(0, 0, 0, 0.9);
    }

    .hero-subtitle strong {
        color: #FFFFFF !important;
        font-weight: 700;
    }

    .hero-cta-group {
        justify-content: center;
        gap: 0.6rem;
    }

    /* Ocultar botón de servicios de extranjería en móvil */
    .hero-cta-group .btn-outline {
        display: none !important;
    }

    .hero-cta-group .btn {
        width: 100%;
        max-width: 290px;
        padding: 0.75rem 1.4rem;
        font-size: 0.95rem;
    }

    .btn-header {
        display: none;
    }

    .header-actions {
        position: relative;
        z-index: 1002;
    }

    .lang-switcher,
    .lang-dropdown {
        position: relative;
        z-index: 1003;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1004;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: #0B192C !important;
        padding: 5.5rem 1.75rem 2.5rem 1.75rem;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5);
        transition: right var(--transition-smooth);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1001;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        width: 100%;
    }

    .nav-link {
        font-size: 1.15rem;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-item-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-dropdown-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.3rem 0;
        color: rgba(255, 255, 255, 0.85);
        font-size: 1.15rem;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-dropdown-toggle:hover,
    .nav-dropdown-toggle.active {
        color: #FFFFFF;
    }

    .nav-item-dropdown.open .dropdown-chevron {
        transform: rotate(180deg);
        color: var(--color-cyan-main);
    }

    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid var(--color-cyan-main) !important;
        border-radius: 0 !important;
        background: rgba(255, 255, 255, 0.05) !important;
        margin-top: 0.6rem !important;
        margin-left: 0.4rem !important;
        padding: 0.3rem 0.5rem !important;
        width: calc(100% - 0.4rem) !important;
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.25rem !important;
        transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease !important;
    }

    .nav-dropdown-menu::before,
    .nav-dropdown-menu::after {
        display: none !important;
    }

    .nav-item-dropdown.open .nav-dropdown-menu {
        max-height: 280px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .dropdown-link {
        font-size: 0.95rem;
        padding: 0.6rem 0.75rem;
    }

    .nav-mobile-cta {
        display: block;
        width: 100%;
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .nav-mobile-cta .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .logo-name {
        font-size: 1.15rem;
    }

    .logo-sub {
        font-size: 0.65rem;
    }

    .logo-icon-wrap {
        width: 36px;
        height: 36px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .contact-card {
        padding: 2.2rem 1.4rem;
        margin-top: 1.5rem;
    }

    .contact-quick-bar {
        gap: 0.9rem;
        margin-bottom: 2.5rem !important;
    }

    .quick-contact-item {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .quick-contact-item span {
        white-space: nowrap;
    }

    .quick-contact-item strong {
        white-space: nowrap;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        margin-top: 2rem;
    }

    .about-feature-box {
        padding: 1.8rem 1.4rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .areas-grid-4col {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .areas-grid-2col {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .resolutions-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .top-bar-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* Espaciado general móvil para títulos de sección y párrafos */
    .section-title {
        font-size: 1.85rem;
        line-height: 1.25;
        margin-bottom: 1.2rem;
    }

    .section-description {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 2.2rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .about-paragraph {
        margin-bottom: 1.4rem;
        line-height: 1.75;
    }
}

/* --------------------------------------------------------------------------
   11. COMPLEMENTARY ARCHITECTURE & AREAS PAGE COMPONENTS
   -------------------------------------------------------------------------- */

/* Top Institutional Bar */
.top-bar {
    background-color: var(--color-navy-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1002;
}

body:has(.top-bar) .header {
    top: 37px;
}

body:has(.top-bar) .header.scrolled {
    top: 0;
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    body:has(.top-bar) .header {
        top: 0;
    }
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    background-color: var(--color-cyan-main);
    color: var(--color-primary-navy);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-bar-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
}

.top-bar-live {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #34D399;
    font-weight: 600;
    font-size: 0.78rem;
}

.top-bar-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #34D399;
    box-shadow: 0 0 8px #34D399;
    animation: pulse 2s infinite;
}

.top-bar-link {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.top-bar-link:hover {
    color: var(--color-cyan-main);
}

/* Hero Split Layout */
.hero-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(0, 196, 223, 0.1), rgba(255, 138, 0, 0.1));
}

.hero-image-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.hero-image-caption {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    background: rgba(11, 25, 44, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    color: #FFFFFF;
}

.hero-image-caption-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #FFFFFF;
    display: block;
}

.hero-image-caption-sub {
    font-size: 0.78rem;
    color: var(--color-cyan-main);
    display: block;
    margin-top: 0.2rem;
}

/* Hero Stats Row */
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-card {
    display: flex;
    flex-direction: column;
}

.hero-stat-num {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.1;
}

.hero-stat-num.cyan {
    color: var(--color-cyan-main);
}

.hero-stat-num.orange {
    color: var(--color-orange-main);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin-top: 0.3rem;
}

/* 4-Column Areas Grid */
.areas-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .areas-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 2-Column Areas Grid */
.areas-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch;
    margin-top: 2rem;
}

/* Detail Card Boxes inside Area Cards */
.detail-card-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.25rem 0;
}

.detail-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.25rem;
}

.detail-card-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: var(--color-primary-navy);
    margin-bottom: 0.5rem;
}

.detail-card-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

.detail-card-list strong {
    color: var(--color-text-main);
}

.badge-pill-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pill-status.crimson {
    background-color: #FEE2E2;
    color: #991B1B;
}

.badge-pill-status.blue {
    background-color: var(--color-cyan-light);
    color: var(--color-cyan-dark);
}

/* Process Box / Methodology */
.process-box {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    margin-top: 2.5rem;
}

.process-box-header {
    margin-bottom: 1.8rem;
}

.process-box-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary-navy);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
}

.process-step-num {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-cyan-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.process-step-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary-navy);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Resolutions Section */
.resolutions-section {
    background-color: var(--color-bg-white);
    border-top: 1px solid var(--color-border);
}

.resolutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.resolution-card {
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    padding: 2rem 1.8rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.resolution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-cyan-dark);
    background: #FFFFFF;
}

.resolution-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.resolution-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resolution-badge.green {
    background-color: #DEF7EC;
    color: #03543F;
}

.resolution-badge.blue {
    background-color: var(--color-cyan-light);
    color: var(--color-cyan-dark);
}

.resolution-year {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 600;
}

.resolution-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary-navy);
    margin-bottom: 0.7rem;
    line-height: 1.3;
}

.resolution-desc {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

.resolution-footer {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    padding-top: 0.9rem;
    border-top: 1px solid var(--color-border);
}

.resolution-footer em {
    color: var(--color-primary-navy);
    font-style: normal;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   About Section / Presentación Deontológica
   -------------------------------------------------------------------------- */
.about-section {
    position: relative;
    background-color: var(--color-bg-white);
    padding: 6rem 0;
    overflow: hidden;
}

.about-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    max-width: 90%;
    opacity: 0.035;
    pointer-events: none;
    z-index: 1;
}

.about-bg-logo img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
}

.about-content-centered {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.about-content-centered .section-title {
    margin: 1rem auto 1.5rem auto;
    line-height: 1.35;
    color: var(--color-primary-navy);
}

.about-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.25rem;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-primary-navy);
    font-size: 0.92rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.about-badge-pill svg {
    color: var(--color-cyan-dark);
    flex-shrink: 0;
}

.about-paragraph {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1.4rem;
    text-align: left;
}

.about-paragraph.lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-primary-navy);
    line-height: 1.7;
    text-align: center;
    margin-bottom: 1.8rem;
}

.about-action {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   CONTACT PAGE ENHANCEMENTS & SIDEBAR
   -------------------------------------------------------------------------- */
.contact-page-grid {
    display: block;
    max-width: 780px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .contact-page-grid {
        max-width: 100%;
    }
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.contact-info-panel,
.contact-office-panel {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.contact-info-panel:hover,
.contact-office-panel:hover {
    border-color: var(--color-cyan-main);
    box-shadow: var(--shadow-md);
}

.panel-icon-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.panel-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-cyan-light);
    color: var(--color-cyan-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.panel-icon-header h4 {
    font-size: 1.25rem;
    color: var(--color-primary-navy);
    line-height: 1.2;
}

.panel-sub {
    font-size: 0.85rem;
    color: var(--color-cyan-dark);
    font-weight: 600;
}

.panel-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.panel-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.feature-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-orange-main);
    margin-top: 0.45rem;
    flex-shrink: 0;
}

.feature-item strong {
    font-size: 0.95rem;
    color: var(--color-primary-navy);
    display: block;
}

.feature-item p {
    font-size: 0.86rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.4;
}

.contact-office-panel h4 {
    font-size: 1.25rem;
    color: var(--color-primary-navy);
    margin-bottom: 1.4rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.75rem;
}

.office-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.office-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.office-list li svg {
    color: var(--color-cyan-dark);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.office-list li strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-primary-navy);
}

.office-list li span {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

/* Utility Helper */
.hidden {
    display: none !important;
}

/* Details Summary Reset */
details summary::-webkit-details-marker {
    display: none;
}
details summary {
    list-style: none;
}

/* --------------------------------------------------------------------------
   ÁREAS DE PRÁCTICA: Extranjería 50/50 Duo Grid (Limpio, sin cards, contraste sutil)
   -------------------------------------------------------------------------- */
.extranjeria-duo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    margin-top: 3rem;
    position: relative;
}

.extranjeria-duo-grid::after {
    content: '';
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--color-border), transparent);
    transform: translateX(-50%);
}

.extranjeria-column {
    display: flex;
    flex-direction: column;
}

.extranjeria-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-cyan-dark);
    margin-bottom: 0.85rem;
}

.extranjeria-column.accent-orange .extranjeria-kicker {
    color: var(--color-orange-main);
}

.extranjeria-column h3 {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-primary-navy);
    line-height: 1.25;
    margin-bottom: 1.1rem;
    letter-spacing: -0.01em;
}

.extranjeria-lead {
    font-size: 1rem;
    line-height: 1.68;
    color: var(--color-text-muted);
    margin-bottom: 1.8rem;
}

.extranjeria-lead strong {
    color: var(--color-primary-navy);
    font-weight: 600;
}

.extranjeria-points {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.extranjeria-point {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
}

.extranjeria-point-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 196, 223, 0.12);
    color: var(--color-cyan-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.extranjeria-point-icon svg {
    width: 14px;
    height: 14px;
}

.extranjeria-column.accent-orange .extranjeria-point-icon {
    background: rgba(255, 138, 0, 0.12);
    color: var(--color-orange-main);
}

.extranjeria-point-body {
    flex: 1;
    font-size: 0.94rem;
    line-height: 1.62;
    color: var(--color-text-muted);
}

.extranjeria-point-body strong {
    color: var(--color-primary-navy);
    font-weight: 600;
    display: inline;
}

.extranjeria-point-body span {
    display: inline;
}

.extranjeria-sublist {
    margin: 0.65rem 0 0 0;
    padding-left: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.extranjeria-sublist li strong {
    color: var(--color-primary-navy);
}

/* Botón Centrado Único para Extranjería y Nacionalidad */
.extranjeria-center-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3.5rem 0 3.2rem 0;
    position: relative;
    z-index: 2;
}

.btn-extranjeria-cta {
    padding: 0.95rem 2.2rem;
    font-size: 1.02rem;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(11, 25, 44, 0.16);
    transition: var(--transition-fast);
}

.btn-extranjeria-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(11, 25, 44, 0.24);
}

/* Caja de Proceso Destacada en Azul Marino con Acento */
#extranjeria .process-box {
    background: linear-gradient(135deg, #0B192C 0%, #152A45 55%, #1E3E62 100%);
    border: 1px solid rgba(0, 196, 223, 0.28);
    border-radius: var(--radius-lg);
    padding: 2.2rem 3rem 2.4rem 3rem;
    color: #FFFFFF;
    box-shadow: 0 16px 40px rgba(11, 25, 44, 0.2);
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

#extranjeria .process-box::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 196, 223, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

#extranjeria .process-box-tag {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-cyan-main);
    background: rgba(0, 196, 223, 0.12);
    border: 1px solid rgba(0, 196, 223, 0.3);
    padding: 0.28rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.65rem;
}

#extranjeria .process-box-title {
    color: #FFFFFF;
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

#extranjeria .process-box-header {
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
}

#extranjeria .process-grid {
    position: relative;
    z-index: 1;
}

#extranjeria .process-step-num {
    color: var(--color-orange-main);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

#extranjeria .process-step-title {
    color: #FFFFFF;
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

#extranjeria .process-step p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   ÁREAS COMPLEMENTARIAS: DERECHO PENAL Y LABORAL (Texto + Foto 480px + Acordeones)
   -------------------------------------------------------------------------- */
.areas-complementarias-section {
    background-color: var(--color-bg-white);
    position: relative;
    padding: 5.5rem 0;
    border-top: 1px solid var(--color-border);
    scroll-margin-top: 120px;
}

.areas-section,
#extranjeria,
#area-penal-block,
#area-laboral-block {
    scroll-margin-top: 120px;
}

.complementary-blocks-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5.5rem;
}

.complementary-row {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.8rem;
    align-items: center;
    scroll-margin-top: 120px;
}

.complementary-row.reverse {
    grid-template-columns: 0.85fr 1.15fr;
}

.complementary-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-cyan-dark);
    margin-bottom: 0.8rem;
}

.complementary-row.reverse .complementary-kicker {
    color: var(--color-orange-main);
}

.complementary-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--color-primary-navy);
    line-height: 1.22;
    margin-bottom: 0.6rem;
    letter-spacing: -0.015em;
}

.complementary-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-cyan-dark);
    margin-bottom: 1.3rem;
}

.complementary-row.reverse .complementary-subtitle {
    color: var(--color-orange-main);
}

.complementary-intro {
    font-size: 0.98rem;
    line-height: 1.68;
    color: var(--color-text-muted);
    margin-bottom: 1.8rem;
}

.complementary-intro strong {
    color: var(--color-primary-navy);
}

/* Lista con checkmarks para Penal */
.complementary-feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    margin-bottom: 2.2rem;
}

.complementary-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
}

.complementary-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 196, 223, 0.12);
    color: var(--color-cyan-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.complementary-feature-icon svg {
    width: 14px;
    height: 14px;
}

.complementary-feature-body strong {
    display: block;
    font-size: 0.98rem;
    color: var(--color-primary-navy);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.complementary-feature-body p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Tarjetas y Fotos con relación de aspecto equilibrada (480px) y bordes redondeados */
.complementary-photo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(11, 25, 44, 0.12);
    border: 1px solid var(--color-border);
    background: var(--color-bg-light);
    height: 480px;
}

.complementary-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
    display: block;
    transition: transform 0.4s ease;
}

.complementary-photo-card:hover img {
    transform: scale(1.02);
}

/* Acordeones Interactivos para Laboral (name="laboral-faq" para auto-cierre) */
.complementary-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 2.2rem;
}

.comp-accordion-item {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}

.comp-accordion-item[open] {
    border-color: rgba(255, 138, 0, 0.45);
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(11, 25, 44, 0.05);
}

.comp-accordion-summary {
    padding: 1.05rem 1.3rem;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--color-primary-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
    transition: color var(--transition-fast);
}

.comp-accordion-summary:hover {
    color: var(--color-orange-main);
}

.comp-accordion-summary svg {
    color: var(--color-orange-main);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.comp-accordion-item[open] .comp-accordion-summary svg {
    transform: rotate(180deg);
}

.comp-accordion-content {
    padding: 0 1.3rem 1.25rem 1.3rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.comp-accordion-content p {
    margin-top: 0.8rem;
    margin-bottom: 0.5rem;
}

.comp-accordion-content strong {
    color: var(--color-primary-navy);
}

.comp-accordion-content ul {
    margin: 0.6rem 0;
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

/* Botones de Acción de Bloques */
.complementary-action {
    margin-top: 1.8rem;
}

/* --------------------------------------------------------------------------
   RESOLUCIONES Y SENTENCIAS: Grid de 5 Columnas Balanceado
   -------------------------------------------------------------------------- */
.resolutions-grid-5col {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.8rem;
    margin-top: 2.2rem;
}

.resolutions-grid-5col .resolution-card:nth-child(1),
.resolutions-grid-5col .resolution-card:nth-child(2),
.resolutions-grid-5col .resolution-card:nth-child(3) {
    grid-column: span 2;
}

.resolutions-grid-5col .resolution-card:nth-child(4),
.resolutions-grid-5col .resolution-card:nth-child(5) {
    grid-column: span 3;
}

.resolution-rep-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--color-primary-navy);
    font-weight: 600;
    font-size: 0.8rem;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    margin-top: 0.6rem;
}

.resolution-rep-badge svg {
    color: var(--color-cyan-dark);
}

/* Media Queries Responsive para Áreas */
@media (max-width: 992px) {
    .extranjeria-duo-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .extranjeria-duo-grid::after {
        display: none;
    }
    #extranjeria .process-box {
        padding: 2rem 1.6rem;
    }
    #extranjeria .process-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }
    .complementary-row,
    .complementary-row.reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .complementary-row.reverse .complementary-photo-side {
        order: 2;
    }
    .complementary-row.reverse .complementary-text-side {
        order: 1;
    }
    .complementary-photo-card {
        height: 360px;
    }
    .resolutions-grid-5col {
        grid-template-columns: 1fr;
    }
    .resolutions-grid-5col .resolution-card:nth-child(n) {
        grid-column: span 1;
    }
}

/* --------------------------------------------------------------------------
   SECCIÓN DE CIERRE HORIZONTAL: Texto a la izquierda y Acciones a la derecha
   -------------------------------------------------------------------------- */
.closing-action-section {
    background: #FFFFFF;
    border-top: 1px solid var(--color-border);
    padding: 4.5rem 0 5rem 0;
}

.closing-split-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3.5rem;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem 3.5rem;
    box-shadow: 0 10px 30px rgba(11, 25, 44, 0.04);
}

.closing-split-text {
    flex: 1;
    max-width: 620px;
}

.closing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-cyan-dark);
    background: #FFFFFF;
    border: 1px solid rgba(0, 196, 223, 0.25);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.9rem;
}

.closing-split-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary-navy);
    line-height: 1.25;
    margin-bottom: 0.8rem;
    letter-spacing: -0.015em;
}

.closing-split-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Contenedor de Botones a la derecha */
.closing-split-actions {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    flex-shrink: 0;
    width: 310px;
}

/* Botón 1: Llamada directa estilizada (diseño con icono y doble línea) */
.btn-clean-call {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 0.9rem 1.4rem;
    background: #0B192C;
    border: 1px solid #0B192C;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(11, 25, 44, 0.16);
    transition: all var(--transition-fast);
}

.btn-clean-call:hover {
    background: #152A45;
    border-color: #152A45;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(11, 25, 44, 0.24);
    color: #FFFFFF;
}

.btn-clean-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 196, 223, 0.18);
    color: var(--color-cyan-main);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.btn-clean-call:hover .btn-clean-icon {
    transform: scale(1.08);
}

.btn-clean-icon.whatsapp {
    background: rgba(37, 211, 102, 0.16);
    color: #25D366;
}

.btn-clean-body {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-clean-label {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
}

.btn-clean-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.15rem;
}

/* Botón 2: WhatsApp profesional directo */
.btn-clean-whatsapp {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 0.9rem 1.4rem;
    background: #FFFFFF;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-primary-navy);
    box-shadow: 0 2px 8px rgba(11, 25, 44, 0.04);
    transition: all var(--transition-fast);
}

.btn-clean-whatsapp .btn-clean-sub {
    color: var(--color-text-muted);
}

.btn-clean-whatsapp:hover {
    border-color: #25D366;
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.15);
    color: var(--color-primary-navy);
}

.btn-clean-whatsapp:hover .btn-clean-icon.whatsapp {
    transform: scale(1.08);
    background: rgba(37, 211, 102, 0.22);
}

@media (max-width: 992px) {
    .closing-split-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.2rem;
        padding: 2.4rem 1.8rem;
    }
    .closing-split-actions {
        width: 100%;
    }
}

/* ==========================================================================
   SOBRE MÍ - EXPERIENCIA ARTÍSTICA & MINIMALISTA (HERO CANVAS)
   Paleta: Obsidian #070F1B, Midnight #0B192C, Cyan #00C4DF, Amber #FF8A00
   ========================================================================== */

@keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 35px) scale(1.08); }
    100% { transform: translate(-30px, 70px) scale(0.94); }
}

@keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -30px) scale(1.06); }
    100% { transform: translate(35px, -50px) scale(0.92); }
}

@keyframes subtleShimmer {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.sobremi-art-canvas {
    background: linear-gradient(180deg, #070F1B 0%, #0B192C 30%, #0A1627 75%, #070F1B 100%);
    color: #F8FAFC;
    position: relative;
    overflow: hidden;
    padding-bottom: 6rem;
    min-height: 100vh;
}

/* Ambient glow orbs */
.art-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.orb-cyan {
    width: 650px;
    height: 650px;
    top: 2%;
    right: -140px;
    background: radial-gradient(circle, rgba(0, 196, 223, 0.2) 0%, rgba(0, 196, 223, 0.05) 45%, rgba(11, 25, 44, 0) 70%);
    filter: blur(85px);
    animation: orbFloat1 20s ease-in-out infinite alternate;
}

.orb-orange {
    width: 580px;
    height: 580px;
    top: 45%;
    left: -120px;
    background: radial-gradient(circle, rgba(255, 138, 0, 0.16) 0%, rgba(255, 138, 0, 0.03) 50%, rgba(11, 25, 44, 0) 70%);
    filter: blur(90px);
    animation: orbFloat2 22s ease-in-out infinite alternate-reverse;
}

.orb-sapphire {
    width: 750px;
    height: 750px;
    bottom: 5%;
    right: 15%;
    background: radial-gradient(circle, rgba(30, 62, 98, 0.22) 0%, rgba(11, 25, 44, 0) 70%);
    filter: blur(100px);
}

/* Decorative abstract SVG lines */
.art-abstract-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.22;
}

/* Manifesto Section */
.sobremi-manifesto-section {
    position: relative;
    z-index: 1;
    padding: 6.5rem 0 4.5rem 0;
}

.manifesto-header {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.abstract-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 1.3rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 196, 223, 0.35);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-cyan-main);
    box-shadow: 0 4px 20px rgba(0, 196, 223, 0.12);
    backdrop-filter: blur(12px);
    margin-bottom: 2rem;
}

.badge-sparkle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-cyan-main);
    box-shadow: 0 0 10px var(--color-cyan-main);
    animation: subtleShimmer 2s ease-in-out infinite;
}

.manifesto-title {
    font-family: var(--font-serif-title);
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    line-height: 1.25;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2rem;
    letter-spacing: -0.015em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.highlight-art {
    background: linear-gradient(135deg, #00C4DF 0%, #48CAE4 40%, #FFA028 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.manifesto-colegiatura {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.4rem;
    background: rgba(11, 25, 44, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    color: #CBD5E1;
    backdrop-filter: blur(16px);
}

.manifesto-colegiatura svg {
    color: var(--color-orange-main);
    flex-shrink: 0;
}

.manifesto-colegiatura strong {
    color: #FFFFFF;
}

/* Narrative Grid Section */
.sobremi-narrative-section {
    position: relative;
    z-index: 1;
    padding: 2rem 0 5rem 0;
}

.narrative-grid {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 4.5rem;
    align-items: start;
}

/* Visual Column */
.narrative-visual {
    position: sticky;
    top: 7rem;
}

.art-card-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.art-card-backdrop {
    position: absolute;
    inset: -12px;
    background: linear-gradient(145deg, rgba(0, 196, 223, 0.2), rgba(255, 138, 0, 0.15), rgba(11, 25, 44, 0.6));
    border-radius: 28px;
    filter: blur(20px);
    z-index: 0;
    opacity: 0.65;
}

.art-card-frame {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #0B192C;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 196, 223, 0.15);
}

.art-photo {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-card-frame:hover .art-photo {
    transform: scale(1.03);
}

.art-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 15, 27, 0) 50%, rgba(7, 15, 27, 0.75) 100%);
    pointer-events: none;
}

.art-floating-pill {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    padding: 0.9rem 1.2rem;
    background: rgba(11, 25, 44, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.pill-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-cyan-main);
    box-shadow: 0 0 10px var(--color-cyan-main);
    flex-shrink: 0;
}

.pill-content {
    display: flex;
    flex-direction: column;
}

.pill-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-cyan-main);
    font-weight: 700;
}

.pill-value {
    font-size: 0.88rem;
    color: #FFFFFF;
    font-weight: 600;
}

.art-card-subinfo {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(12px);
}

.subinfo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.subinfo-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-orange-main);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.subinfo-desc {
    font-size: 0.78rem;
    color: #94A3B8;
    line-height: 1.3;
}

.subinfo-divider {
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
}

/* Narrative Content Column */
.narrative-content {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.narrative-chapter {
    position: relative;
    padding: 2.2rem 2.4rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 22px;
    backdrop-filter: blur(14px);
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.narrative-chapter:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 196, 223, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 196, 223, 0.08);
}

.chapter-indicator {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.2rem;
}

.chapter-num {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-cyan-main);
    background: rgba(0, 196, 223, 0.12);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
}

.chapter-line {
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, var(--color-cyan-main), transparent);
}

.chapter-theme {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #94A3B8;
    font-weight: 600;
}

.chapter-heading {
    font-family: var(--font-serif-title);
    font-size: 1.45rem;
    color: #FFFFFF;
    margin-bottom: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
}

.chapter-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #CBD5E1;
    margin-bottom: 1.1rem;
}

.chapter-text:last-of-type {
    margin-bottom: 0;
}

.chapter-text.lead-text {
    font-size: 1.15rem;
    color: #FFFFFF;
    font-weight: 450;
    line-height: 1.75;
}

.chapter-milestones {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.milestone-badge {
    font-size: 0.82rem;
    font-weight: 600;
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.milestone-badge.highlight {
    color: var(--color-cyan-main);
    background: rgba(0, 196, 223, 0.08);
    border-color: rgba(0, 196, 223, 0.25);
}

.milestone-arrow {
    color: var(--color-orange-main);
    font-size: 0.9rem;
}

/* Solemn Promise Section */
.sobremi-promise-section {
    position: relative;
    z-index: 1;
    padding: 2rem 0 3rem 0;
}

.promise-card {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 4rem 3.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(11, 25, 44, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 50px rgba(0, 196, 223, 0.1);
    backdrop-filter: blur(20px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.promise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-cyan-main), var(--color-orange-main), transparent);
}

.promise-quote-icon {
    font-family: var(--font-serif-title);
    font-size: 4.5rem;
    line-height: 1;
    color: var(--color-orange-main);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.promise-text {
    font-family: var(--font-serif-title);
    font-size: clamp(1.25rem, 2.3vw, 1.65rem);
    line-height: 1.65;
    color: #FFFFFF;
    font-weight: 500;
    font-style: italic;
    max-width: 820px;
    margin: 0 auto 2.2rem auto;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.promise-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 2.8rem;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #FFFFFF;
}

.author-role {
    font-size: 0.88rem;
    color: var(--color-cyan-main);
    font-weight: 500;
}

.promise-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.promise-actions .btn-outline {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.promise-actions .btn-outline:hover {
    border-color: var(--color-cyan-main);
    color: var(--color-cyan-main);
    background: rgba(0, 196, 223, 0.08);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .narrative-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .narrative-visual {
        position: static;
        max-width: 520px;
        margin: 0 auto;
    }

    .art-photo {
        height: 420px;
    }

    .promise-card {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .sobremi-manifesto-section {
        padding: 4.5rem 0 3rem 0;
    }

    .manifesto-title {
        font-size: 1.85rem;
    }

    .manifesto-colegiatura {
        font-size: 0.82rem;
        flex-direction: column;
        text-align: center;
        border-radius: 16px;
        padding: 0.75rem 1rem;
    }

    .narrative-chapter {
        padding: 1.6rem 1.4rem;
    }

    .chapter-heading {
        font-size: 1.25rem;
    }

    .chapter-text {
        font-size: 0.98rem;
    }

    .promise-card {
        padding: 2.5rem 1.25rem;
        border-radius: 20px;
    }

    .promise-text {
        font-size: 1.15rem;
    }

    .promise-actions {
        flex-direction: column;
        width: 100%;
    }

    .promise-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   SOBRE MÍ - MANCHA CIAN Y FOTO A LA DERECHA
   ========================================================================== */
.about-section-styled {
    position: relative;
    overflow: hidden;
    padding: 7rem 0 6rem 0;
    background-color: var(--color-bg-white);
}

/* Mancha de fondo azul cian orgánica */
.about-cyan-blob {
    position: absolute;
    top: 25%;
    right: -8%;
    width: 620px;
    height: 620px;
    border-radius: 43% 57% 65% 35% / 40% 45% 55% 60%;
    background: radial-gradient(circle, rgba(0, 196, 223, 0.18) 0%, rgba(0, 180, 216, 0.08) 55%, transparent 75%);
    filter: blur(55px);
    pointer-events: none;
    z-index: 1;
    animation: blobMorph 16s ease-in-out infinite alternate;
}

.about-cyan-blob-secondary {
    position: absolute;
    bottom: 5%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 55% 45% 40% 60% / 50% 60% 40% 50%;
    background: radial-gradient(circle, rgba(0, 196, 223, 0.12) 0%, rgba(255, 138, 0, 0.06) 60%, transparent 75%);
    filter: blur(65px);
    pointer-events: none;
    z-index: 1;
}

@keyframes blobMorph {
    0% {
        border-radius: 43% 57% 65% 35% / 40% 45% 55% 60%;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        border-radius: 58% 42% 48% 52% / 52% 40% 60% 48%;
        transform: translate(-30px, 20px) scale(1.05) rotate(15deg);
    }
    100% {
        border-radius: 45% 55% 38% 62% / 60% 52% 48% 40%;
        transform: translate(20px, -20px) scale(0.96) rotate(-10deg);
    }
}

/* Grid de texto a la izquierda y foto a la derecha */
.about-split-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.about-text-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.about-text-column .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.about-text-column .about-badge-pill {
    margin: 0.5rem 0 1.8rem 0;
}

.about-text-column .about-paragraph {
    text-align: left;
}

.about-text-column .about-action {
    margin-top: 1rem;
}

/* Marco elegante de la foto a la derecha */
.about-photo-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.about-photo-action {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
}

.about-photo-action .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 138, 0, 0.35);
}

.about-photo-backdrop {
    position: absolute;
    inset: -14px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(0, 196, 223, 0.35) 0%, rgba(255, 138, 0, 0.15) 60%, rgba(11, 25, 44, 0.08) 100%);
    filter: blur(16px);
    z-index: 1;
}

.about-photo-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    border-radius: 26px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 20px 45px rgba(11, 25, 44, 0.12), 0 4px 16px rgba(0, 196, 223, 0.15);
    border: 3px solid #FFFFFF;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.about-photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 55px rgba(11, 25, 44, 0.16), 0 8px 24px rgba(0, 196, 223, 0.25);
}

.about-photo-img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: 48% 60%;
    transform: scale(1.35) translateY(-5%);
    display: block;
}

/* Badge flotante sobre la foto */
.about-photo-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    padding: 0.85rem 1.15rem;
    background: rgba(11, 25, 44, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.about-photo-badge .badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-cyan-main);
    box-shadow: 0 0 10px var(--color-cyan-main);
    flex-shrink: 0;
}

.about-photo-badge .badge-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #FFFFFF;
    display: block;
    line-height: 1.2;
}

.about-photo-badge .badge-sub {
    font-size: 0.75rem;
    color: var(--color-cyan-main);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: block;
}

/* Responsividad */
@media (max-width: 1024px) {
    .about-split-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .about-photo-wrapper {
        order: -1;
        max-width: 440px;
        margin: 0 auto;
    }

    .about-photo-img {
        height: 440px;
    }

    .about-text-column,
    .about-text-column .section-title,
    .about-text-column .about-paragraph {
        text-align: center;
        align-items: center;
    }

    .about-cyan-blob {
        width: 450px;
        height: 450px;
        top: 10%;
        right: -20%;
    }
}

/* Banner Rectangular Azul Cian Suave de Ancho Completo para la Frase */
.about-quote-banner {
    position: relative;
    z-index: 3;
    width: 100%;
    background: linear-gradient(135deg, rgba(0, 196, 223, 0.12) 0%, rgba(224, 248, 252, 0.85) 50%, rgba(0, 180, 216, 0.14) 100%);
    border: 1px solid rgba(0, 196, 223, 0.35);
    padding: 2.5rem 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 196, 223, 0.08);
    margin-bottom: 3.5rem;
    overflow: hidden;
    text-align: center;
    backdrop-filter: blur(8px);
}

.about-quote-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 196, 223, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.about-quote-banner .banner-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-cyan-dark);
    background: #FFFFFF;
    border: 1px solid rgba(0, 196, 223, 0.25);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 6px rgba(11, 25, 44, 0.04);
}

.about-quote-banner .banner-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.4vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: var(--color-primary-navy);
    margin: 0 auto;
    max-width: 1100px;
}

.about-quote-banner .banner-badge {
    margin-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary-navy);
    background: #FFFFFF;
    border: 1px solid rgba(0, 196, 223, 0.25);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(11, 25, 44, 0.04);
}

.about-quote-banner .banner-badge svg {
    color: var(--color-orange-main);
}

@media (max-width: 768px) {
    .about-quote-banner {
        padding: 2.2rem 1.6rem;
        margin-bottom: 3rem;
    }
    .about-quote-banner .banner-title {
        font-size: 1.35rem;
        line-height: 1.45;
    }
    .about-section-styled {
        padding: 4.5rem 0 4rem 0;
    }
    .about-split-grid {
        gap: 2.8rem;
    }
    .about-photo-wrapper {
        margin-bottom: 2rem;
    }
    .about-text-column .about-paragraph {
        margin-bottom: 1.5rem;
        text-align: left;
    }
}

/* ==========================================================================
   LEGAL PAGES STYLES (Aviso Legal, Política de Privacidad, Cookies)
   ========================================================================== */
.legal-page-header {
    background: linear-gradient(135deg, var(--color-primary-navy) 0%, #152A45 100%);
    color: #FFFFFF;
    padding: 7rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.legal-page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-cyan-main), var(--color-orange-main));
}

.legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.legal-breadcrumb a {
    color: var(--color-cyan-main);
    text-decoration: none;
    transition: var(--transition-fast);
}

.legal-breadcrumb a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.legal-page-header .legal-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--color-orange-main);
    background: rgba(255, 138, 0, 0.12);
    border: 1px solid rgba(255, 138, 0, 0.35);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.legal-page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.legal-page-header .legal-subtitle {
    font-size: 1.15rem;
    color: #E2E8F0;
    max-width: 780px;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.legal-page-header .legal-updated {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    font-weight: 600;
}

.legal-content-section {
    padding: 4rem 0 6rem 0;
    background: var(--color-bg-light);
}

.legal-article {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 3.5rem;
    color: var(--color-text-main);
    line-height: 1.85;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.legal-intro-box {
    background: #F1F5F9;
    border-left: 4px solid var(--color-cyan-main);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-primary-navy);
    margin-bottom: 2.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.legal-article h2 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-primary-navy);
    margin-top: 2.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.legal-article h2::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 1.25rem;
    background: var(--color-orange-main);
    border-radius: 3px;
    flex-shrink: 0;
}

.legal-article h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-navy);
    margin-top: 1.75rem;
    margin-bottom: 0.85rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.legal-article p {
    font-size: 0.98rem;
    color: #334155;
    margin-bottom: 1.25rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.legal-article strong {
    color: var(--color-primary-navy);
    font-weight: 700;
}

.legal-article a {
    color: var(--color-cyan-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition-fast);
    word-break: break-word;
    overflow-wrap: break-word;
}

.legal-article a:hover {
    color: var(--color-orange-main);
}

.legal-article ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.legal-article ul li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.75rem;
    font-size: 0.98rem;
    color: #334155;
    word-break: break-word;
    overflow-wrap: break-word;
}

.legal-article ul li::before {
    content: "•";
    color: var(--color-cyan-main);
    font-size: 1.4rem;
    position: absolute;
    left: 0.35rem;
    top: -0.2rem;
    font-weight: bold;
}

.legal-data-card {
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin: 1.5rem 0 2rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.legal-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    width: 100%;
}

.legal-data-item {
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.legal-data-item .data-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.legal-data-item .data-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary-navy);
    margin-bottom: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
}

.legal-info-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-left: 4px solid var(--color-orange-main);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.5rem;
    margin: 1.75rem 0;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}

.legal-info-box h4 {
    color: var(--color-primary-navy);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    word-break: break-word;
}

.legal-info-box p:last-child,
.legal-info-box ul:last-child {
    margin-bottom: 0;
}

/* Legal table */
.legal-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin: 1.75rem 0 2rem 0;
    background: #FFFFFF;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 580px;
    font-size: 0.9rem;
}

.legal-table th {
    background: #F1F5F9;
    color: var(--color-primary-navy);
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: left;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid var(--color-border);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    color: #334155;
    vertical-align: top;
    line-height: 1.6;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:hover td {
    background: #F8FAFC;
}

.legal-pill {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--color-cyan-light);
    color: var(--color-cyan-dark);
    font-family: monospace;
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
}

.legal-links-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.legal-links-footer a {
    color: var(--color-primary-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition-fast);
}

.legal-links-footer a:hover {
    color: var(--color-orange-main);
}

@media (max-width: 768px) {
    .legal-page-header {
        padding: 5.5rem 0 2.5rem 0;
    }
    .legal-page-header h1 {
        font-size: 1.85rem;
        line-height: 1.25;
    }
    .legal-page-header .legal-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    .legal-content-section {
        padding: 2.5rem 0 4rem 0;
    }
    .legal-article {
        padding: 1.5rem 1rem;
        border-radius: var(--radius-md);
        box-shadow: none;
    }
    .legal-article h2 {
        font-size: 1.25rem;
        line-height: 1.35;
    }
    .legal-data-card {
        padding: 1.25rem 0.85rem;
        margin: 1.25rem 0 1.5rem 0;
    }
    .legal-data-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .legal-data-item .data-val {
        font-size: 0.95rem;
        line-height: 1.45;
    }
    .legal-intro-box {
        padding: 1rem 1rem;
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }
    .legal-info-box {
        padding: 1rem 1rem;
    }
    .legal-links-footer {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }
}

/* ==========================================================================
   COOKIE BANNER & PREFERENCES MODAL (RGPD / AEPD Compliant)
   Floating bottom-left, responsive PC, Tablet & Mobile
   ========================================================================== */
.cookie-banner-wrap {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    max-width: 440px;
    width: calc(100% - 3rem);
    background: #FFFFFF;
    border: 1px solid rgba(11, 25, 44, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 45px rgba(11, 25, 44, 0.22), 0 4px 12px rgba(11, 25, 44, 0.08);
    z-index: 9990;
    padding: 1.6rem 1.6rem 1.4rem 1.6rem;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px) scale(0.97);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.35s;
    font-family: var(--font-body);
}

.cookie-banner-wrap.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.cookie-banner-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.cookie-banner-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--color-cyan-light);
    color: var(--color-cyan-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-banner-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary-navy);
    line-height: 1.25;
    margin: 0;
}

.cookie-banner-body {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #475569;
    margin-bottom: 1.25rem;
}

.cookie-banner-body p {
    margin: 0 0 0.5rem 0;
}

.cookie-banner-body a {
    color: var(--color-cyan-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition-fast);
}

.cookie-banner-body a:hover {
    color: var(--color-orange-main);
}

/* Actions grid: Aceptar, Denegar, Configurar */
.cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.cookie-btn {
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.65rem 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    border: none;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.cookie-btn-primary {
    background: var(--color-primary-navy);
    color: #FFFFFF;
    border: 1px solid var(--color-primary-navy);
}

.cookie-btn-primary:hover {
    background: var(--color-orange-main);
    border-color: var(--color-orange-main);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(255, 138, 0, 0.35);
}

.cookie-btn-secondary {
    background: #F1F5F9;
    color: var(--color-primary-navy);
    border: 1px solid #CBD5E1;
}

.cookie-btn-secondary:hover {
    background: #E2E8F0;
    color: var(--color-primary-navy);
}

.cookie-btn-config {
    grid-column: 1 / -1;
    background: transparent;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    padding: 0.45rem 0.5rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    border: none;
}

.cookie-btn-config:hover {
    color: var(--color-primary-navy);
}

/* Floating Trigger Button (para que el usuario siempre pueda reabrir y gestionar) */
.cookie-trigger-btn {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    color: var(--color-primary-navy);
    border: 1px solid rgba(11, 25, 44, 0.15);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(11, 25, 44, 0.15);
    z-index: 9980;
    transition: var(--transition-fast);
    opacity: 0.85;
}

.cookie-trigger-btn:hover {
    opacity: 1;
    transform: scale(1.08);
    background: var(--color-primary-navy);
    color: #FFFFFF;
    border-color: var(--color-primary-navy);
}

/* Modal de Configuración Granular */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 25, 44, 0.7);
    backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.cookie-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-dialog {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.2rem 2.2rem 2rem 2.2rem;
    position: relative;
    box-sizing: border-box;
    transform: scale(0.96);
    transition: var(--transition-smooth);
}

.cookie-modal-overlay.active .cookie-modal-dialog {
    transform: scale(1);
}

.cookie-modal-close {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    background: #F1F5F9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.cookie-modal-close:hover {
    background: #E2E8F0;
    color: var(--color-primary-navy);
}

.cookie-modal-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary-navy);
    margin: 0 0 0.5rem 0;
}

.cookie-modal-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0 0 1.5rem 0;
}

/* Categorías de Cookies con Switches */
.cookie-category-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    margin-bottom: 0.85rem;
    background: #FAF8F5;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.45rem;
}

.cookie-category-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary-navy);
}

.cookie-category-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    background: #E2E8F0;
    color: #475569;
}

.cookie-category-desc {
    font-size: 0.82rem;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch RGPD */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #CBD5E1;
    transition: 0.25s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #FFFFFF;
    transition: 0.25s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cookie-switch input:checked + .cookie-slider {
    background-color: var(--color-cyan-main);
}

.cookie-switch input:focus + .cookie-slider {
    box-shadow: 0 0 1px var(--color-cyan-main);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(20px);
}

.cookie-switch input:disabled + .cookie-slider {
    background-color: #0B192C;
    opacity: 0.75;
    cursor: not-allowed;
}

/* Botones footer del modal */
.cookie-modal-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}

/* Responsive Tablet & Mobile */
@media (max-width: 768px) {
    .cookie-banner-wrap {
        bottom: 1rem;
        left: 1rem;
        width: calc(100% - 2rem);
        max-width: 100%;
        padding: 1.25rem 1.15rem 1.15rem 1.15rem;
        border-radius: var(--radius-md);
    }

    .cookie-banner-title {
        font-size: 1.05rem;
    }

    .cookie-banner-body {
        font-size: 0.84rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .cookie-banner-actions {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .cookie-btn {
        padding: 0.65rem 0.5rem;
        font-size: 0.82rem;
    }

    .cookie-trigger-btn {
        bottom: 1rem;
        left: 1rem;
        width: 40px;
        height: 40px;
    }

    .cookie-modal-dialog {
        padding: 1.5rem 1.25rem;
        max-height: 92vh;
    }

    .cookie-modal-title {
        font-size: 1.2rem;
    }

    .cookie-modal-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-modal-actions .cookie-btn {
        width: 100%;
    }
}

/* Language Selector - Luxury Minimalist Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
    z-index: 1050;
}

.lang-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.lang-dropdown-btn:hover,
.lang-dropdown.open .lang-dropdown-btn {
    color: var(--color-cyan-main);
}

.lang-chevron {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: transform 0.25s ease;
    opacity: 0.85;
}

.lang-dropdown.open .lang-chevron {
    transform: rotate(180deg);
    color: var(--color-cyan-main);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 140px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1060;
}

/* Área puente invisible que conecta el botón con el menú para no perder el cursor */
.lang-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
}

/* Abrir con clase .open o hover en desktop */
.lang-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

@media (min-width: 769px) {
    .lang-dropdown:hover .lang-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .lang-dropdown:hover .lang-chevron {
        transform: rotate(180deg);
        color: var(--color-cyan-main);
    }
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    color: #1E293B;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.lang-dropdown-item-content {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-dropdown-item:hover {
    background: rgba(0, 196, 223, 0.1);
    color: var(--color-primary-navy);
}

.lang-dropdown-item.active {
    background: rgba(0, 196, 223, 0.12);
    color: var(--color-navy-dark);
    font-weight: 700;
}

.lang-check-icon {
    width: 15px;
    height: 15px;
    stroke: var(--color-cyan-dark);
}

.header.scrolled .lang-dropdown-btn {
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 640px) {
    .lang-dropdown-btn {
        padding: 5px 8px;
        font-size: 0.85rem;
        gap: 5px;
    }

    .lang-dropdown-btn .lang-name {
        display: inline-block;
        font-size: 0.84rem;
    }

    .lang-dropdown-menu {
        min-width: 130px;
    }
}

.lang-name {
    display: inline-block;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   404 ERROR PAGE STYLES
   -------------------------------------------------------------------------- */
.error-404-section {
    min-height: 82vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 7rem 0 5rem 0;
    overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(0, 196, 223, 0.08) 0%, transparent 45%),
                radial-gradient(circle at 85% 80%, rgba(255, 138, 0, 0.07) 0%, transparent 45%),
                var(--color-bg-light);
}

.error-404-wrapper {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.error-404-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.1rem;
    background: rgba(0, 196, 223, 0.12);
    border: 1px solid rgba(0, 196, 223, 0.35);
    border-radius: var(--radius-full);
    color: var(--color-cyan-dark);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.error-404-badge-wrap .badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-orange-main);
    box-shadow: 0 0 10px var(--color-orange-main);
}

.error-404-code {
    font-family: var(--font-heading);
    font-size: clamp(6.5rem, 16vw, 11rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--color-primary-navy) 20%, var(--color-navy-light) 60%, var(--color-cyan-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(11, 25, 44, 0.08);
}

.error-404-title {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--color-primary-navy);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.error-404-desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 620px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.65;
}

.error-404-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.error-404-links-grid {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-md);
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.error-404-links-grid h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary-navy);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}

.error-link-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--color-bg-light);
    border: 1px solid transparent;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.error-link-card:hover {
    background: #FFFFFF;
    border-color: var(--color-cyan-main);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 196, 223, 0.15);
}

.error-link-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 196, 223, 0.12);
    color: var(--color-cyan-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.error-link-card:hover .error-link-icon {
    background: var(--color-orange-main);
    color: #FFFFFF;
}

.error-link-info strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    color: var(--color-primary-navy);
    margin-bottom: 0.2rem;
}

.error-link-info span {
    display: block;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.35;
}

@media (max-width: 640px) {
    .error-404-section {
        padding: 5.5rem 0 3.5rem 0;
    }
    .error-404-links-grid {
        padding: 1.5rem 1.25rem;
    }
    .error-links-container {
        grid-template-columns: 1fr;
    }
    .error-404-actions {
        flex-direction: column;
        width: 100%;
    }
    .error-404-actions .btn {
        width: 100%;
    }
}



