/* Clotify landing page styles */
:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --sand: #F2EBE0;
  --line: #E3D9CA;
  --ink: #1E1B18;
  --muted: #6B6259;
  --accent: #86653F;
  --accent-soft: #E9DDCB;
  --wa: #25D366;
  --wa-dark: #128C4B;
  --danger: #B3261E;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; font-weight: 600; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.1rem; font-weight: 600; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 780px; }
.center { text-align: center; margin-top: 28px; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .9em;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.hint { font-weight: 400; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 500 1rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; box-shadow: 0 8px 22px rgba(30,27,24,.18); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }
.textlink { color: var(--accent); }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250,247,242,.92); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand img { height: 42px; width: auto; }
.topbar__actions { display: flex; align-items: center; gap: 20px; }
.link-wa { font-weight: 500; text-decoration: none; color: var(--wa-dark); }
.link-wa:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; background:
  radial-gradient(1200px 500px at 85% -10%, var(--accent-soft), transparent 60%), var(--bg); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.hero__copy h1 { margin-bottom: .35em; }

.ticks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.ticks--sm { margin: 18px 0 26px; gap: 8px; font-size: .98rem; }

.hero__img { position: relative; max-width: 420px; }
.hero__img img { width: 100%; aspect-ratio: 36/43; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius); background: var(--sand); }
.hero__badge {
  position: absolute; right: -28px; bottom: 36px; max-width: 210px;
  background: var(--surface); border-radius: var(--radius); padding: 14px 18px;
  box-shadow: 0 14px 40px rgba(30,27,24,.12); font-size: .9rem; line-height: 1.35; color: var(--muted);
}
.hero__badge-num { display: block; font: 600 2rem/1 var(--serif); color: var(--ink); margin-bottom: 4px; }

/* ---------- Form card ---------- */
.formcard {
  position: sticky; top: 96px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px; box-shadow: 0 24px 60px rgba(30,27,24,.08);
  scroll-margin-top: 90px;
}
.formcard h2 { font-size: 2rem; margin-bottom: .2em; }
.formcard__sub { color: var(--muted); font-size: .98rem; margin-bottom: 22px; }
.formcard__legal { font-size: .8rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }

.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 7px; padding: 0; }
input[type=text], input[type=email], input[type=tel], select {
  width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font: 400 1rem var(--sans); transition: border-color .15s, box-shadow .15s;
}
input::placeholder { color: #A39A90; }
input:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.phone { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.phone select { padding: 0 8px; }

.check { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check--inline { margin-top: 8px; }
.check input { width: 17px; height: 17px; accent-color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: .92rem;
  transition: all .15s ease; user-select: none;
}
.chip:hover span { border-color: var(--muted); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input[type=checkbox]:checked + span::before { content: "✓"; font-size: .8em; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chips--stage .chip { flex: 1 1 calc(50% - 8px); }
.chips--stage .chip span { width: 100%; justify-content: center; }

.field__err { display: none; color: var(--danger); font-size: .85rem; margin-top: 6px; }
.field.is-invalid .field__err { display: block; }
.field.is-invalid input[type=text], .field.is-invalid input[type=email], .field.is-invalid input[type=tel] { border-color: var(--danger); }
.field.is-invalid .chip span { border-color: #E5B4B0; }
.alert { background: #FBEAE8; color: #7A1C16; border-radius: 10px; padding: 12px 14px; font-size: .92rem; margin-bottom: 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Strip ---------- */
.strip { background: var(--ink); color: #fff; padding: 30px 0; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip__grid div { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid rgba(255,255,255,.18); padding-left: 18px; }
.strip strong { font: 600 1.9rem/1.1 var(--serif); }
.strip span { color: rgba(255,255,255,.72); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--sand { background: var(--sand); }
.section__head { max-width: 640px; margin-bottom: 40px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; }
.gallery__item { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.gallery__item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s ease; }
.gallery__item--tall img { aspect-ratio: 7/10; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption {
  position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.94);
  padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 500;
}
.taglist { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.taglist li { border: 1px solid var(--line); background: var(--surface); padding: 6px 16px; border-radius: 999px; font-size: .92rem; }

.offers { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 36px; position: relative; }
.offer h3 { font: 600 1.9rem/1.15 var(--serif); }
.offer p { color: var(--muted); }
.offer--main { border: 1.5px solid var(--ink); }
.offer__tag {
  display: inline-block; margin-bottom: 14px; background: var(--ink); color: #fff;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}

.process { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.process__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius) var(--radius) 200px 200px; background: var(--sand); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 26px 64px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -4px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid var(--ink); font: 600 1.3rem var(--serif); background: var(--bg);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 42px; bottom: 2px; width: 1px; background: var(--line); }
.steps h3 { margin-bottom: .25em; }
.steps p { color: var(--muted); margin: 0; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__item { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.why__item h3 { font: 600 1.45rem/1.2 var(--serif); }
.why__item p { color: var(--muted); font-size: .96rem; margin: 0; }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.review blockquote { margin: 0 0 16px; font: 500 1.3rem/1.4 var(--serif); }
.review figcaption { color: var(--muted); font-size: .92rem; }
.trustbox { margin-bottom: 28px; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 500; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 1.8rem/1 var(--sans); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

.cta { background: var(--ink); color: #fff; padding: 84px 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.75); }
.cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); padding: 48px 0 28px; border-top: 1px solid var(--line); font-size: .92rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand img { height: 36px; width: auto; margin-bottom: 12px; }
.footer__brand p { color: var(--muted); max-width: 26em; }
.footer__links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__links a, .footer__links .linkbtn { color: var(--muted); text-decoration: none; }
.footer__links a:hover, .footer__links .linkbtn:hover { color: var(--ink); text-decoration: underline; }
.footer__base {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem;
}
.poweredby { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.poweredby strong { color: var(--ink); font-weight: 600; }
.poweredby em { font-style: italic; margin-left: 4px; }
.poweredby svg { color: var(--accent); }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 15px;
  background: var(--wa); color: #fff; border-radius: 999px; text-decoration: none; font-weight: 500;
  box-shadow: 0 10px 28px rgba(18,140,75,.35); transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 34px rgba(18,140,75,.45); }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s ease, padding .3s ease; }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 140px; padding-right: 6px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa);
  animation: wa-pulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes wa-pulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 50; max-width: 420px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(30,27,24,.16); padding: 18px 20px; font-size: .9rem;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 12px; color: var(--muted); }
.cookie__btns { display: flex; gap: 8px; justify-content: flex-end; }

/* ---------- Thank-you & legal pages ---------- */
.thanks { padding: 80px 0 100px; text-align: center; }
.thanks__icon { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.thanks .lead { margin: 0 auto 28px; }
.thanks__next { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; margin: 40px 0 28px; }
.thanks__next h2 { font-size: 1.7rem; }
.thanks__next ol { margin: 0; padding-left: 1.2em; color: var(--muted); }
.thanks__next li { margin-bottom: 6px; }
.prose h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose p, .prose li { color: #3E3832; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .formcard { position: static; }
  .hero__img { display: none; }
  .ticks { margin-bottom: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .offers, .process { grid-template-columns: 1fr; }
  .process { gap: 36px; }
  .process__img { max-width: 420px; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar__inner { height: 64px; }
  .brand img { height: 34px; }
  .link-wa { display: none; }
  .hero { padding: 32px 0 48px; }
  .ticks { gap: 8px; margin-top: 20px; }
  .formcard { padding: 22px 18px; border-radius: 16px; }
  .formcard h2 { font-size: 1.75rem; }
  .section { padding: 60px 0; }
  .gallery { gap: 10px; }
  .why { grid-template-columns: 1fr; }
  .offer { padding: 26px 22px; }
  .strip__grid { gap: 18px 12px; }
  .strip strong { font-size: 1.55rem; }
  .wa-float { height: 56px; right: 14px; bottom: 14px; padding: 0 13px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .footer__base { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
