/* ============================================
   CORPORACION EMPRESARIAL SEYERO SA DE CV
   Estilo corporativo: Azul marino / Gris
   ============================================ */

/* --- Variables --- */
:root {
    --primary: #0a1f3f;
    --primary-light: #14325f;
    --primary-dark: #060f20;
    --accent: #1a6bc4;
    --accent-light: #2a8aef;
    --accent-dark: #0e4d8f;
    --gold: #c9a84c;
    --gold-light: #e0c36a;
    --gray-50: #f8f9fb;
    --gray-100: #f0f2f5;
    --gray-200: #e2e6eb;
    --gray-300: #c8cfd8;
    --gray-400: #9ba5b4;
    --gray-500: #6b7685;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- CSS Icons (sin dependencias externas) --- */
.icon-phone::before,
.icon-mail::before,
.icon-clock::before,
.icon-map::before,
.icon-check::before,
.icon-arrow::before,
.icon-user::before {
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    margin-right: 6px;
}
.icon-phone::before { content: "\260E"; }
.icon-mail::before { content: "\2709"; }
.icon-clock::before { content: "\23F0"; }
.icon-map::before { content: "\25CB"; }
.icon-check::before { content: "\2713"; }
.icon-arrow::before { content: "\2192"; }
.icon-user::before { content: "\1F464"; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--primary-dark);
    color: var(--gray-300);
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar a {
    color: var(--gray-300);
}

.top-bar a:hover {
    color: var(--gold-light);
}

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

.btn-cliente {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 14px;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 4px;
    color: var(--gold-light) !important;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all var(--transition);
}

.btn-cliente:hover {
    background: rgba(201, 168, 76, 0.25);
    border-color: var(--gold);
    color: var(--gold) !important;
}

/* ============================================
   HEADER
   ============================================ */
#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition);
    border-bottom: 1px solid transparent;
}

#header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--gray-200);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: opacity var(--transition);
}

.logo:hover .logo-img {
    opacity: 0.8;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity var(--transition);
}

.footer-logo-img:hover {
    opacity: 1;
}

/* Nav */
#nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

#nav a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: all var(--transition);
}

#nav a:hover {
    color: var(--primary);
    background: var(--gray-50);
}

#nav a.active {
    color: var(--accent);
    font-weight: 600;
}

#nav .nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    font-weight: 600;
    margin-left: 8px;
}

#nav .nav-cta:hover {
    background: var(--accent);
    color: var(--white);
}

#nav .nav-cliente {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 107, 196, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

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

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
}

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

/* ============================================
   HERO - PARALLAX
   ============================================ */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(10, 31, 63, 0.92) 0%, rgba(20, 50, 95, 0.85) 50%, rgba(26, 107, 196, 0.75) 100%);
    z-index: 1;
}

.hero-parallax {
    position: absolute;
    inset: -20%;
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
    will-change: transform;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 40px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 560px;
}

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

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.hero-stat p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Formas decorativas */
.hero-shapes {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 45%;
    height: 80%;
    opacity: 0.5;
}

.hero-shape {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    transform: rotate(15deg);
    background: rgba(26, 107, 196, 0.05);
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 25%;
    transform: rotate(-10deg);
    background: rgba(201, 168, 76, 0.04);
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 40%;
    transform: rotate(30deg);
    background: rgba(255, 255, 255, 0.02);
}

/* ============================================
   SECTION COMMON
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios {
    background: var(--gray-50);
}

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

.servicio-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.servicio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.servicio-card:hover::before {
    transform: scaleX(1);
}

.servicio-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 107, 196, 0.08), rgba(26, 107, 196, 0.04));
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.servicio-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.servicio-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.servicio-card .servicio-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap var(--transition);
}

.servicio-card:hover .servicio-link {
    gap: 10px;
}

/* ============================================
   NOSOTROS / ABOUT
   ============================================ */
.nosotros {
    background: var(--white);
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.nosotros-visual {
    position: relative;
}

.nosotros-image {
    width: 100%;
    aspect-ratio: 4/3;
    background-image: url('../img/about-team.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.nosotros-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 31, 63, 0.7) 0%, rgba(10, 31, 63, 0.1) 60%);
}

.nosotros-image-text {
    position: absolute;
    bottom: 32px;
    left: 32px;
    z-index: 2;
    color: var(--white);
}

.nosotros-image-text h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.nosotros-image-text p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.nosotros-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--gold);
    color: var(--primary-dark);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.nosotros-badge h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.nosotros-badge p {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nosotros-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.nosotros-text > p {
    color: var(--gray-500);
    font-size: 1.02rem;
    margin-bottom: 32px;
    line-height: 1.8;
}

.nosotros-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.nosotros-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.nosotros-feature-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 107, 196, 0.1);
    color: var(--accent);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 2px;
}

.nosotros-feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.nosotros-feature p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ============================================
   PARALLAX BREAK
   ============================================ */
.parallax-break {
    position: relative;
    padding: 100px 0;
    background-image: url('../img/parallax-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.parallax-break::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 31, 63, 0.88), rgba(26, 107, 196, 0.82));
}

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

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

.parallax-stat {
    padding: 20px;
}

.parallax-stat h3 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.parallax-stat h3 span {
    color: var(--gold-light);
}

.parallax-stat p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   PROCESO
   ============================================ */
.proceso {
    background: var(--white);
}

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

.proceso-grid::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    z-index: 0;
}

.proceso-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.proceso-num {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    transition: all var(--transition);
}

.proceso-step:hover .proceso-num {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: scale(1.1);
}

.proceso-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.proceso-step p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   PRE-FOOTER / CTA
   ============================================ */
.pre-footer {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    text-align: center;
}

.pre-footer-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.pre-footer-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
    background: var(--primary-dark);
    color: var(--gray-300);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.7;
}

#footer h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: var(--gray-400);
    transition: all var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.footer-contact li span:first-child {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a {
    color: var(--gray-400);
}

.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-map iframe {
    border-radius: var(--radius);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.82rem;
    color: var(--gray-500);
}

.footer-bottom a {
    color: var(--gray-400);
}

.footer-bottom a:hover {
    color: var(--gold-light);
}

/* ============================================
   CONTACTO PAGE
   ============================================ */
.page-hero {
    background:
        linear-gradient(135deg, rgba(10, 31, 63, 0.9), rgba(20, 50, 95, 0.85)),
        url('../img/contact-office.jpg') center / cover no-repeat;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
}

.contacto-section {
    padding: 80px 0;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.contacto-info {
    padding-top: 16px;
}

.contacto-info h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.contacto-info > p {
    color: var(--gray-500);
    margin-bottom: 36px;
    line-height: 1.7;
}

.contacto-dato {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contacto-dato-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 107, 196, 0.08);
    border-radius: var(--radius);
    font-size: 1.2rem;
}

.contacto-dato h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.contacto-dato p,
.contacto-dato a {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.contacto-dato a:hover {
    color: var(--accent);
}

.contacto-map {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Form */
.contacto-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group label .required {
    color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--gray-700);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 107, 196, 0.1);
}

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

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e53e3e;
    background: #fff5f5;
}

.form-error {
    font-size: 0.78rem;
    color: #e53e3e;
    margin-top: 4px;
    display: none;
}

.form-submit {
    margin-top: 8px;
}

.form-submit .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
}

/* Flash messages */
.flash-message {
    padding: 16px 24px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 500;
}

.flash-success {
    background: #f0fff4;
    color: #22543d;
    border: 1px solid #c6f6d5;
}

.flash-error {
    background: #fff5f5;
    color: #742a2a;
    border: 1px solid #fed7d7;
}

/* ============================================
   AVISO DE PRIVACIDAD
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

.legal-content h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.legal-content .legal-date {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content ul {
    padding-left: 24px;
    list-style: disc;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proceso-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .proceso-grid::before {
        display: none;
    }

    .parallax-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

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

    .hamburger {
        display: flex;
    }

    #nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 999;
    }

    #nav.open {
        right: 0;
    }

    #nav a {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius);
    }

    #nav .nav-cta {
        text-align: center;
        margin-left: 0;
        margin-top: 12px;
    }

    #nav .nav-cliente {
        display: flex;
        align-items: center;
        gap: 6px;
        text-align: center;
        justify-content: center;
        margin-top: 8px;
        padding: 12px 16px;
        background: rgba(10, 31, 63, 0.06);
        border: 1px solid rgba(201, 168, 76, 0.3);
        color: var(--primary);
        font-weight: 600;
        font-size: 0.9rem;
    }

    #nav .nav-cliente:hover {
        background: var(--primary);
        color: var(--gold-light);
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-stat {
        flex: 1;
        min-width: 100px;
    }

    .hero-shapes {
        display: none;
    }

    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nosotros-badge {
        top: auto;
        bottom: -16px;
        right: 16px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .proceso-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .parallax-stats {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .contacto-form {
        padding: 24px;
    }

    .parallax-stats {
        grid-template-columns: 1fr;
    }
}
