/* Italínea Casa Incanto — estático Hostinger */
:root {
  --radius: 0.875rem;
  --background: oklch(0.985 0.006 70);
  --foreground: oklch(0.28 0.06 255);
  --card: oklch(1 0 0);
  --primary: oklch(0.38 0.13 260);
  --primary-foreground: oklch(0.99 0.005 70);
  --secondary: oklch(0.95 0.018 60);
  --muted-foreground: oklch(0.52 0.03 255);
  --accent: oklch(0.78 0.11 45);
  --accent-foreground: oklch(0.28 0.06 255);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.9 0.012 70);
  --input: oklch(0.9 0.012 70);
  --blue-cta: #003c8f;
  --blue-cta-hover-bg: #f3d7b6;
  --font-display: "Quicksand", sans-serif;
  --font-sans: "Mulish", sans-serif;
  --max-w: 72rem;
}

*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html, body { margin: 0; overflow-x: hidden; width: 100%; max-width: 100vw; }
body { background: var(--background); color: var(--foreground); font-family: var(--font-sans); line-height: 1.5; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); letter-spacing: -0.01em; margin: 0; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: 1.25rem; }
.tagline { font-family: var(--font-display); font-weight: 500; font-style: italic; }

.header { position: fixed; top: 0; z-index: 50; width: 100%; transition: all 0.3s; border-bottom: 1px solid transparent; background: transparent; }
.header.is-scrolled { border-bottom-color: rgba(0,0,0,0.05); background: rgba(255,255,255,0.8); backdrop-filter: blur(12px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.header-inner { display: flex; height: 5rem; align-items: center; justify-content: space-between; }
.logo-wrap { position: relative; display: inline-block; width: 140px; }
.logo-wrap img { width: 140px; height: auto; object-fit: contain; transition: opacity 0.3s; }
.logo-wrap .logo-blue { position: absolute; inset: 0; opacity: 0; }
.header.is-scrolled .logo-wrap .logo-white { opacity: 0; }
.header.is-scrolled .logo-wrap .logo-blue { opacity: 1; }
.nav-links { display: none; align-items: center; gap: 2rem; font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.9); }
.header.is-scrolled .nav-links { color: rgba(0,60,143,0.85); }
.nav-links a:hover { color: var(--accent); }
@media (min-width: 768px) { .nav-links { display: flex; } }

.cta-btn { display: inline-flex; align-items: center; gap: 0.625rem; border-radius: 9999px; background: var(--blue-cta); font-weight: 700; color: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); transition: all 0.5s cubic-bezier(0.22,1,0.36,1); padding: 0.875rem 1.75rem; font-size: 1rem; }
.cta-btn:active { transform: scale(0.97); }
.cta-btn:hover { transform: translateY(-3px); background: var(--blue-cta-hover-bg); color: var(--blue-cta); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.cta-btn.sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.cta-btn.w-full { width: 100%; justify-content: center; }
.cta-btn .cta-icon { display: inline-flex; height: 1.75rem; width: 1.75rem; align-items: center; justify-content: center; border-radius: 9999px; background: #fff; color: var(--blue-cta); transition: all 0.5s; }
.cta-btn:hover .cta-icon { transform: scale(1.1); background: var(--blue-cta); color: var(--blue-cta-hover-bg); }
.cta-btn .cta-icon svg { width: 16px; height: 16px; transition: transform 0.55s; }
.cta-btn:hover .cta-icon svg { transform: translateY(-1px) rotate(45deg); }

.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(22,65,135,0.95), rgba(22,65,135,0.8), rgba(22,65,135,0.55)); }
.hero-content { position: relative; display: grid; align-items: center; gap: 2.5rem; padding: 7rem 1.25rem 5rem; }
@media (min-width: 768px) { .hero-content { padding-top: 9rem; padding-bottom: 7rem; } }
@media (min-width: 1024px) { .hero-content { grid-template-columns: 1.1fr minmax(0,420px); } }
.badge { display: inline-flex; width: fit-content; align-items: center; gap: 0.5rem; border-radius: 9999px; background: rgba(255,156,115,0.95); padding: 0.375rem 1rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-foreground); margin-bottom: 1.5rem; }
.hero h1 { max-width: 48rem; font-size: 2.25rem; font-weight: 700; line-height: 1.15; color: var(--primary-foreground); }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin-top: 1.5rem; max-width: 36rem; color: rgba(255,255,255,0.85); }
.hero .tagline { margin-top: 1rem; font-size: 1.5rem; color: var(--accent); }
@media (min-width: 768px) { .hero .tagline { font-size: 1.875rem; } }
.pills { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pill { border-radius: 9999px; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.1); padding: 0.375rem 1rem; font-size: 0.75rem; font-weight: 600; color: var(--primary-foreground); }

.cta-card { border-radius: 0.75rem; background: var(--card); padding: 1.5rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); outline: 1px solid rgba(0,0,0,0.05); }
.cta-card h2 { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
@media (min-width: 768px) { .cta-card { padding: 1.75rem; } .cta-card h2 { font-size: 1.5rem; } }
.cta-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.cta-card .cta-btn { margin-top: 1.25rem; }
.cta-card .shield { margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.375rem; font-size: 0.75rem; color: var(--muted-foreground); }

.section { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .section { padding: 7rem 1.5rem; } }
.section-label { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; color: var(--accent); }
.section-title { margin-top: 0.75rem; font-size: 1.875rem; font-weight: 700; color: var(--primary); }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-desc { margin-top: 1rem; color: var(--muted-foreground); }
.grid-2 { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.stats-grid { margin-top: 2rem; display: none; gap: 1rem; }
@media (min-width: 640px) { .stats-grid { display: grid; grid-template-columns: 1fr 1fr; } }
.stat-card { border-radius: 1rem; border-left: 4px solid var(--primary); background: var(--secondary); padding: 1.25rem; }
.stat-card strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--primary); display: block; }
.stat-card span { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); display: block; }
.stats-carousel { margin-top: 2rem; }
@media (min-width: 640px) { .stats-carousel { display: none; } }
.stats-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-inline: 1.5rem; scrollbar-width: none; }
.stats-track::-webkit-scrollbar { display: none; }
.stats-track .stat-card { flex: 0 0 72%; scroll-snap-align: center; }
.stats-dots { margin-top: 1rem; display: flex; justify-content: center; gap: 0.5rem; }
.stats-dots button { height: 0.5rem; border-radius: 9999px; background: var(--accent); width: 0.5rem; padding: 0; transition: all 0.3s; }
.stats-dots button.active { width: 1.25rem; background: var(--primary); }
.rounded-img { width: 100%; overflow: hidden; border-radius: 1.5rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.bg-secondary { background: var(--secondary); }
.bg-primary { background: var(--primary); color: var(--primary-foreground); }
.text-center { text-align: center; }
.max-w-2xl { max-width: 42rem; margin-inline: auto; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

.portfolio-track { margin-top: 3rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: 1.5rem; max-width: 100vw; scrollbar-width: none; }
.portfolio-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .portfolio-track { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; overflow: visible; padding: 0; max-width: none; } }
.portfolio-card { flex: 0 0 80%; scroll-snap-align: center; overflow: hidden; border-radius: 1rem; background: var(--card); outline: 1px solid var(--border); }
@media (min-width: 768px) { .portfolio-card { flex: none; } }
.portfolio-card img { height: 14rem; width: 100%; object-fit: cover; transition: transform 0.5s; }
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-card .body { padding: 1.5rem; }
.portfolio-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--primary); }
.portfolio-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

.steps-track { margin-top: 3rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: 1.5rem; max-width: 100vw; scrollbar-width: none; }
@media (min-width: 768px) { .steps-track { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; overflow: visible; padding: 0; max-width: none; } }
@media (min-width: 1024px) { .steps-track { grid-template-columns: repeat(4,1fr); } }
.step-card { flex: 0 0 80%; scroll-snap-align: center; border-radius: 1rem; background: rgba(255,255,255,0.05); padding: 1.5rem; outline: 1px solid rgba(255,255,255,0.1); }
.step-card .num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); }
.step-card svg { margin-top: 0.75rem; width: 2rem; height: 2rem; color: var(--accent); }
.step-card h3 { margin-top: 1rem; font-size: 1.125rem; font-weight: 700; }
.step-card p { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.75); }

.depo-track { margin-top: 3rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-inline: 13%; padding-bottom: 1rem; scrollbar-width: none; }
@media (min-width: 768px) { .depo-track { gap: 1.5rem; padding-inline: max(1.5rem,calc((100vw - 72rem)/2)); } }
.depo-item { flex: 0 0 72%; scroll-snap-align: center; }
@media (min-width: 768px) { .depo-item { flex: 0 0 calc((100% - 3rem)/3); } }
.depo-video-wrap { position: relative; aspect-ratio: 9/16; width: 100%; overflow: hidden; border-radius: 1.5rem; background: #000; }
.depo-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.depo-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(to top,rgba(0,0,0,0.4),transparent); }
.depo-play span { display: flex; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center; border-radius: 9999px; background: rgba(255,255,255,0.9); color: var(--primary); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); transition: transform 0.3s; }
.depo-video-wrap:hover .depo-play span { transform: scale(1.1); }
.depo-item .author { margin-top: 1rem; text-align: center; font-size: 0.875rem; font-weight: 700; color: var(--primary); }
.depo-item .caption { text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }

.diff-grid { margin-top: 3rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .diff-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .diff-grid { grid-template-columns: repeat(4,1fr); } }
.diff-card { border-radius: 1rem; background: var(--card); padding: 1.5rem; outline: 1px solid var(--border); }
.diff-card svg { width: 1.75rem; height: 1.75rem; color: var(--accent); }
.diff-card h3 { margin-top: 0.75rem; font-size: 1rem; font-weight: 700; color: var(--primary); }
.diff-card p { margin-top: 0.375rem; font-size: 0.875rem; color: var(--muted-foreground); }

.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; max-width: 48rem; margin-inline: auto; }
.faq-item { border-radius: 1rem; background: var(--card); outline: 1px solid var(--border); transition: box-shadow 0.3s; }
.faq-item.open { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.faq-trigger { display: flex; width: 100%; align-items: center; gap: 1rem; padding: 1.25rem; text-align: left; }
.faq-trigger svg:first-child { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: var(--primary); }
.faq-item.open .faq-trigger svg:first-child { color: var(--accent); }
.faq-trigger span { flex: 1; font-size: 0.875rem; font-weight: 700; }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s; }
.faq-item.open .faq-body { grid-template-rows: 1fr; }
.faq-body-inner { overflow: hidden; }
.faq-body-inner p { margin: 0; padding: 0 1.25rem 1.25rem; border-top: 1px solid var(--border); padding-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); }

.gaq-grid { margin-top: 3rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .gaq-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .gaq-grid { grid-template-columns: repeat(3,1fr); } }
.gaq-card { border-radius: 1rem; background: rgba(255,255,255,0.05); padding: 1.5rem; outline: 1px solid rgba(255,255,255,0.1); }
.gaq-card svg { width: 1.75rem; height: 1.75rem; color: var(--accent); }
.gaq-card h3 { margin-top: 0.75rem; font-size: 1rem; font-weight: 700; }
.gaq-card p { margin-top: 0.375rem; font-size: 0.875rem; color: rgba(255,255,255,0.75); }
.gaq-card a { margin-top: 0.75rem; display: inline-block; font-size: 0.875rem; font-weight: 600; color: var(--accent); }

.captura { position: relative; isolation: isolate; overflow: hidden; }
.captura-overlay { position: absolute; inset: 0; background: rgba(22,65,135,0.92); }
.captura-content { position: relative; max-width: 36rem; margin-inline: auto; padding: 5rem 1.25rem; text-align: center; }
.captura-content h2 { font-size: 1.875rem; font-weight: 700; color: var(--primary-foreground); }
.check-list { margin-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.check-list span { display: flex; align-items: center; gap: 0.5rem; }
.check-list svg { width: 1rem; height: 1rem; color: var(--accent); }

.footer { background: var(--primary); color: var(--primary-foreground); }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 1.25rem; max-width: var(--max-w); margin-inline: auto; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3,1fr); } }
.footer-grid p, .footer-grid li { font-size: 0.875rem; color: rgba(255,255,255,0.75); }
.footer-grid .logo-wrap img { height: 3rem; width: auto; }
.footer-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); }
.footer-grid ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.footer-grid button { color: inherit; font-size: inherit; padding: 0; }
.footer-grid button:hover { color: var(--accent); }
.social { margin-top: 1.25rem; display: flex; gap: 0.75rem; }
.social a { display: inline-flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 9999px; background: rgba(255,255,255,0.1); transition: background 0.2s; }
.social a:hover { background: var(--accent); color: var(--accent-foreground); }
.footer-copy { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem; text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.5); }

.wizard-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 1rem; background: rgba(22,65,135,0.7); backdrop-filter: blur(4px); }
.wizard-overlay.is-open { display: flex; }
@media (min-width: 640px) { .wizard-overlay { align-items: center; } }
.wizard-panel { position: relative; width: 100%; max-width: 42rem; margin-block: 1rem; border-radius: 1rem; background: var(--card); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.wizard-close { position: absolute; right: 1rem; top: 0.75rem; z-index: 10; display: inline-flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: 9999px; color: var(--muted-foreground); }
.wizard-close:hover { background: var(--secondary); color: var(--foreground); }
.wizard-progress { padding: 3rem 1.5rem 0; }
.wizard-progress-meta { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 600; color: var(--muted-foreground); }
.progress-bar { margin-top: 0.5rem; height: 0.5rem; width: 100%; overflow: hidden; border-radius: 9999px; background: var(--secondary); }
.progress-bar-fill { height: 100%; border-radius: 9999px; background: var(--accent); transition: width 0.3s; }
.wizard-body { padding: 1.5rem 1.5rem 2rem; }
.wizard-body h2 { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.wizard-question { margin-top: 0.75rem; font-size: 1rem; font-weight: 600; }
.wizard-hint { margin-top: 0.25rem; font-size: 0.75rem; color: var(--muted-foreground); }
.wizard-options { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .wizard-options { grid-template-columns: 1fr 1fr; } }
.wizard-option { display: flex; align-items: center; gap: 0.75rem; border-radius: 0.75rem; border: 2px solid var(--border); background: var(--background); padding: 1rem; text-align: left; font-size: 0.875rem; font-weight: 600; transition: all 0.2s; }
.wizard-option:hover { border-color: rgba(255,156,115,0.5); background: var(--secondary); }
.wizard-option.selected { border-color: var(--accent); background: rgba(255,156,115,0.1); color: var(--primary); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.wizard-option .opt-icon { display: inline-flex; height: 2.5rem; width: 2.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 0.5rem; background: var(--secondary); color: var(--primary); }
.wizard-option.selected .opt-icon { background: var(--accent); color: var(--accent-foreground); }
.wizard-fields { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.field label { display: block; margin-bottom: 0.375rem; font-size: 0.875rem; font-weight: 600; }
.field label .req { color: var(--accent); }
.field input { height: 2.75rem; width: 100%; border-radius: 0.5rem; border: 1px solid var(--input); background: var(--background); padding: 0 0.75rem; font-size: 0.875rem; outline: none; }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255,156,115,0.3); }
.wizard-error { margin-top: 1rem; font-size: 0.875rem; font-weight: 500; color: var(--destructive); }
.wizard-nav { margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.wizard-back { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; padding: 0.75rem 1.25rem; font-size: 0.875rem; font-weight: 600; color: var(--muted-foreground); }
.wizard-back:disabled { visibility: hidden; }
.wizard-next, .wizard-submit { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; padding: 0.875rem 1.75rem; font-size: 0.875rem; font-weight: 700; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.wizard-next { background: var(--primary); color: var(--primary-foreground); }
.wizard-submit { background: var(--accent); color: var(--accent-foreground); text-transform: uppercase; }
.hidden { display: none !important; }
