:root {
  --ink: #0b1729;
  --ink-2: #142845;
  --paper: #f7f8fb;
  --white: #ffffff;
  --muted: #5e6a7c;
  --line: #dfe4ec;
  --coral: #ff4f46;
  --coral-dark: #df332d;
  --sky: #dceafe;
  --mint: #d9f5ec;
  --shadow: 0 24px 70px rgba(11, 23, 41, 0.13);
  --radius: 22px;
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Aptos, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--white); padding: 12px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 251, 0.92);
  border-bottom: 1px solid rgba(11, 23, 41, 0.08);
  backdrop-filter: blur(18px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -0.025em; }
.brand-mark { width: 39px; height: 43px; display: grid; place-items: center; color: var(--white); background: var(--coral); border-radius: 17px 17px 22px 22px; transform: rotate(45deg); box-shadow: 0 7px 18px rgba(255, 79, 70, .22); }
.brand-mark span { font-size: 11px; font-weight: 900; letter-spacing: -.03em; transform: rotate(-45deg); }
.brand-text { font-size: 17px; line-height: 1.08; }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 15px; font-weight: 700; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--coral-dark); }
.nav-cta, .button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--coral); color: var(--white); font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 10px 26px rgba(255, 79, 70, 0.24); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.nav-cta:hover, .button:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 15px 30px rgba(255, 79, 70, 0.28); }
.button.secondary { background: transparent; color: var(--ink); border: 1px solid rgba(11, 23, 41, 0.22); box-shadow: none; }
.button.secondary:hover { border-color: var(--ink); background: var(--white); }
.menu-button { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); }

.eyebrow { margin: 0 0 18px; color: var(--coral-dark); font-size: 13px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -0.035em; }
h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(2.65rem, 6vw, 5.5rem); }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { margin-bottom: 12px; font-size: 1.45rem; }
p { margin-top: 0; }
.lead { max-width: 670px; color: #dfe8f6; font-size: clamp(1.1rem, 2vw, 1.32rem); }
.section-lead { max-width: 690px; color: var(--muted); font-size: 1.12rem; }

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--ink);
  background-image: linear-gradient(90deg, rgba(7, 17, 31, .97) 0%, rgba(7, 17, 31, .89) 44%, rgba(7, 17, 31, .56) 76%, rgba(7, 17, 31, .7) 100%), url('/assets/hero-chalet.webp');
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(115deg, transparent 55%, rgba(255,255,255,.18) 55.2%, transparent 55.4%), radial-gradient(circle at 88% 25%, var(--coral) 0 3px, transparent 4px); background-size: 100% 100%, 36px 36px; }
.hero-grid { position: relative; min-height: 720px; padding: 96px 0 76px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr); align-items: center; gap: 58px; }
.hero-copy { position: relative; z-index: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .button.secondary { color: var(--white); border-color: rgba(255,255,255,.4); }
.hero .button.secondary:hover { color: var(--ink); }
.proof-row { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; color: #c6d3e5; font-size: 14px; font-weight: 700; }
.proof-row span { display: inline-flex; align-items: center; gap: 8px; }
.proof-row span::before { content: ""; width: 7px; height: 7px; border: 2px solid var(--coral); border-radius: 50%; }

.consult-card { position: relative; padding: 30px; background: var(--white); color: var(--ink); border-radius: 28px; box-shadow: var(--shadow); }
.consult-card::before { content: ""; position: absolute; width: 60px; height: 6px; top: 0; left: 30px; background: var(--coral); border-radius: 0 0 6px 6px; }
.consult-card h2 { font-size: 1.75rem; }
.consult-card > p { color: var(--muted); font-size: 15px; }
.contact-form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 800; }
.field input, .field select { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 13px; background: #fafbfc; color: var(--ink); padding: 0 14px; outline: none; }
.field input:focus, .field select:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,79,70,.12); }
.contact-form .button { width: 100%; margin-top: 4px; }
.privacy-note { margin: 2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }

.section { padding: 104px 0; }
.section.alt { background: var(--white); }
.section.dark { background: var(--ink); color: var(--white); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 42px; }
.section-head > div { max-width: 760px; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.process-step { position: relative; padding: 34px 30px 10px 0; }
.process-step:not(:last-child) { border-right: 1px solid var(--line); margin-right: 30px; }
.step-number { display: inline-grid; width: 42px; height: 42px; place-items: center; margin-bottom: 40px; border: 1px solid var(--ink); border-radius: 50%; font-weight: 850; }
.process-step p { color: var(--muted); }

.article-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.article-card { position: relative; min-height: 330px; overflow: hidden; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article-card:nth-child(1), .article-card:nth-child(4) { grid-column: span 7; }
.article-card:nth-child(2), .article-card:nth-child(3) { grid-column: span 5; }
.article-card:nth-child(1) { background: var(--sky); }
.article-card:nth-child(2) { background: var(--ink); color: var(--white); }
.article-card:nth-child(3) { background: var(--mint); }
.article-card:nth-child(4) { background: #ffe3df; }
.article-index { display: block; margin-bottom: 70px; font-size: 13px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; opacity: .72; }
.article-card p { max-width: 540px; opacity: .78; }
.article-arrow { position: absolute; right: 28px; bottom: 24px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 22px; }

.split { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.promise-panel { position: sticky; top: 110px; padding: 30px; border-radius: var(--radius); background: #172e50; }
.promise-panel p { color: #cfdaea; }
.promise-list { display: grid; gap: 22px; }
.promise-item { padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.16); }
.promise-item strong { display: block; margin-bottom: 5px; font-family: Georgia, serif; font-size: 1.25rem; }
.promise-item span { color: #cfdaea; }

.cta-band { position: relative; overflow: hidden; padding: 64px; background: var(--coral); color: var(--white); border-radius: 30px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 34px; }
.cta-band::after { content: ""; position: absolute; width: 250px; height: 250px; right: -120px; top: -120px; border: 45px solid rgba(255,255,255,.16); border-radius: 50%; }
.cta-band h2 { max-width: 680px; margin-bottom: 10px; }
.cta-band p { max-width: 650px; margin-bottom: 0; color: #fff2f0; }
.cta-band .button { position: relative; z-index: 2; background: var(--ink); box-shadow: none; }
.cta-band .button:hover { background: #1b355b; }

.site-footer { padding: 54px 0 110px; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.16); }
.footer-grid p { max-width: 620px; color: #b8c5d8; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: start; justify-content: flex-end; gap: 12px 24px; }
.footer-links a { color: #dce5f3; font-size: 14px; }

.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 45; min-height: 54px; display: inline-flex; align-items: center; gap: 10px; padding: 0 19px; border-radius: 999px; background: #173f35; color: var(--white); box-shadow: 0 14px 35px rgba(8,26,22,.3); font-weight: 850; text-decoration: none; transition: opacity .2s ease, transform .2s ease, background .2s ease; }
.floating-whatsapp:hover { background: #0e3128; }
.floating-whatsapp.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }

/* Article pages */
.article-hero { position: relative; overflow: hidden; padding: 95px 0 80px; background: var(--ink); color: var(--white); }
.article-hero::after { content: ""; position: absolute; width: 440px; height: 440px; right: -180px; bottom: -260px; border: 80px solid var(--coral); border-radius: 50%; opacity: .8; }
.article-hero .container { position: relative; z-index: 2; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 46px; color: #b8c5d8; font-size: 14px; }
.breadcrumbs a { color: inherit; }
.article-hero h1 { max-width: 900px; font-size: clamp(2.5rem, 5.5vw, 4.8rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px 30px; color: #c9d5e5; font-size: 14px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 60px; padding: 80px 0 110px; }
.article-body { min-width: 0; }
.article-body > p:first-of-type { font-size: 1.28rem; color: #33445c; }
.article-body h2 { margin: 58px 0 18px; font-size: clamp(1.8rem, 3vw, 2.55rem); }
.article-body h3 { margin: 34px 0 12px; }
.article-body p, .article-body li { color: #334057; }
.article-body ul, .article-body ol { padding-left: 23px; }
.article-body li { margin-bottom: 12px; }
.article-body .callout { margin: 40px 0; padding: 26px 28px; border-left: 5px solid var(--coral); border-radius: 0 16px 16px 0; background: #ffecea; }
.article-body .callout p:last-child { margin-bottom: 0; }
.article-body .checklist { margin: 34px 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.article-body .checklist li { position: relative; padding: 14px 16px 14px 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.article-body .checklist li::before { content: "✓"; position: absolute; left: 17px; top: 13px; color: var(--coral-dark); font-weight: 900; }
.source-note { margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.source-note a { color: var(--coral-dark); }
.article-sidebar { align-self: start; position: sticky; top: 104px; }
.sidebar-card { padding: 25px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 16px 45px rgba(11,23,41,.08); }
.sidebar-card h2 { font-size: 1.55rem; }
.sidebar-card p { color: var(--muted); font-size: 15px; }
.sidebar-card .button { width: 100%; }
.reading-nav { margin-top: 18px; padding: 24px; border-radius: 18px; background: #eaf0f8; }
.reading-nav strong { display: block; margin-bottom: 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.reading-nav a { display: block; margin-top: 10px; color: #2c466a; font-size: 14px; }
.article-image { width: 100%; aspect-ratio: 3 / 2; margin: 38px 0; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }

@media (max-width: 900px) {
  .menu-button { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 76px; left: 20px; right: 20px; padding: 20px; align-items: stretch; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links .nav-cta { width: 100%; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-top: 74px; }
  .consult-card { max-width: 640px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step:not(:last-child) { margin: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step-number { margin-bottom: 20px; }
  .split { grid-template-columns: 1fr; }
  .promise-panel, .article-sidebar { position: static; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--content)); }
  .brand-text { font-size: 15px; }
  .brand small { font-size: 10px; }
  .hero-grid { padding: 60px 0 50px; gap: 38px; }
  .hero h1 { font-size: 3rem; }
  .hero-actions .button { width: 100%; }
  .consult-card { padding: 24px; }
  .section { padding: 74px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card:nth-child(n) { grid-column: 1; min-height: 290px; }
  .cta-band { padding: 38px 26px; grid-template-columns: 1fr; }
  .cta-band .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { justify-content: flex-start; }
  .floating-whatsapp { left: 14px; right: 14px; bottom: 14px; justify-content: center; }
  .article-hero { padding: 64px 0 58px; }
  .breadcrumbs { margin-bottom: 30px; }
  .article-layout { padding: 56px 0 90px; }
  .article-sidebar { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
