/* ============================================
   WEBUY DIGITAL STUDIO — Diseño Web Uruguay
   Stylesheet v3.0
   ============================================ */

:root {
    --color-primary: #0F4C81;
    --color-primary-dark: #0A3A64;
    --color-primary-light: #1A6BB5;
    --color-accent: #FF6B35;
    --color-accent-dark: #E55A28;
    --color-accent-light: #FF8A5C;
    --color-success: #22c55e;

    --bg-dark: #0A0A0A;
    --bg-dark-2: #111111;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;

    --text-dark: #1A1A2E;
    --text-body: #4A4A5A;
    --text-muted: #7A7A8A;
    --text-light: #FFFFFF;
    --text-light-muted: #B0B0C0;

    --border-light: #E8E8EE;
    --border-dark: #2A2A3A;

    --font-heading: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --section-padding: 120px 0;
    --container-width: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* === ACCESIBILIDAD === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    [data-animate] {
        opacity: 1;
        transform: none;
    }
}

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* === TIPOGRAFÍA === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

/* === BOTONES === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-body);
    border-color: transparent;
    padding: 14px 20px;
}

.btn-ghost:hover {
    color: var(--color-primary);
}

.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-block { width: 100%; }

/* === SECCIÓN COMÚN === */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 72px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-accent);
    margin-bottom: 18px;
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.08);
    border-radius: 100px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section-desc {
    font-size: 17px;
    color: var(--text-body);
    line-height: 1.8;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 24px rgba(0, 0, 0, 0.05);
    padding: 12px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
}

.logo-icon {
    font-size: 22px;
    color: var(--color-accent);
    transition: var(--transition);
    display: none;
}

.logo-icon-svg {
    flex-shrink: 0;
    transition: var(--transition);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-light);
    transition: var(--transition);
    white-space: nowrap;
}

.navbar.scrolled .logo-text { color: var(--text-dark); }
.logo-accent { color: var(--color-accent); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    padding: 8px 14px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.navbar.scrolled .nav-link { color: #3A3A4A; }
.nav-link:hover { color: var(--text-light); }
.navbar.scrolled .nav-link:hover { color: var(--color-primary); }

.cta-nav {
    background: var(--color-accent);
    color: white;
    padding: 10px 22px;
    margin-left: 8px;
    border-radius: 10px;
}

.cta-nav:hover {
    background: var(--color-accent-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.25);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .nav-toggle span { background: var(--text-dark); }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-gradient {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(15, 76, 129, 0.25) 0%, rgba(255, 107, 53, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-accent-light);
    padding: 8px 20px;
    border: 1px solid rgba(255, 107, 53, 0.25);
    border-radius: 100px;
    margin-bottom: 32px;
    letter-spacing: 0.04em;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-highlight { color: var(--color-accent); }

.hero-subtitle {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--text-light-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions .btn-outline {
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.25);
}

.hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon { font-size: 20px; color: var(--color-accent); }

.stat-text {
    font-size: 14px;
    color: var(--text-light-muted);
    font-weight: 500;
}

/* ============================================
   SERVICIOS
   ============================================ */
.services { padding: var(--section-padding); background: var(--bg-white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 36px 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 12px 48px rgba(15, 76, 129, 0.08);
    transform: translateY(-6px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 76, 129, 0.06);
    color: var(--color-primary);
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(15, 76, 129, 0.1);
}

.service-title { font-size: 20px; margin-bottom: 12px; }

.service-desc {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 14px;
    color: var(--text-body);
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 600;
}

.service-card-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-color: transparent;
    display: flex;
    align-items: center;
}

.service-card-cta:hover {
    border-color: transparent;
    box-shadow: 0 8px 40px rgba(15, 76, 129, 0.25);
}

.service-card-cta .service-title { color: white; }
.service-card-cta .service-desc { color: rgba(255, 255, 255, 0.8); }
.service-card-cta .btn { margin-top: 8px; }

/* ============================================
   PLANES
   ============================================ */
.plans { padding: var(--section-padding); background: var(--bg-light); }

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.plan-card:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
}

.plan-featured {
    border: 2px solid var(--color-accent);
    box-shadow: 0 8px 40px rgba(255, 107, 53, 0.12);
}

.plan-featured:hover {
    box-shadow: 0 12px 48px rgba(255, 107, 53, 0.18);
}

.plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-accent);
    color: white;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
}

.plan-header { padding: 36px 32px 24px; }

.plan-label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
}

.plan-name { font-size: 26px; margin: 8px 0 4px; }
.plan-for { font-size: 15px; color: var(--text-muted); }
.plan-body { padding: 0 32px 24px; }

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.5;
}

.check {
    color: var(--color-accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-ideal {
    font-size: 13px;
    color: var(--text-muted);
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--border-radius-sm);
    line-height: 1.6;
}

.plan-footer { padding: 0 32px 32px; }

.plans-note {
    text-align: center;
    margin-top: 40px;
    font-size: 15px;
    color: var(--text-muted);
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio { padding: var(--section-padding); background: var(--bg-white); }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-card:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

.portfolio-preview {
    padding: 24px 24px 0;
}

/* Browser Mockups */
.portfolio-mockup {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(0, 0, 0, 0.08);
}

.mockup-bar {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.mockup-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
}

.mockup-bar span:first-child { background: #FF5F57; }
.mockup-bar span:nth-child(2) { background: #FFBD2E; }
.mockup-bar span:last-child { background: #28CA41; }

/* Portfolio card info */
.portfolio-info { padding: 24px; }

.portfolio-type {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 8px;
}

.portfolio-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.portfolio-desc {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.portfolio-tags span {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    background: var(--bg-light);
    color: var(--text-muted);
    border-radius: 100px;
    border: 1px solid var(--border-light);
}

.portfolio-disclaimer {
    text-align: center;
    margin-top: 36px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================
   PROCESO
   ============================================ */
.process { padding: var(--section-padding); background: var(--bg-dark); }
.process .section-tag { background: rgba(255, 107, 53, 0.12); }
.process .section-title { color: var(--text-light); }
.process .section-desc { color: var(--text-light-muted); }

.process-timeline {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 39px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-primary) 100%);
    opacity: 0.3;
    z-index: 0;
}

.process-step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 32px 0;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--color-accent);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: inset 0 0 0 80px rgba(255, 107, 53, 0.08);
}

.step-content { padding-top: 16px; }
.step-title { font-size: 22px; color: var(--text-light); margin-bottom: 12px; }
.step-desc { font-size: 16px; color: var(--text-light-muted); line-height: 1.8; }
.process-cta { text-align: center; margin-top: 56px; }

/* ============================================
   NOSOTROS
   ============================================ */
.about { padding: var(--section-padding); background: var(--bg-white); }

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.about-content .section-tag,
.about-content .section-title { text-align: left; }

.about-text {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value { display: flex; gap: 16px; align-items: flex-start; }
.value-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; color: var(--color-accent); }
.value strong { display: block; font-family: var(--font-heading); font-size: 16px; margin-bottom: 4px; }
.value p { font-size: 14px; color: var(--text-body); line-height: 1.6; }

.about-card {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
    border-radius: var(--border-radius-lg);
    padding: 48px 40px;
}

.about-card-inner { display: flex; flex-direction: column; gap: 36px; }

.about-metric { display: flex; flex-direction: column; gap: 4px; }
.metric-label { font-family: var(--font-heading); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent); }
.metric-value { font-family: var(--font-heading); font-size: 36px; font-weight: 800; color: var(--text-light); }
.metric-desc { font-size: 14px; color: var(--text-light-muted); }

/* ============================================
   FAQ
   ============================================ */
.faq { padding: var(--section-padding); background: var(--bg-light); }

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover { border-color: var(--color-primary); }

.faq-item[open] {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(15, 76, 129, 0.06);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    list-style: none;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--color-primary); }

.faq-icon {
    font-size: 22px;
    color: var(--color-accent);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-answer { padding: 0 28px 24px; }
.faq-answer p { font-size: 15px; color: var(--text-body); line-height: 1.8; }

/* ============================================
   CONTACTO
   ============================================ */
.contact { padding: var(--section-padding); background: var(--bg-white); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-tag,
.contact-info .section-title { text-align: left; }

.contact-desc { font-size: 17px; color: var(--text-body); line-height: 1.8; margin-bottom: 36px; }

.contact-methods { display: flex; flex-direction: column; gap: 16px; }

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-method:hover { border-color: var(--color-primary); background: white; }

.contact-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: white;
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
}

.contact-method-whatsapp { background: #25D366; }

.contact-method strong { display: block; font-family: var(--font-heading); font-size: 15px; }
.contact-method div span:last-child { font-size: 13px; color: var(--text-muted); }

/* Form */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

/* Honeypot - invisible */
.form-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.required { color: var(--color-accent); }

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input.error,
.form-group textarea.error { border-color: #ef4444; }

.form-error {
    font-size: 12px;
    color: #ef4444;
    min-height: 0;
}

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

.form-note { text-align: center; font-size: 13px; color: var(--text-muted); }
.form-note a { color: var(--color-primary); text-decoration: underline; }
.form-note a:hover { color: var(--color-accent); }

.form-success-message,
.form-error-message {
    text-align: center;
    padding: 14px 20px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
    animation: fadeInUp 0.3s ease-out;
}

.form-success-message {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-error-message {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--bg-dark); padding: 64px 0 32px; }

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-dark);
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: var(--text-light); }
.footer-desc { font-size: 14px; color: var(--text-light-muted); line-height: 1.7; max-width: 300px; }

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links ul { display: flex; flex-direction: column; gap: 12px; }

.footer-links li,
.footer-links a {
    font-size: 14px;
    color: var(--text-light-muted);
    transition: var(--transition);
}

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

.footer-bottom { padding-top: 32px; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-dark);
    padding: 20px 24px;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-content p {
    font-size: 14px;
    color: var(--text-light-muted);
    line-height: 1.6;
}

.cookie-content a {
    color: var(--color-accent-light);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-actions .btn-ghost { color: var(--text-light-muted); }
.cookie-actions .btn-ghost:hover { color: white; }

/* ============================================
   LEGAL PAGES (shared styles)
   ============================================ */
.legal-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.legal-page .container { max-width: 800px; }

.legal-page h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 12px;
}

.legal-page .legal-updated {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.legal-page h2 {
    font-size: 22px;
    margin: 40px 0 16px;
    color: var(--color-primary);
}

.legal-page p {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-page ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-page ul li {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-page a {
    color: var(--color-primary);
    text-decoration: underline;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 32px;
}

.legal-back:hover { color: var(--color-accent-dark); }

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

[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .plans-grid .plan-card:last-child { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid .portfolio-card:last-child { grid-column: 1 / -1; max-width: 500px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    :root { --section-padding: 72px 0; }

    /* Nav mobile */
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        height: 100dvh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 120px 32px 32px;
        gap: 16px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }
    .nav-menu.open { right: 0; }

    .nav-menu .nav-link {
        color: rgba(255, 255, 255, 0.78);
        padding: 16px 16px;
        font-size: 16px;
        width: 100%;
    }
    .nav-menu .nav-link:hover { color: white; background: rgba(255, 255, 255, 0.05); }
    .nav-menu .cta-nav { margin-left: 0; margin-top: 24px; text-align: center; }

    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    /* Sections */
    .services-grid { grid-template-columns: 1fr; }
    .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .plans-grid .plan-card:last-child { max-width: none; }
    .portfolio-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .portfolio-grid .portfolio-card:last-child { max-width: none; }

    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-title { font-size: clamp(32px, 8vw, 48px); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .process-timeline::before { display: none; }
    .process-step { flex-direction: column; gap: 16px; align-items: center; text-align: center; }
    .step-number { width: 64px; height: 64px; font-size: 18px; }

    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 28px 20px; }
    .section-header { margin-bottom: 48px; }

    /* Cookie banner mobile */
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-actions { justify-content: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .service-card { padding: 28px 24px; }
    .plan-header, .plan-body, .plan-footer { padding-left: 24px; padding-right: 24px; }
    .logo-text { font-size: 15px; }
    .logo-icon { font-size: 18px; }
}

/* ============================================
   V2.2 — ADDITIONS ONLY
   ============================================ */

/* Plan price display */
.plan-price {
    font-size: 15px;
    color: var(--text-muted);
    margin: 12px 0 4px;
}

.plan-price strong {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--text-dark);
    font-weight: 700;
}

.plan-featured .plan-price strong {
    color: var(--color-accent);
}

/* Services included section */
.services-included {
    margin-top: 56px;
    padding: 48px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
}

.services-included-title {
    font-family: var(--font-heading);
    font-size: 22px;
    text-align: center;
    margin-bottom: 8px;
}

.services-included-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
}

.services-included-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.included-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.included-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-accent);
}

.included-item strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.included-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Portfolio demo links */
.portfolio-link {
    display: block;
    position: relative;
}

.portfolio-view-label {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--color-primary);
    color: white;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 100px;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    white-space: nowrap;
}

.portfolio-link:hover .portfolio-view-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.portfolio-demo-btn {
    margin-top: 16px;
    font-size: 13px;
    padding: 8px 20px;
}

/* V2.2 responsive additions */
@media (max-width: 900px) {
    .services-included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-included {
        padding: 32px 20px;
    }
    .services-included-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   V2.6 — TIPOS DE SITIOS WEB
   ============================================ */
.site-types {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.site-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.site-type-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.site-type-card:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

.site-type-featured {
    border-color: var(--color-accent);
    box-shadow: 0 4px 24px rgba(255, 107, 53, 0.1);
}

.site-type-featured:hover {
    box-shadow: 0 12px 48px rgba(255, 107, 53, 0.18);
}

.site-type-preview {
    padding: 28px 28px 0;
}

.site-type-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.site-type-label {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 6px;
}

.site-type-ideal {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.site-type-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.site-type-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.5;
}

.site-type-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-accent);
}

.site-type-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.site-type-price {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.site-types-note {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-body);
}

.site-types-disclaimer {
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* Responsive — Tipos de sitios */
@media (max-width: 900px) {
    .site-types-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

/* ============================================
   v3.0 — Upgrade estratégico
   ============================================ */
.hero-filter {
    font-size: 14px;
    color: var(--text-light-muted);
    opacity: 0.7;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.about-trust {
    font-style: italic;
    opacity: 0.85;
}

.plans-info-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 640px;
    margin: 40px auto 0;
    padding: 20px 24px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
}

.plans-info-icon {
    flex-shrink: 0;
    color: var(--color-primary-light);
    margin-top: 2px;
}

.plans-info-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.plans-info-text p + p {
    margin-top: 6px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        box-shadow: 0 2px 12px rgba(37, 211, 102, 0.25);
    }
    .whatsapp-float svg {
        width: 20px;
        height: 20px;
    }
}

.site-type-client {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
    margin-bottom: 12px;
}

/* Plan price emphasis */
.plan-price strong {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Mockup refinement */
.portfolio-mockup {
    transition: var(--transition);
}

.site-type-card:hover .portfolio-mockup {
    transform: translateY(-4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 8px 20px rgba(0, 0, 0, 0.08), 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* Process step refinement */
.process-step {
    transition: var(--transition);
}

.process-step:hover .step-number {
    border-color: rgba(255, 107, 53, 0.4);
}

/* FAQ item open transition */
.faq-answer {
    animation: faqOpen 0.3s ease-out;
}

@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   v3.5 — iframe preview system
   ============================================ */
.iframe-preview-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f8f9fa;
}

.iframe-preview-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    height: 400%;
    transform: scale(0.25);
    transform-origin: 0 0;
    border: none;
    pointer-events: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.iframe-preview-wrap iframe::-webkit-scrollbar {
    display: none;
}

/* Price display: $U principal + USD secondary */
.price-main {
    display: block;
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.plan-featured .price-main {
    color: var(--color-accent);
}

/* Launch offer — v6.4 */
.original-price {
    display: none;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-top: 8px;
    line-height: 1.2;
}

.launch-price {
    display: none;
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-top: 2px;
}

.launch-note {
    display: none;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.3;
}

/* During launch offer: reorder price elements */
.launch-active .plan-price {
    display: flex;
    flex-direction: column;
}

.launch-active .price-main {
    display: none;
}

.launch-active .original-price {
    display: block;
    order: 1;
    margin-top: 0;
}

.launch-active .launch-price {
    display: block;
    order: 2;
}

.launch-active .launch-note {
    display: block;
    order: 3;
}

/* After launch offer expires or non-UY markets: hide offer elements */
.launch-expired .original-price,
.launch-expired .launch-price,
.launch-expired .launch-note {
    display: none;
}

.launch-hidden .original-price,
.launch-hidden .launch-price,
.launch-hidden .launch-note {
    display: none !important;
}

/* ============================================
   HERO LAUNCH BANNER
   ============================================ */
.hero-launch-banner {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: white;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    border-radius: 24px;
    letter-spacing: 0.01em;
    animation: launchPulse 3s ease-in-out infinite;
}

@keyframes launchPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(255, 107, 53, 0); }
}

/* ============================================
   PROCESS LAUNCH NOTE
   ============================================ */
.process-launch-note {
    margin-top: 12px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
}

.site-types-grid-extra {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 32px;
}

@media (max-width: 1024px) {
    .site-types-grid-extra { grid-template-columns: repeat(2, 1fr); }
    .site-types-grid-extra .site-type-card:last-child { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .site-types-grid-extra { grid-template-columns: 1fr; max-width: 480px; margin: 32px auto 0; }
    .site-types-grid-extra .site-type-card:last-child { max-width: none; }
    .hero-launch-banner { font-size: 12px; padding: 6px 16px; }
}

/* ============================================
   LANGUAGE & CURRENCY SELECTORS
   Subtle, integrated with nav style
   ============================================ */

.locale-switcher,
.currency-switcher {
    position: relative;
    z-index: 1001;
}

.locale-switcher {
    margin-left: 8px;
}

.currency-switcher {
    margin-left: 0;
}

/* Separator between lang and currency */
.currency-switcher::before {
    content: '·';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.navbar.scrolled .currency-switcher::before {
    color: var(--border-light);
}

/* ── Buttons — styled like nav links ── */
.locale-btn,
.currency-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    background: none;
    border: none;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.locale-btn:hover,
.currency-btn:hover {
    color: white;
}

.navbar.scrolled .locale-btn,
.navbar.scrolled .currency-btn {
    color: var(--text-muted);
}

.navbar.scrolled .locale-btn:hover,
.navbar.scrolled .currency-btn:hover {
    color: var(--color-primary);
}

.locale-icon,
.currency-icon {
    opacity: 0.7;
    flex-shrink: 0;
}

.locale-btn:hover .locale-icon,
.currency-btn:hover .currency-icon {
    opacity: 1;
}

.navbar.scrolled .locale-icon,
.navbar.scrolled .currency-icon {
    opacity: 0.5;
}

.navbar.scrolled .locale-btn:hover .locale-icon,
.navbar.scrolled .currency-btn:hover .currency-icon {
    opacity: 0.8;
}



.locale-chevron {
    opacity: 0.4;
    transition: transform 0.2s ease;
    margin-left: -2px;
}

.locale-switcher.open .locale-chevron,
.currency-switcher.open .locale-chevron {
    transform: rotate(180deg);
}

/* ── Dropdowns ── */
.locale-dropdown,
.currency-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 150px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.15s ease;
    overflow: hidden;
    z-index: 9999;
}

.locale-switcher.open .locale-dropdown,
.currency-switcher.open .currency-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ── Dropdown options ── */
.locale-option,
.currency-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-body);
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    text-align: left;
    text-decoration: none;
}

.locale-option:hover,
.currency-option:hover {
    background: var(--bg-light);
    color: var(--color-primary);
}

.locale-option.active,
.currency-option.active {
    color: var(--color-primary);
    font-weight: 600;
}

/* ── Mobile selectors ── */
.locale-switcher-mobile-wrap {
    display: none;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.locale-switcher-mobile-wrap::before {
    content: attr(data-title);
    display: block;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    padding: 0 16px 6px;
}

.locale-mobile-option {
    display: block;
    padding: 9px 16px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    background: none;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    text-align: left;
    text-decoration: none;
}

.locale-mobile-option:hover {
    color: white;
    background: rgba(255, 255, 255, 0.04);
}

.locale-mobile-option.active {
    color: var(--color-accent);
    font-weight: 600;
}

.mobile-selector-divider {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    padding: 12px 16px 6px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .locale-switcher,
    .currency-switcher {
        display: none;
    }
    .locale-switcher-mobile-wrap {
        display: block;
    }
}




/* ============================================
   INTL-TEL-INPUT INTEGRATION
   ============================================ */
.iti {
    width: 100%;
}

.iti__input {
    width: 100%;
}

.iti__country-list {
    max-height: 220px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-light);
    font-family: var(--font-body);
    font-size: 14px;
    z-index: 9999;
}

.iti__country-list .iti__country {
    padding: 8px 12px;
}

.iti__country-list .iti__country:hover {
    background: var(--bg-light);
}

.iti__selected-dial-code {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-body);
}

.iti__selected-country {
    padding-left: 12px;
    padding-right: 8px;
}

/* Ensure the phone field matches form styling */
#telefono {
    padding-left: 90px !important;
}

@media (max-width: 480px) {
    .iti__country-list {
        max-width: calc(100vw - 32px);
    }
}

/* ============================================
   RESPONSIVE AUDIT FIX — Full Pass
   ============================================ */

/* ── Global: prevent any horizontal overflow ── */
html, body {
    max-width: 100vw;
}

/* ── Contact section: stack at 1024px, refine at mobile ── */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-info .section-tag,
    .contact-info .section-title {
        text-align: center;
    }
    .contact-desc {
        text-align: center;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .contact-methods {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .contact-method {
        flex: 1;
        min-width: 240px;
    }
}

@media (max-width: 768px) {
    .contact-grid { gap: 28px; }
    .contact-methods {
        flex-direction: column;
    }
    .contact-method {
        min-width: 0;
    }
    .contact-form-wrapper {
        padding: 24px 16px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 20px 14px;
    }
    .contact-method {
        padding: 16px;
        gap: 12px;
    }
    .contact-method-icon {
        width: 40px;
        height: 40px;
    }
    .contact-method strong {
        font-size: 14px;
    }
}

/* ── intl-tel-input: mobile fixes ── */
@media (max-width: 768px) {
    .iti {
        width: 100%;
    }
    #telefono {
        padding-left: 82px !important;
        font-size: 16px; /* prevents iOS zoom on focus */
    }
    .iti__selected-country {
        padding-left: 10px;
        padding-right: 6px;
    }
    .iti__country-list {
        max-height: 200px;
        max-width: calc(100vw - 40px);
        left: 0 !important;
    }
}

@media (max-width: 375px) {
    #telefono {
        padding-left: 76px !important;
    }
}

/* ── Hero: small screen refinements ── */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(28px, 7.5vw, 40px);
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .hero-badge {
        font-size: 11px;
        padding: 8px 14px;
    }
    .hero-filter {
        font-size: 14px;
    }
    .hero-stats .stat-value {
        font-size: 20px;
    }
    .hero-stats .stat-label {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 26px;
    }
    .hero-subtitle {
        font-size: 14px;
    }
}

/* ── Plans and pricing: small screen ── */
@media (max-width: 480px) {
    .plan-card {
        border-radius: var(--border-radius);
    }
    .plan-header, .plan-body, .plan-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    .price-main {
        font-size: 24px;
    }
    .launch-price {
        font-size: 26px;
    }
}

/* ── Demo cards: ensure no overflow ── */
@media (max-width: 900px) {
    .site-types-grid,
    .site-types-grid-extra {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .site-types-grid-extra {
        margin-top: 24px;
    }
    .site-types-grid-extra .site-type-card:last-child {
        grid-column: auto;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .site-type-body {
        padding: 20px 16px;
    }
    .site-type-label {
        font-size: 17px;
    }
    .site-type-ideal {
        font-size: 13px;
    }
    .site-type-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* ── Footer: small screen ── */
@media (max-width: 480px) {
    .footer {
        padding: 48px 0 32px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    .footer-links {
        text-align: center;
    }
    .footer-links h4 {
        margin-bottom: 8px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ── Section headers: mobile spacing ── */
@media (max-width: 480px) {
    .section-header {
        margin-bottom: 36px;
    }
    .section-title {
        font-size: clamp(24px, 6vw, 32px);
    }
    .section-desc {
        font-size: 15px;
    }
}

/* ── Process steps: mobile ── */
@media (max-width: 480px) {
    .process-step {
        padding: 0 8px;
    }
    .step-content h3 {
        font-size: 17px;
    }
    .step-content p {
        font-size: 14px;
    }
}

/* ── FAQ: mobile ── */
@media (max-width: 480px) {
    .faq-question {
        padding: 16px;
        font-size: 15px;
    }
    .faq-answer {
        padding: 0 16px 16px;
        font-size: 14px;
    }
}

/* ── Services grid: tablet-specific ── */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        gap: 20px;
    }
    .service-card {
        padding: 24px 20px;
    }
}

/* ── Navbar: prevent logo + selectors overflow ── */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
    }
    .logo-text {
        font-size: 14px;
    }
}

/* ── Launch banner: very small screens ── */
@media (max-width: 360px) {
    .hero-launch-banner {
        font-size: 11px;
        padding: 5px 12px;
    }
}

/* ── Maintenance plans grid ── */
@media (max-width: 768px) {
    #mantenimiento .plans-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* ── About section ── */
@media (max-width: 480px) {
    .about-stats {
        flex-direction: column;
        gap: 16px;
    }
    .about-stat {
        text-align: center;
    }
}

/* ── Cookie banner ── */
@media (max-width: 480px) {
    .cookie-banner {
        padding: 16px;
    }
    .cookie-text {
        font-size: 13px;
    }
    .cookie-actions {
        flex-direction: column;
        gap: 8px;
    }
    .cookie-actions button {
        width: 100%;
    }
}
