/* ===========================================================
   SIMPLIFY-ED — LAYOUT & COMPONENTS (v3)
   =========================================================== */

/* -------------------- HEADER -------------------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: var(--sp-3) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo{
  position: relative;
  display: flex;
  align-items: center;
  height: 65px;
}
.site-header__logo-img{
  height: 65px;
  width: auto;
  display: block;
  transition: opacity .35s var(--ease-out);
}
.site-header__logo-img.is-dark{
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
}
.site-header.is-on-light .site-header__logo-img.is-light{ opacity: 0; }
.site-header.is-on-light .site-header__logo-img.is-dark{ opacity: 1; }

.site-header__nav{
  display: none;
  align-items: center;
  gap: var(--sp-4);
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  transition: clip-path .5s var(--ease-soft), opacity .4s var(--ease-out);
}
@media (min-width: 1080px){ .site-header__nav{ display: flex; } }
.site-header.is-scrolled .site-header__nav{
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  pointer-events: none;
}
.site-header__nav a{ color: var(--paper); font-size: var(--fs-xs); font-weight: 500; white-space: nowrap; }

.header-menu-btn{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--ink);
  border: none;
  color: var(--paper);
  border-radius: 999px;
  padding: .75rem 1.3rem;
  cursor: pointer;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .4s var(--ease-out) .1s, transform .4s var(--ease-out) .1s;
}
.site-header.is-scrolled .header-menu-btn{ opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (max-width: 1079px){ .header-menu-btn{ opacity: 1; transform: none; pointer-events: auto; } }

/* -------------------- MOBILE DRAWER -------------------- */
.mob-drawer{ position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.mob-drawer__veil{ position: absolute; inset: 0; background: rgba(16,27,38,.55); opacity: 0; transition: opacity .3s var(--ease-out); }
.mob-drawer__panel{
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(90vw, 440px);
  background: var(--paper); color: var(--ink);
  transform: translateX(100%);
  transition: transform .45s var(--ease-soft);
  padding: var(--sp-4) var(--sp-4);
  overflow-y: auto;
}
.mob-drawer.is-open .mob-drawer__panel{ transform: translateX(0); }
.mob-drawer.is-open{ pointer-events: auto; }
.mob-drawer.is-open .mob-drawer__veil{ opacity: 1; }
.mob-drawer__close{
  position: fixed; top: 50%; right: min(90vw, 440px);
  transform: translate(50%, -50%) translateX(calc(min(90vw, 440px) + 60px));
  width: 46px; height: 46px; border-radius: 999px;
  border: 2px solid var(--ink-10); background: var(--paper); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transition: transform .45s var(--ease-soft);
  z-index: 95;
}
.mob-drawer.is-open .mob-drawer__close{
  transform: translate(50%, -50%) translateX(0);
  pointer-events: auto;
}
.mob-drawer__close svg{ transition: transform .35s var(--ease-out); }
.mob-drawer__close:hover svg{ transform: rotate(90deg); }
.mob-drawer__list{ display: grid; border-top: 1px solid var(--ink-10); }
.mob-drawer__list li{ border-bottom: 1px solid var(--ink-10); }
.mob-drawer__list a{ display: block; padding: var(--sp-2) 0; font-size: 1.15rem; font-weight: 600; }
.mob-drawer__contact{ margin-top: var(--sp-3); display: grid; gap: .85rem; font-size: var(--fs-sm); color: var(--slate); }
.mob-drawer__contact a, .mob-drawer__contact p{ display: block; margin: 0; }

/* -------------------- ATMOSPHERE ZONE (Ink easing into Clarity, ending at the value statement) -------------------- */
.atmosphere{
  position: relative;
  background: linear-gradient(180deg,
    var(--ink) 0%,
    var(--clarity-deep) 20%,
    var(--clarity) 46%,
    var(--clarity) 88%,
    var(--paper-dim) 100%);
  color: var(--paper);
  overflow: hidden;
}
/* used when the atmosphere wrapper contains only the hero, no tail sections,
   so it should stay pure ink-to-clarity with no paper-dim blend at the bottom */
.atmosphere--pure{
  background: linear-gradient(180deg, var(--ink) 0%, var(--clarity-deep) 32%, var(--clarity) 100%);
}
.line-deco{
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}
.line-deco img{
  display: block;
  width: 100%;
  height: auto;
}
.line-deco--paper{ opacity: .16; }
.line-deco--slate{ opacity: .22; }
.line-deco--tr{ top: -4%; }
.line-deco--mid{ top: -12%; }
.line-deco--bl{ bottom: -6%; }

@media (max-width: 640px){
  .line-deco--tr{ top: 40vh; }
  .line-deco--mid{ top: -4%; }
  .line-deco--bl{ bottom: 18%; }
}



/* -------------------- HERO -------------------- */
.hero{ min-height: 100vh; display: flex; flex-direction: column; z-index: 2; }
.hero__top{ flex: 1; display: flex; align-items: flex-start; justify-content: flex-end; padding: 8.5rem var(--gutter) 0; }
.hero__proof{ max-width: 380px; }
.hero__proof p{ font-size: var(--fs-md); font-weight: 400; line-height: 1.55; color: rgba(245,241,231,.92); }

.hero__bottom{ padding: var(--sp-5) var(--gutter) var(--sp-6); }
.hero__heading{ max-width: 16ch; font-size: var(--fs-2xl); font-weight: 700; line-height: .98; }
.hero__heading .hl{ color: var(--ember-l); }


/* -------------------- MESSAGE STAGE -------------------- */
.msg-stage{
  min-height: 68vh;
  display: flex;
  align-items: center;
  padding: var(--sp-section) var(--gutter);
  z-index: 2;
}
.msg-stage__text{ position: relative; z-index: 1; max-width: 780px; font-size: var(--fs-xl); font-weight: 500; line-height: 1.22; }
.msg-stage__text .accent{ color: var(--ember-l); }

/* -------------------- EDGE-BLEED SPLIT (simple flexbox: text stays on the shared .wrap grid, photo bleeds via negative margin) -------------------- */
.bleed-split{
  position: relative;
  padding: var(--sp-section) 0;
  z-index: 2;
}
.bleed-split__inner{
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.bleed-split.side-right .bleed-split__inner{ flex-direction: row-reverse; }
.bleed-split.side-left .bleed-split__inner{ flex-direction: row; }

.bleed-split__content{
  flex: 1 1 480px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.bleed-split__media{
  position: relative;
  flex: 0 0 auto;
  width: min(40vw, 640px);
  aspect-ratio: 1 / 1;
}
.bleed-split.side-right .bleed-split__media{ margin-right: calc(-1 * max(var(--gutter), (100vw - var(--wide)) / 2 + var(--gutter)) - 6vw); }
.bleed-split.side-left .bleed-split__media{ margin-left: calc(-1 * max(var(--gutter), (100vw - var(--wide)) / 2 + var(--gutter)) - 6vw); }
.bleed-split__media img{ width: 100%; height: 100%; object-fit: cover; }
.shape-1{ clip-path: url(#shape-1); }
.shape-2{ clip-path: url(#shape-2); }
.shape-3{ clip-path: url(#shape-3); }

.bleed-split__pain-list{ margin-top: var(--sp-3); display: grid; gap: var(--sp-2); }
.bleed-split__pain-list li{ display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-sm); color: rgba(245,241,231,.85); }
.bleed-split__pain-list svg{ width: 15px; height: 15px; margin-top: .3rem; flex-shrink: 0; color: var(--ember-l); }

.statement{ font-size: var(--fs-xl); font-weight: 500; line-height: 1.2; }
.statement .accent{ color: var(--ember-l); }
.chip-row{ margin-top: var(--sp-3); display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-row span{
  font-size: var(--fs-2xs); padding: .4rem .85rem; border-radius: 999px;
  border: 1px solid rgba(245,241,231,.4); color: rgba(245,241,231,.92);
}
/* this split sits at the tail of the gradient, where dark-on-dark pills lose contrast */
.chip-row--ink span{ border-color: var(--ink-10); color: var(--ink); }

@media (max-width: 899px){
  .bleed-split.side-right .bleed-split__inner,
  .bleed-split.side-left .bleed-split__inner{ flex-direction: column; }
  .bleed-split__media{ width: 78vw; max-width: 420px; margin: 0 auto !important; }
}

/* -------------------- SECTION SHELLS -------------------- */
.section{ padding: var(--sp-section) 0; }
.section-head{ max-width: 680px; margin-bottom: var(--sp-5); }
.section-head p.fs-md{ color: var(--slate); margin-top: var(--sp-2); }

/* Fixed-height transition band: the clarity-to-paper-dim blend needs to resolve
   at the same absolute scroll distance on every page, regardless of how long
   the rest of that page's content is. A percentage-based gradient stop on the
   full paper-atmosphere wrapper (used previously) scales with total page
   height, so a short page (Contact) and a long one (Success Stories) resolved
   the same colour at very different scroll positions. This band is a fixed,
   viewport-relative height, so the handoff is visually identical everywhere. */
.clarity-to-paper-band{
  height: clamp(320px, 45vh, 600px);
  background: linear-gradient(180deg, var(--clarity) 0%, var(--paper-dim) 100%);
}

/* one continuous gradient carrying Services through the final CTA */
.paper-atmosphere{
  position: relative;
  color: var(--ink);
  background: linear-gradient(180deg,
    var(--paper-dim) 0%,
    var(--paper-3) 26%,
    var(--paper-2) 58%,
    var(--paper) 100%);
}
/* .line-deco self-clips via its own overflow:hidden, so the host section doesn't need to,
   which matters now that some hosts also contain edge-bleeding photography. */
.has-line-deco > .wrap{ position: relative; z-index: 1; }



/* -------------------- SERVICES ACCORDION -------------------- */
.svc__index{ font-size: var(--fs-2xs); font-weight: 600; color: var(--slate); text-transform: uppercase; }

/* -------------------- ACCORDION LIST (services, capabilities) -------------------- */
.accordion-cols{ display: block; }
@media (min-width: 900px){
  .accordion-cols{ display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--sp-5); align-items: start; }
}
.accordion{ border-top: 1px solid var(--ink-10); }
.acc-item{ border-bottom: 1px solid var(--ink-10); scroll-margin-top: 100px; }
.acc-item__trigger{
  width: 100%;
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) 0;
  background: none; border: none; cursor: pointer;
  text-align: left; font-family: inherit; color: inherit; letter-spacing: inherit;
}
.acc-item__index{ font-size: var(--fs-2xs); font-weight: 600; color: var(--slate); flex-shrink: 0; min-width: 2.5ch; }
.acc-item__title{ flex: 1; font-size: var(--fs-lg); font-weight: 500; transition: color .2s var(--ease-out); }
.acc-item__arrow{ width: 20px; height: 20px; flex-shrink: 0; transition: transform .3s var(--ease-out), color .2s var(--ease-out); }
.acc-item.is-active .acc-item__title{ color: var(--clarity); }
.acc-item.is-active .acc-item__arrow{ transform: rotate(45deg); color: var(--ember); }
.acc-item__trigger:hover .acc-item__title{ color: var(--clarity); }

.acc-item__panel{ display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.acc-item__panel.is-open{ grid-template-rows: 1fr; }
.acc-item__panel-inner{ overflow: hidden; }
.acc-item__desc{
  padding: 0 var(--sp-3) var(--sp-3) calc(2.5ch + var(--sp-3));
  font-size: var(--fs-md);
  color: var(--slate);
  max-width: 56ch;
}
.acc-item__tags{ padding: 0 var(--sp-3) var(--sp-2) calc(2.5ch + var(--sp-3)); display: flex; flex-wrap: wrap; gap: .5rem; }
.acc-item__tags span{ font-size: var(--fs-2xs); padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--ink-10); color: var(--slate); }
.acc-item__link{
  display: inline-flex; align-items: center; gap: .4rem;
  margin: 0 0 var(--sp-3) calc(2.5ch + var(--sp-3));
  font-size: var(--fs-xs); font-weight: 600; color: var(--clarity);
}
.acc-item__link svg{ width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.acc-item__link:hover svg{ transform: translate(2px,-2px); }

/* -------------------- APPROACH -------------------- */
.approach-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-5);
  margin-bottom: var(--sp-5);
}
.approach-head .section-head{ flex: 1 1 420px; }
.approach-stats{ display: flex; flex-wrap: wrap; gap: var(--sp-5); flex-shrink: 0; }
.approach-stats .stat-num{ color: var(--clarity); }
.stat-block{ display: flex; flex-direction: column; align-items: center; text-align: center; }

.process-grid{ display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 560px){ .process-grid{ grid-template-columns: repeat(2, 1fr); } }
.process-grid .svc__index{ color: var(--ember); font-size: var(--fs-sm); font-weight: 700; }

.approach-note{
  margin-top: var(--sp-5);
  font-size: var(--fs-md);
  color: var(--slate);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* -------------------- SUCCESS STORIES CAROUSEL -------------------- */
.ss-head{ display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; }
.ss-controls{ display: flex; gap: .6rem; }
.ss-controls button{
  width: 46px; height: 46px; border-radius: 999px; border: 2px solid var(--ink-10);
  background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s;
}
.ss-controls button:hover{ background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ss-controls svg{ width: 20px; height: 20px; }

.ss-track{ margin-top: var(--sp-5); display: flex; gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x proximity; padding: .5rem .5rem var(--sp-3); scrollbar-width: none; }
.ss-track::-webkit-scrollbar{ display: none; }
.ss-card{ scroll-snap-align: start; flex: 0 0 clamp(280px, 34vw, 400px); text-decoration: none; color: inherit; }
.ss-card__figure{ position: relative; overflow: hidden; aspect-ratio: 1/1; border-radius: 18px; }
.ss-card__figure img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.ss-card:hover .ss-card__figure img{ transform: scale(1.06); }
.ss-card:nth-child(3n+1) .ss-card__figure{ border-radius: 0; clip-path: url(#shape-1); }
.ss-card:nth-child(3n+2) .ss-card__figure{ border-radius: 0; clip-path: url(#shape-2); }
.ss-card:nth-child(3n+3) .ss-card__figure{ border-radius: 0; clip-path: url(#shape-3); }
.ss-card__tag{ display: inline-block; margin-bottom: var(--sp-2); font-size: var(--fs-2xs); font-weight: 600; text-transform: uppercase; color: var(--ember); }
.ss-card__title{ margin-top: var(--sp-2); font-size: var(--fs-md); font-weight: 500; line-height: 1.3; }
.ss-card__desc{ margin-top: .5rem; font-size: var(--fs-sm); color: var(--slate); }

/* -------------------- WHY US -------------------- */
.why-grid{ margin-top: var(--sp-5); display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 800px){ .why-grid{ grid-template-columns: repeat(3, 1fr); } }
.why-card{ background: var(--white); border: 1px solid var(--ink-10); border-radius: 18px; padding: var(--sp-4); transition: border-color .2s var(--ease-out), transform .2s var(--ease-out); }
.why-card:hover{ border-color: var(--clarity); transform: translateY(-4px); }
.why-card svg{ width: 27px; height: 27px; color: var(--ember); }
.why-card h3{ margin-top: var(--sp-2); font-size: var(--fs-lg); font-weight: 500; }
.why-card p{ margin-top: .6rem; font-size: var(--fs-sm); color: var(--slate); }

.exp-band{ display: flex; align-items: center; gap: var(--sp-5); }
.exp-band .bleed-split__media{ margin-left: calc(-1 * max(var(--gutter), (100vw - var(--wide)) / 2 + var(--gutter)) - 6vw); }
.exp-band__label{ display: block; margin-top: .25rem; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); text-transform: uppercase; }
@media (max-width: 899px){
  .exp-band{ flex-direction: column; }
  .exp-band .bleed-split__media{ margin-left: 0; }
}
.experience-highlights{ margin-top: var(--sp-3); display: grid; gap: .8rem; }


.experience-highlights li{ display: flex; align-items: flex-start; gap: .7rem; font-size: var(--fs-sm); }
.experience-highlights svg{ width: 15px; height: 15px; color: var(--clarity); flex-shrink: 0; margin-top: .3rem; }

/* -------------------- FINAL CTA (single) -------------------- */
/* -------------------- CONTACT FORM -------------------- */
.contact-layout{ display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 900px){ .contact-layout{ grid-template-columns: 1.15fr .85fr; } }

.contact-form{ display: grid; gap: var(--sp-3); }
.form-field{ display: flex; flex-direction: column; gap: .5rem; }
.form-field label{ font-size: var(--fs-2xs); font-weight: 600; text-transform: uppercase; color: var(--slate); }
.form-field input, .form-field textarea{
  font-family: inherit; font-size: var(--fs-sm); letter-spacing: inherit; color: var(--ink);
  padding: .85rem 1rem; border: 1px solid var(--ink-10); border-radius: 10px; background: var(--white);
  transition: border-color .2s var(--ease-out);
}
.form-field input:focus, .form-field textarea:focus{ outline: none; border-color: var(--clarity); }
.form-field textarea{ resize: vertical; min-height: 150px; }
.form-field__error{
  display: none;
  font-size: var(--fs-2xs);
  color: var(--ember);
}
.form-field.is-invalid input,
.form-field.is-invalid textarea{ border-color: var(--ember); }
.form-field.is-invalid .form-field__error{ display: block; }
.contact-form .btn{ justify-self: start; margin-top: var(--sp-2); }
.form-confirm{
  display: none;
  margin-top: var(--sp-2);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: var(--paper-dim);
  color: var(--ink);
  font-size: var(--fs-sm);
}
.form-confirm:not([hidden]){ display: block; }

.contact-info{ display: grid; gap: var(--sp-3); align-content: start; }
.contact-info-card{ background: var(--white); border: 1px solid var(--ink-10); border-radius: 18px; padding: var(--sp-4); }
.contact-info-card__label{ display: block; font-size: var(--fs-2xs); color: var(--slate); text-transform: uppercase; }
.contact-info-card a, .contact-info-card p{
  display: inline-block;
  margin-top: .5rem;
  font-size: var(--fs-lg);
  line-height: 1.3;
  font-weight: 500;
  color: var(--ink);
  overflow-wrap: break-word;
  max-width: 100%;
}

.final-cta{ text-align: center; }
@media (min-width: 900px){
  .final-cta--push-down{ padding-top: calc(var(--sp-section) + 8rem); }
  .final-cta--push-down-lg{ padding-top: calc(var(--sp-section) + 10rem); }
}
.final-cta__inner{ max-width: none; margin: 0 auto; }
.final-cta .btn-row{ justify-content: center; margin-top: var(--sp-4); }

/* -------------------- FOOTER (dark, the one exception) -------------------- */
.site-footer{ background: var(--ink); color: var(--paper); }
.footer-top{ padding-top: var(--sp-6); padding-bottom: var(--sp-4); display: grid; gap: var(--sp-4); grid-template-columns: 1fr 1fr; }
.footer-top > .footer-brand{ grid-column: 1 / -1; }
.footer-top > .footer-col:last-child{ grid-column: 1 / -1; }
@media (min-width: 900px){ .footer-top{ grid-template-columns: 1.3fr .8fr .8fr .8fr; } .footer-top > .footer-brand, .footer-top > .footer-col:last-child{ grid-column: auto; } }
.footer-brand img{ height: 65px; width: auto; }
.footer-brand p{ max-width: 32ch; color: rgba(245,241,231,.62); font-size: var(--fs-sm); margin-top: var(--sp-2); }
.footer-col h5{ font-size: var(--fs-2xs); font-weight: 600; text-transform: uppercase; color: rgba(245,241,231,.5); margin-bottom: var(--sp-2); }
.footer-col ul{ display: grid; gap: .65rem; }
.footer-col a{ font-size: var(--fs-sm); color: rgba(245,241,231,.85); }
.footer-bottom{ border-top: 1px solid rgba(245,241,231,.12); padding-top: var(--sp-2); padding-bottom: var(--sp-4); display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; justify-content: space-between; font-size: var(--fs-2xs); color: rgba(245,241,231,.6); }

/* -------------------- WHATSAPP FLOAT (static, no glow) -------------------- */
.wa-float{
  position: fixed; bottom: var(--sp-3); right: var(--sp-3); z-index: 70;
  width: 56px; height: 56px; border-radius: 999px; background: var(--ember);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(16,27,38,.28);
  transition: transform .2s var(--ease-out), background-color .2s var(--ease-out);
}
.wa-float:hover{ transform: translateY(-3px); background: var(--ink); }
.wa-float svg{ width: 26px; height: 26px; color: var(--paper); }
@media (max-width: 640px){ .wa-float{ width: 50px; height: 50px; } }
