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

/* Android Chrome: elimina delay 300ms y el resaltado azul al tocar */
a, button, [role="button"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Garantiza tap targets mínimos de 48px (Android Material) */
.btn-primary, .btn-secondary, .nav-mobile a, .nav-hamburger {
  min-height: 48px;
}

:root {
  --bg-base:       #070B14;
  --bg-surface:    #0D1424;
  --bg-elevated:   #121D30;
  --border:        rgba(59,130,246,.22);
  --border-light:  rgba(255,255,255,.07);
  --accent:        #3B82F6;
  --accent-glow:   rgba(59,130,246,.35);
  --amber:         #F59E0B;
  --green:         #10B981;
  --text-primary:  #EFF3FF;
  --text-secondary:#8B9DC3;
  --text-muted:    #4A5878;
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --t:             .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

/* ─── Noise overlay ────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: .4;
}

/* ─── Container ────────────────────────────────────────────────── */
.container {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  position: relative; z-index: 1;
}

/* ─── Buttons ──────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 600; border: none; cursor: pointer;
  transition: var(--t); font-family: inherit;
}
.btn-primary:hover { background: #2563EB; transform: translateY(-1px); box-shadow: 0 0 24px var(--accent-glow); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  background: transparent; color: var(--text-secondary);
  font-size: 15px; font-weight: 500; border: 1px solid var(--border-light);
  cursor: pointer; transition: var(--t); font-family: inherit;
}
.btn-secondary:hover { border-color: rgba(255,255,255,.2); color: var(--text-primary); }

.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ─── Typography helpers ───────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #fff 30%, #93C5FD 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
  display: block;
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 100px;
  border: 1px solid var(--border); background: rgba(59,130,246,.08);
  color: #93C5FD; font-size: 12px; font-weight: 500;
  letter-spacing: .5px; text-transform: uppercase;
}
.badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 6px var(--accent);
}

/* ─── Section ──────────────────────────────────────────────────── */
section { padding: 96px 0; position: relative; }
.section-border { border-top: 1px solid var(--border-light); }

.section-header { margin-bottom: 52px; }
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 14px;
}
.section-header p { font-size: 17px; color: var(--text-secondary); max-width: 560px; line-height: 1.7; }

/* ─── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--bg-surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); overflow: hidden; transition: var(--t);
}
.card:hover { border-color: var(--border); transform: translateY(-3px); }
.card-body { padding: 32px; }

/* ─── NAV ──────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px; display: flex; align-items: center;
  background: rgba(7,11,20,.8); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-light);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 52px; width: auto; filter: brightness(1.15) contrast(1.1); }
.nav-logo-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #1D4ED8);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: #fff;
  box-shadow: 0 0 16px var(--accent-glow);
}
.nav-logo-text { font-size: 15px; font-weight: 700; letter-spacing: -.3px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  padding: 7px 13px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: var(--t);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); background: var(--border-light); }
.nav-links a.active { color: var(--accent); }
.nav-social { display: flex; gap: 8px; }
.nav-social a {
  width: 32px; height: 32px; border-radius: 7px; border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center; transition: var(--t);
}
.nav-social a:hover { border-color: var(--border); background: rgba(59,130,246,.08); }
.nav-social a svg { width: 14px; height: 14px; fill: var(--text-muted); transition: var(--t); }
.nav-social a:hover svg { fill: var(--accent); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-secondary); border-radius: 2px; }

/* ─── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* Android Chrome: evita salto por barra de dirección */
  display: flex; align-items: center; padding-top: 68px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.55) saturate(.7);
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(7,11,20,.2) 0%, rgba(7,11,20,.6) 55%, var(--bg-base) 100%);
}
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(59,130,246,.18) 0%, transparent 70%);
  pointer-events: none;
}
/* grid lines */
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(59,130,246,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(59,130,246,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 740px; padding: 80px 0; }
.hero-content h1 {
  font-size: clamp(36px, 5.5vw, 64px); font-weight: 800;
  line-height: 1.06; letter-spacing: -2px; margin: 20px 0 22px;
}
.hero-content .lead {
  font-size: 18px; color: var(--text-secondary); max-width: 520px; line-height: 1.7; margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stat-row { margin-top: 60px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero-stat-divider { width: 1px; height: 36px; background: var(--border-light); }
.stat-num { font-size: 28px; font-weight: 800; letter-spacing: -1px; }
.stat-num span { color: var(--accent); }
.stat-lbl { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ─── IMAGE + TEXT rows ────────────────────────────────────────── */
.img-text-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.img-text-row.reverse { direction: rtl; }
.img-text-row.reverse > * { direction: ltr; }
.img-text-row img {
  border-radius: var(--radius-lg); width: 100%; height: 100%;
  object-fit: cover;
  border: 1px solid var(--border-light);
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.img-text-row .text h2 {
  font-size: clamp(24px, 3vw, 36px); font-weight: 800;
  letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px;
}
.img-text-row .text p {
  font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px;
}
.img-text-row .text p:last-of-type { margin-bottom: 28px; }

/* ─── Feature grid ─────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.feature-card {
  background: var(--bg-surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 36px 30px; position: relative;
  overflow: hidden; transition: var(--t);
}
.feature-card:hover { border-color: var(--border); transform: translateY(-3px); }
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,.06) 0%, transparent 60%);
  opacity: 0; transition: var(--t);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(59,130,246,.04));
  border: 1px solid rgba(59,130,246,.25);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.3px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.feature-tag {
  display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 500;
  color: var(--accent); border: 1px solid rgba(59,130,246,.2); padding: 3px 10px;
  border-radius: 100px; background: rgba(59,130,246,.06);
}

/* ─── Stats bar ────────────────────────────────────────────────── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden;
}
.stats-bar-item {
  padding: 36px 28px; background: var(--bg-surface); text-align: center;
  border-right: 1px solid var(--border-light);
}
.stats-bar-item:last-child { border-right: none; }
.stats-bar-item .n { font-size: 40px; font-weight: 800; letter-spacing: -2px; color: var(--text-primary); }
.stats-bar-item .n span { color: var(--accent); }
.stats-bar-item .l { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ─── Testimonial ──────────────────────────────────────────────── */
.testi-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 26px; }
.star { width: 20px; height: 20px; color: var(--amber); }
.testi-quote {
  font-size: clamp(18px, 2.5vw, 24px); font-weight: 600;
  line-height: 1.5; letter-spacing: -.4px; margin-bottom: 32px;
}
.testi-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(255,255,255,.1);
  background: linear-gradient(135deg, var(--accent), #7C3AED);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-size: 15px; font-weight: 600; }
.author-role { font-size: 13px; color: var(--text-muted); }

/* ─── Gallery grid ─────────────────────────────────────────────── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 10px;
}
.gallery-item {
  border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--border-light); transition: var(--t); aspect-ratio: 9/16;
}
.gallery-item:hover { border-color: var(--border); transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ─── QR Section ───────────────────────────────────────────────── */
.qr-box {
  display: flex; align-items: center; gap: 48px;
  background: var(--bg-surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 48px; max-width: 680px; margin: 0 auto;
}
.qr-box img { width: 180px; height: 180px; border-radius: var(--radius-md); border: 1px solid var(--border-light); }
.qr-box h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.qr-box p { color: var(--text-secondary); font-size: 15px; margin-bottom: 20px; }

/* ─── Service rows (alternating) ───────────────────────────────── */
.service-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; padding: 64px 0;
  border-bottom: 1px solid var(--border-light);
}
.service-row:last-of-type { border-bottom: none; }
.service-row.reverse img { order: 2; }
.service-row img {
  border-radius: var(--radius-lg); width: 100%;
  border: 1px solid var(--border-light); box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.service-row .text h2 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.service-row .text p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; }

/* ─── Info Cards (Chipre) ──────────────────────────────────────── */
.info-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; }
.info-card {
  background: var(--bg-surface); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 32px;
}
.info-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.info-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.price-tag {
  display: inline-block; margin-top: 14px; padding: 5px 14px;
  border-radius: 100px; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25);
  color: var(--green); font-size: 13px; font-weight: 600;
}

/* ─── Benefits list ────────────────────────────────────────────── */
.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.benefit-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--text-secondary); line-height: 1.6;
}
.benefit-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-top: 9px; flex-shrink: 0;
}

/* ─── CTA Box ──────────────────────────────────────────────────── */
.cta-box {
  position: relative; background: linear-gradient(135deg, rgba(59,130,246,.1), rgba(29,78,216,.06));
  border: 1px solid rgba(59,130,246,.25); border-radius: var(--radius-lg);
  padding: 72px 60px; text-align: center; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(59,130,246,.2) 0%, transparent 70%);
}
.cta-box h2 { position: relative; font-size: clamp(26px, 4vw, 42px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 14px; }
.cta-box p { position: relative; font-size: 17px; color: var(--text-secondary); margin-bottom: 36px; }
.cta-actions { position: relative; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ─── Contact form ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 13px 16px; background: var(--bg-surface);
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  color: var(--text-primary); font-size: 15px; font-family: inherit; outline: none; transition: var(--t);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--border); background: var(--bg-elevated); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { min-height: 140px; resize: vertical; }
.contact-info-card { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 40px; }
.contact-info-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 28px; }
.contact-item { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.2);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; }
.contact-item-label { font-size: 12px; color: var(--text-muted); margin-bottom: 2px; }
.contact-item-value { font-size: 15px; font-weight: 500; }

/* ─── Newsletter inline ────────────────────────────────────────── */
.newsletter-row { display: flex; max-width: 440px; }
.newsletter-input {
  flex: 1; padding: 13px 16px; background: rgba(255,255,255,.05);
  border: 1px solid var(--border-light); border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--text-primary); font-size: 14px; font-family: inherit; outline: none;
}
.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-input:focus { border-color: var(--border); }
.newsletter-btn {
  padding: 13px 20px; background: var(--accent); color: #fff;
  border: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--t); font-family: inherit;
}
.newsletter-btn:hover { background: #2563EB; }

/* ─── FOOTER ───────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border-light); padding: 64px 0 36px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 52px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 14px 0 22px; max-width: 260px; }
.footer-social { display: flex; gap: 8px; }
.social-link {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center; transition: var(--t);
}
.social-link:hover { border-color: var(--border); background: rgba(59,130,246,.08); }
.social-link svg { width: 15px; height: 15px; fill: var(--text-muted); transition: var(--t); }
.social-link:hover svg { fill: var(--accent); }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--text-primary); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--text-muted); transition: var(--t); }
.footer-col ul li a:hover { color: var(--text-primary); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--text-muted); }
.footer-contact-item svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid var(--border-light); padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: var(--text-muted); transition: var(--t); }
.footer-bottom-links a:hover { color: var(--text-primary); }

/* ─── Scroll animation ─────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .18s; }
.fade-up:nth-child(4) { transition-delay: .26s; }

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .img-text-row, .service-row, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .img-text-row.reverse, .service-row.reverse { direction: ltr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stats-bar-item:nth-child(2) { border-right: none; }
  .gallery-grid { grid-template-columns: repeat(3,1fr); }
  .info-grid { grid-template-columns: 1fr; }
}
/* ── Mobile menu panel ───────────────────────────────── */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(7,11,20,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 24px 28px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  border: none;
  transition: var(--transition);
}
.nav-mobile a:hover, .nav-mobile a.active {
  background: var(--border-light);
  color: var(--text-primary);
}
.nav-mobile .mobile-cta {
  margin-top: 12px;
  padding: 13px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-sm);
}
.nav-mobile .mobile-cta:hover { background: #2563EB; }

/* Hamburger → X animation */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-hamburger span { transition: transform .2s ease, opacity .2s ease; }

/* ── Utility grid classes (desktop) ────────────────────── */
.ch-grid-2 { display: grid; grid-template-columns: 1fr 1fr; }
.ch-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.ch-gap-lg { gap: 60px; }
.ch-gap-sm { gap: 16px; }
.ch-price-row { display: flex; align-items: center; justify-content: space-between; }

@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .nav-social { display: none !important; }
  .nav-hamburger { display: flex !important; }
  section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .qr-box { flex-direction: column; text-align: center; padding: 36px 24px; }
  .cta-box { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-stat-row { gap: 20px; }
  .hero-stat-divider { display: none; }
  .stats-bar { grid-template-columns: 1fr 1fr; }

  /* ── Chipre & Inmobiliaria: colapso de columnas ── */
  .ch-grid-2 { grid-template-columns: 1fr !important; gap: 24px !important; }
  .ch-grid-3 { grid-template-columns: 1fr !important; gap: 12px !important; }
  .ch-gap-lg { gap: 24px !important; }

  /* Imagen de sección — altura controlada en móvil */
  .ch-grid-2 > div[style*="height:260px"],
  .ch-grid-2 > div[style*="height:380px"] { height: 220px !important; }

  /* Precio + botón: apilan verticalmente */
  .ch-price-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ch-price-row .btn-primary { width: 100%; text-align: center; justify-content: center; }

  /* Secciones internas de Chipre: padding reducido */
  [style*="padding:80px 0"] { padding: 48px 0 !important; }

  /* Galería inmobiliaria: 2 columnas en móvil */
  .ch-grid-3[style*="margin-bottom:48px"] { grid-template-columns: 1fr 1fr !important; }

  /* Precio contabilidad: texto no desborda */
  [style*="font-size:22px;font-weight:800"] { font-size: 18px !important; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .newsletter-row { flex-direction: column; gap: 8px; }
  .newsletter-input { border-right: 1px solid var(--border-light); border-radius: var(--radius-sm); }
  .newsletter-btn { border-radius: var(--radius-sm); }

  /* Galería: 1 columna en pantallas muy pequeñas */
  .ch-grid-3[style*="margin-bottom:48px"] { grid-template-columns: 1fr !important; }

  /* Info grid ¿Por qué Chipre? */
  .info-grid { grid-template-columns: 1fr !important; }
}
