/* ============================================
   Kit Fácil Santos — Stylesheet
   Rebrand premium: editorial + craft
   ============================================ */

:root {
  --brand: #B01E1B;
  --brand-2: #D14841;
  --brand-dark: #7A1212;
  --brand-deep: #4A0A0A;
  --accent: #C9A04E;
  --accent-dark: #9C7A2D;
  --cream: #FAF6F0;
  --cream-dark: #EFE7D9;
  --ink: #1A1A1A;
  --ink-2: #4A4A48;
  --ink-3: #7A7A77;
  --white: #FFFFFF;
  --line: rgba(26, 26, 26, 0.10);
  --line-strong: rgba(26, 26, 26, 0.22);

  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 6px rgba(74, 10, 10, 0.06);
  --shadow: 0 12px 40px -10px rgba(74, 10, 10, 0.14);
  --shadow-lg: 0 30px 80px -20px rgba(74, 10, 10, 0.25);

  --max: 1200px;
  --max-narrow: 820px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s, color .2s; }
button { font: inherit; cursor: pointer; }

.skip-link {
  position: absolute; top: -100px; left: 0; padding: .5rem 1rem;
  background: var(--brand); color: var(--white); z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

.container {
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
}
.container--narrow { max-width: var(--max-narrow); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; gap: 1.5rem;
}

.logo {
  display: inline-flex; align-items: center;
  color: var(--brand);
}
.logo img {
  height: 62px; width: auto; display: block;
  object-fit: contain;
  max-width: 240px;
}
.logo--light img {
  background: var(--cream);
  padding: .65rem .85rem;
  border-radius: 10px;
  height: 52px;
}

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { font-size: .94rem; font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--brand); }
.nav__cta {
  background: var(--brand); color: var(--cream) !important;
  padding: .65rem 1.1rem; border-radius: 999px; font-weight: 600;
  transition: background .2s, transform .15s;
}
.nav__cta:hover { background: var(--brand-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--brand);
  border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: .25rem;
  padding: .75rem 1.5rem 1.5rem;
  background: var(--cream); border-bottom: 1px solid var(--line);
}
.mobile-nav a {
  padding: .85rem .5rem; border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.mobile-nav .nav__cta { text-align: center; margin-top: .75rem; border-bottom: 0; }
.mobile-nav.is-open { display: flex; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .98rem;
  transition: transform .15s, background .2s, border-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--brand); color: var(--cream); border-color: var(--brand);
  box-shadow: 0 6px 20px -8px rgba(15, 58, 46, .5);
}
.btn--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: var(--cream); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.02rem; }

/* ============================================
   EYEBROW / SECTIONS
   ============================================ */
.eyebrow, .section__eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); font-weight: 600;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 162, 76, .2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(212, 162, 76, .2); }
  50% { box-shadow: 0 0 0 8px rgba(212, 162, 76, .05); }
}

.section { padding: 6rem 0; position: relative; }
.section--alt { background: var(--cream-dark); }
.section--dark {
  background: var(--brand-dark); color: var(--cream);
}
.section--dark .section__eyebrow { color: var(--accent); }
.section--cta { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%); padding-bottom: 7rem; }

.section__head { margin-bottom: 3.5rem; max-width: 720px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1;
  letter-spacing: -.02em; margin: .9rem 0 1rem;
  color: var(--brand);
}
.section--dark .section__title { color: var(--cream); }
.section__subtitle {
  font-size: 1.12rem; color: var(--ink-2); margin: 0; max-width: 600px;
}
.section--dark .section__subtitle { color: rgba(250, 247, 242, .8); }
.section__head--center .section__subtitle { margin-left: auto; margin-right: auto; }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 4rem 0 5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(212, 162, 76, .12), transparent 60%),
    radial-gradient(900px 600px at 10% 80%, rgba(90, 138, 111, .12), transparent 60%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem;
  align-items: center; position: relative;
}
.hero__copy { max-width: 580px; }
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.02;
  letter-spacing: -.025em; margin: 1.25rem 0 1.5rem;
  color: var(--brand);
}
.hero__title-accent {
  display: block; font-style: italic; font-weight: 400;
  color: var(--accent-dark); font-size: .58em;
  margin-top: .5rem;
}
.hero__lead { font-size: 1.18rem; color: var(--ink-2); margin: 0 0 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2rem; }
.hero__bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
}
.hero__bullets li {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .92rem; color: var(--ink-2); font-weight: 500;
}
.hero__bullets svg { width: 18px; height: 18px; color: var(--brand-2); }

/* Hero art (collage of cards) */
.hero__art {
  position: relative; height: 540px;
}
.hero__card {
  position: absolute; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero__card--main {
  inset: 0 8% 18% 0; overflow: hidden;
  background: var(--cream-dark);
}
.hero__card--main img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.hero__card-tag {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  background: rgba(250, 247, 242, .95); backdrop-filter: blur(8px);
  padding: .85rem 1.1rem; border-radius: 12px;
  display: flex; flex-direction: column;
  max-width: 70%;
}
.hero__card-tag strong { font-family: var(--font-display); font-size: 1rem; color: var(--brand); }
.hero__card-tag span { font-size: .82rem; color: var(--ink-2); }

.hero__card--stat {
  right: 0; top: 8%; padding: 1.4rem 1.6rem;
  background: var(--accent); color: var(--brand-dark);
  border: 0;
}
.hero__stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.hero__stat-label { font-size: .85rem; font-weight: 600; margin-top: .25rem; }

.hero__card--rating {
  right: 10%; bottom: 0; padding: 1.2rem 1.4rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.hero__rating-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--brand); line-height: 1; }
.hero__rating-label { font-size: .8rem; color: var(--ink-2); margin-top: .25rem; }

.stars { display: inline-flex; gap: 2px; font-size: 1rem; }
.star { color: rgba(0,0,0,.18); }
.star--full { color: var(--accent); }

/* ============================================
   TRUST BAR
   ============================================ */
.trust {
  padding: 2rem 0; background: var(--brand);
  color: var(--cream);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  text-align: center;
}
.trust__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--accent);
  line-height: 1;
}
.trust__label { font-size: .92rem; color: rgba(250, 247, 242, .8); margin-top: .4rem; }

/* ============================================
   SERVICES
   ============================================ */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream-dark); color: var(--brand);
  margin-bottom: 1.25rem;
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card__title {
  font-family: var(--font-display); font-size: 1.32rem;
  margin: 0 0 .65rem; color: var(--brand); font-weight: 600;
  letter-spacing: -.01em;
}
.service-card__desc { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* ============================================
   PROCESS
   ============================================ */
.process {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  counter-reset: step;
}
.process__step {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem 1.75rem; border: 1px solid var(--line);
  position: relative;
}
.process__step h3 {
  font-family: var(--font-display); font-size: 1.18rem;
  margin: 1rem 0 .5rem; color: var(--brand); font-weight: 600;
}
.process__step p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.process__num {
  font-family: var(--font-display); font-style: italic;
  font-size: 2rem; color: var(--accent); font-weight: 500;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.gallery__item {
  margin: 0; background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery__compare {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--cream-dark); cursor: ew-resize;
  user-select: none;
}
.gallery__single {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--cream-dark);
}
.gallery__single img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item:hover .gallery__single img { transform: scale(1.05); }
.gallery__before, .gallery__after {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.gallery__after { clip-path: inset(0 0 0 50%); transition: clip-path .05s linear; }
.gallery__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px;
  background: var(--cream); transform: translateX(-50%);
  box-shadow: 0 0 0 1px var(--brand-dark);
  pointer-events: none;
}
.gallery__handle::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 38px; height: 38px; transform: translate(-50%, -50%);
  background: var(--cream); border-radius: 50%;
  box-shadow: 0 4px 14px rgba(74, 10, 10, .3), 0 0 0 1px var(--brand-dark);
}
.gallery__handle::after {
  content: '⟷'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); color: var(--brand); font-weight: bold;
  font-size: .9rem;
}
.gallery__tag {
  position: absolute; top: 1rem;
  background: rgba(15, 58, 46, .85); color: var(--cream);
  padding: .35rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  pointer-events: none;
}
.gallery__tag--left { left: 1rem; }
.gallery__tag--right { right: 1rem; }
.gallery__item figcaption {
  padding: 1.1rem 1.25rem;
  display: flex; flex-direction: column;
}
.gallery__item figcaption strong {
  font-family: var(--font-display); color: var(--brand);
  font-size: 1.05rem; font-weight: 600;
}
.gallery__item figcaption span { font-size: .88rem; color: var(--ink-2); margin-top: .2rem; }

.gallery--placeholder .gallery__placeholder {
  background: var(--white); border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius); aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; color: var(--ink-3); font-size: .9rem;
  gap: .75rem;
}
.gallery__placeholder-tag {
  background: var(--cream-dark); color: var(--brand); padding: .3rem .8rem;
  border-radius: 999px; font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.testimonial {
  margin: 0; background: rgba(250, 247, 242, .04);
  border: 1px solid rgba(250, 247, 242, .12);
  border-radius: var(--radius); padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  backdrop-filter: blur(6px);
}
.testimonial blockquote {
  margin: 0; font-family: var(--font-display); font-size: 1.18rem;
  line-height: 1.5; color: var(--cream); font-weight: 400;
  letter-spacing: -.005em;
}
.testimonial blockquote::before { content: '“'; font-size: 1.5em; color: var(--accent); line-height: 0; }
.testimonial figcaption { display: flex; flex-direction: column; }
.testimonial figcaption strong { color: var(--accent); font-weight: 600; }
.testimonial figcaption span { font-size: .88rem; color: rgba(250, 247, 242, .65); margin-top: .15rem; }

/* ============================================
   FAQ
   ============================================ */
.faq { display: flex; flex-direction: column; gap: .5rem; }
.faq__item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.faq__item[open] { border-color: var(--brand-2); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 1.4rem 1.6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  color: var(--brand); letter-spacing: -.005em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--cream-dark); position: relative;
  transition: background .2s, transform .25s;
}
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px; background: var(--brand);
  transform: translate(-50%, -50%); transition: transform .25s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--brand); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: var(--accent); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer {
  padding: 0 1.6rem 1.5rem;
  color: var(--ink-2); font-size: 1rem; line-height: 1.65;
}

/* ============================================
   QUOTE FORM
   ============================================ */
.quote-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-block { display: block; margin-bottom: 1.25rem; }
.quote-form label > span {
  display: block; font-size: .88rem; font-weight: 600;
  color: var(--brand); margin-bottom: .45rem; letter-spacing: .01em;
}
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; padding: .85rem 1rem;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--cream); font: inherit; color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: 0; border-color: var(--brand-2);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(90, 138, 111, .15);
}
.quote-form textarea { resize: vertical; min-height: 110px; }
.form-file small { display: block; margin-top: .4rem; color: var(--ink-3); font-size: .82rem; }
.form-actions {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: 1.5rem;
}
.form-note { font-size: .82rem; color: var(--ink-3); margin-top: 1.25rem; text-align: center; }

.alert {
  padding: 1rem 1.25rem; border-radius: 12px; margin-bottom: 1.5rem;
  font-weight: 500; border: 1.5px solid;
}
.alert--success {
  background: rgba(90, 138, 111, .1); border-color: var(--brand-2);
  color: var(--brand);
}
.alert--error {
  background: rgba(200, 60, 60, .08); border-color: rgba(200, 60, 60, .4);
  color: #8a2929;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--brand-dark); color: var(--cream);
  padding: 4.5rem 0 1.5rem;
}
.site-footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem;
  margin-bottom: 3rem;
}
.site-footer h4 {
  font-family: var(--font-display); font-size: 1.08rem;
  margin: 0 0 1rem; color: var(--accent); font-weight: 600;
}
.site-footer__about {
  margin: 1rem 0 0; color: rgba(250, 247, 242, .7);
  font-size: .92rem; max-width: 360px;
}
.site-footer__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .6rem;
  font-size: .92rem; color: rgba(250, 247, 242, .8);
}
.site-footer__list a:hover { color: var(--accent); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 247, 242, .1);
  font-size: .85rem; color: rgba(250, 247, 242, .55);
}
.site-footer__bottom a:hover { color: var(--accent); }

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .5rem;
  background: #25D366; color: #fff;
  padding: .85rem 1.25rem .85rem 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .6);
  font-weight: 600; font-size: .95rem;
  transition: transform .2s, box-shadow .2s;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 36px -8px rgba(37, 211, 102, .8); }
.wa-float__label { display: inline; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__art { height: 460px; max-width: 540px; margin: 0 auto; }
  .services, .gallery { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 4rem 0; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 2.5rem 0 3.5rem; }
  .hero__art { height: 380px; }
  .hero__card--main { inset: 0 6% 24% 0; }
  .hero__bullets { gap: .5rem 1rem; }
  .services, .gallery, .process, .testimonials, .trust__grid, .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .form-row { grid-template-columns: 1fr; gap: 1rem; }
  .quote-form { padding: 1.5rem; }
  .wa-float__label { display: none; }
  .wa-float { padding: .85rem; }
  .section__head { margin-bottom: 2.5rem; }
}

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