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

:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --cream-50: #fefdf8;
    --cream-100: #fdf9f0;
    --cream-200: #f5f0e1;
    --cream-300: #e8e0cc;
    --dark: #0f1a14;
    --dark-light: #1a2e22;
    --text-primary: #0f1a14;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--cream-50);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Background shapes */
.bg-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--emerald-500);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--emerald-400);
    bottom: 20%;
    left: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--emerald-600);
    top: 50%;
    right: 10%;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: var(--emerald-300);
    bottom: 10%;
    right: 30%;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
}

header.scrolled {
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(5, 150, 105, 0.1);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 1001;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: var(--emerald-600);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    color: var(--white);
    letter-spacing: -0.5px;
    transition: transform 0.3s var(--ease-spring);
}

.logo:hover .logo-mark {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.nav-list a:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.btn-nav {
    background: var(--emerald-600) !important;
    color: var(--white) !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    transition: all 0.25s ease !important;
}

.btn-nav:hover {
    background: var(--emerald-700) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.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);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-block {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.gradient-1 {
    width: 70%;
    height: 70%;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-400));
    top: -20%;
    right: -10%;
    opacity: 0.9;
}

.gradient-2 {
    width: 50%;
    height: 50%;
    background: linear-gradient(135deg, var(--emerald-400), var(--emerald-200));
    bottom: -10%;
    left: -5%;
    opacity: 0.6;
}

.gradient-3 {
    width: 30%;
    height: 30%;
    background: linear-gradient(135deg, var(--cream-200), var(--cream-100));
    top: 30%;
    left: 20%;
    opacity: 0.5;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.geo-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

.geo-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 15%;
    border-color: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite reverse;
}

.geo-square {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    top: 25%;
    left: 8%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 32px;
    animation: fadeUp 0.8s var(--ease-out) both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald-300);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(64px, 12vw, 120px);
    font-weight: 900;
    line-height: 0.95;
    color: var(--white);
    letter-spacing: -3px;
    margin-bottom: 24px;
    animation: fadeUp 0.8s var(--ease-out) 0.1s both;
}

.text-accent {
    color: var(--cream-100);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.8);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
    animation: fadeUp 0.8s var(--ease-out) 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--white);
    color: var(--emerald-700);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 16px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    animation: fadeUp 0.8s var(--ease-out) 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--white);
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    align-self: stretch;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

/* Section common */
.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--emerald-600);
    margin-bottom: 16px;
}

.label-line {
    width: 32px;
    height: 2px;
    background: var(--emerald-500);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 24px;
}

/* Servicios */
.servicios {
    padding: 120px 0 120px;
    position: relative;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.servicio-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    border: 1px solid var(--cream-200);
}

.servicio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(5, 150, 105, 0.12);
    border-color: var(--emerald-200);
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-500), var(--emerald-300));
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.servicio-card:hover .card-accent {
    opacity: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--emerald-50);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    margin-bottom: 24px;
    transition: all 0.3s var(--ease-spring);
}

.servicio-card:hover .card-icon {
    background: var(--emerald-600);
    color: var(--white);
    transform: scale(1.05);
}

.servicio-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.servicio-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

.servicios-pattern {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.pattern-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--emerald-200) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.5;
}

.p-shape {
    position: absolute;
    border-radius: 50%;
}

.p-s1 {
    width: 60px;
    height: 60px;
    background: var(--emerald-100);
    bottom: 10px;
    left: 10%;
    animation: float 5s ease-in-out infinite;
}

.p-s2 {
    width: 40px;
    height: 40px;
    background: var(--emerald-200);
    bottom: 30px;
    right: 20%;
    animation: float 4s ease-in-out infinite reverse;
}

.p-s3 {
    width: 24px;
    height: 24px;
    background: var(--emerald-300);
    bottom: 5px;
    left: 40%;
    animation: float 6s ease-in-out infinite;
}

/* Nosotros */
.nosotros {
    padding: 120px 0;
    position: relative;
}

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

.nosotros-visual {
    position: relative;
}

.visual-frame {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
}

.visual-img {
    width: 100%;
    aspect-ratio: 6/7;
    overflow: hidden;
    border-radius: 32px;
}

.visual-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.visual-frame:hover .visual-img img {
    transform: scale(1.03);
}

.visual-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--emerald-100);
    border-radius: 24px;
    z-index: -1;
}

.visual-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.vb-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--emerald-600);
    line-height: 1;
}

.vb-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.nosotros-floating-card {
    position: absolute;
    top: 40px;
    right: -30px;
    background: var(--emerald-600);
    border-radius: 20px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
    box-shadow: 0 12px 40px rgba(5, 150, 105, 0.3);
    animation: float 5s ease-in-out infinite;
}

.fc-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fc-title {
    display: block;
    font-weight: 700;
    font-size: 15px;
}

.fc-sub {
    display: block;
    font-size: 13px;
    opacity: 0.7;
    margin-top: 2px;
}

.nosotros-content .section-title {
    margin-bottom: 20px;
}

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

.nosotros-text strong {
    color: var(--text-primary);
}

.nosotros-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 32px 0;
}

.nf-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.nf-check {
    width: 24px;
    height: 24px;
    background: var(--emerald-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* Horario */
.horario {
    padding: 120px 0;
}

.horario-card {
    background: var(--white);
    border-radius: 32px;
    padding: 64px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--cream-200);
}

.horario-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.hd-circle {
    position: absolute;
    border-radius: 50%;
}

.hd-c1 {
    width: 200px;
    height: 200px;
    background: var(--emerald-50);
    top: -60px;
    right: -40px;
}

.hd-c2 {
    width: 120px;
    height: 120px;
    background: var(--emerald-100);
    bottom: -30px;
    right: 40px;
}

.hd-line {
    position: absolute;
    top: 40px;
    right: 80px;
    width: 80px;
    height: 80px;
    border: 2px solid var(--emerald-100);
    border-radius: 16px;
    transform: rotate(45deg);
}

.horario-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.horario-list {
    margin: 32px 0;
}

.hl-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-200);
}

.hl-row:last-child {
    border-bottom: none;
}

.hl-day {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

.hl-time {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hl-closed .hl-day {
    color: var(--text-muted);
}

.hl-closed-text {
    color: var(--emerald-600) !important;
    font-weight: 600;
}

.horario-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
}

.horario-note a {
    color: var(--emerald-600);
    text-decoration: none;
    font-weight: 600;
}

.horario-note a:hover {
    text-decoration: underline;
}

/* Contacto */
.contacto {
    padding: 120px 0;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contacto-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contacto-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ci-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ci-icon {
    width: 56px;
    height: 56px;
    background: var(--emerald-50);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    flex-shrink: 0;
}

.ci-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.ci-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.ci-link {
    text-decoration: none;
    transition: color 0.2s ease;
}

.ci-link:hover {
    color: var(--emerald-600);
}

.contacto-form-wrap {
    background: var(--white);
    border-radius: 32px;
    padding: 48px;
    border: 1px solid var(--cream-200);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.form-sub {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--cream-300);
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--cream-50);
    transition: all 0.25s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

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

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
    animation: fadeUp 0.5s var(--ease-out);
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--emerald-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    margin: 0 auto 20px;
}

.success-icon svg {
    width: 36px;
    height: 36px;
}

.form-success p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--emerald-400);
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes spin {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

@keyframes scrollLine {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .nosotros-grid {
        gap: 48px;
    }

    .contacto-grid {
        gap: 48px;
    }

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

    .footer-top > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        inset: 0;
        background: rgba(254, 253, 248, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s var(--ease-out);
    }

    .nav.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 8px;
    }

    .nav-list a {
        font-size: 24px;
        padding: 12px 24px;
    }

    .hero-title {
        letter-spacing: -2px;
    }

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

    .stat-divider {
        width: 40px;
        height: 1px;
        align-self: center;
    }

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

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

    .nosotros-floating-card {
        right: 0;
        top: auto;
        bottom: -20px;
    }

    .nosotros-features {
        grid-template-columns: 1fr;
    }

    .horario-card {
        padding: 40px 24px;
    }

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

    .contacto-form-wrap {
        padding: 32px 24px;
    }

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

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

    .geo-square {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .servicio-card {
        padding: 28px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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