/* ============================================================
   Divano - About Us (2026 redesign)
   Identity kept: #001416 / #3e5252 gradient · accent #E4D3C0
   Fonts: Dosis (display) · Open Sans (body). Straight corners.
   ============================================================ */

.ab { --acc: #E4D3C0; --ink: #eef3f1; --mut: #b9c7c3; }
.ab section { position: relative; }
.ab .wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.ab .ey { display: inline-block; font-family: 'Dosis', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--acc); margin-bottom: 16px; }
.ab h2 { font-family: 'Dosis', sans-serif; font-weight: 300; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); line-height: 1.1; margin: 0 0 18px; }
.ab p { color: var(--mut); line-height: 1.9; font-size: 17px; }

/* reveal */
.ab [data-up] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(.22,1,.36,1), transform 0.8s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0ms); }
.ab [data-up].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ab [data-up] { opacity: 1 !important; transform: none !important; } }

/* ---------- 1 · HERO ---------- */
.ab-hero { min-height: 82vh; display: flex; align-items: center; text-align: center; overflow: hidden; }
.ab-hero__bg { position: absolute; inset: 0; z-index: 0; }
.ab-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.ab-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(0,20,22,0.55), rgba(0,20,22,0.8)); }
.ab-hero .wrap { position: relative; z-index: 2; }
.ab-hero h1 { font-family: 'Dosis', sans-serif; font-weight: 300; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; font-size: clamp(2.2rem, 1.4rem + 4vw, 4.4rem); line-height: 1.04; margin: 0 auto; max-width: 15ch; }
.ab-hero__tag { margin-top: 22px; color: var(--acc); font-family: 'Dosis', sans-serif; font-size: clamp(13px, 1vw, 16px); font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; }
.ab-hero__tag .p { white-space: nowrap; }
.ab-hero__tag .d { opacity: 0.55; }
.ab-scroll { position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%); width: 22px; height: 38px; border: 1.5px solid rgba(238,243,241,0.5); border-radius: 20px; }
.ab-scroll::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; border-radius: 3px; background: var(--acc); animation: abDot 1.6s infinite; }
@keyframes abDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 100%{opacity:0;transform:translate(-50%,12px)} }

/* ---------- 2 · STORY + STATS ---------- */
.ab-story { padding: clamp(70px, 9vw, 130px) 0 0; }
.ab-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.ab-story__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.ab-story__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.22,1,.36,1); }
.ab-story__img:hover img { transform: scale(1.05); }
.ab-story__img::before { content: ""; position: absolute; left: 18px; top: 18px; right: -18px; bottom: -18px; border: 1px solid rgba(228,211,192,0.4); z-index: -1; }
@media (max-width: 820px) { .ab-story__grid { grid-template-columns: 1fr; } .ab-story__img::before { display: none; } }

.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(50px, 7vw, 90px); padding: 44px 0; border-top: 1px solid rgba(228,211,192,0.16); border-bottom: 1px solid rgba(228,211,192,0.16); text-align: center; }
.ab-stat .n { font-family: 'Dosis', sans-serif; font-weight: 300; color: var(--acc); font-size: clamp(2.2rem, 1.5rem + 2.5vw, 3.6rem); line-height: 1; }
.ab-stat .l { display: block; margin-top: 8px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mut); }
@media (max-width: 640px) { .ab-stats { grid-template-columns: 1fr 1fr; gap: 30px 20px; } }

/* ---------- 3 · MISSION / VISION ---------- */
.ab-mv { padding: clamp(70px, 9vw, 130px) 0; }
.ab-mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ab-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(228,211,192,0.18); padding: clamp(28px, 4vw, 46px); transition: transform 0.4s cubic-bezier(.22,1,.36,1), border-color 0.4s, background 0.4s; }
.ab-card:hover { transform: translateY(-6px); border-color: rgba(228,211,192,0.45); background: rgba(255,255,255,0.06); }
.ab-card__ico { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(228,211,192,0.5); color: var(--acc); margin-bottom: 20px; }
.ab-card__ico svg { width: 26px; height: 26px; }
.ab-card h3 { font-family: 'Dosis', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; font-size: 22px; margin: 0 0 12px; }
@media (max-width: 700px) { .ab-mv__grid { grid-template-columns: 1fr; } }

/* ---------- 4 · WHY CHOOSE ---------- */
.ab-why { padding: 0 0 clamp(70px, 9vw, 130px); text-align: center; }
.ab-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px; }
.ab-feat { padding: 34px 22px; border: 1px solid rgba(228,211,192,0.14); transition: transform 0.4s cubic-bezier(.22,1,.36,1), border-color 0.4s; }
.ab-feat:hover { transform: translateY(-6px); border-color: rgba(228,211,192,0.4); }
.ab-feat__ico { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(228,211,192,0.1); color: var(--acc); transition: background 0.4s, color 0.4s; }
.ab-feat:hover .ab-feat__ico { background: var(--acc); color: #001416; }
.ab-feat__ico svg { width: 26px; height: 26px; }
.ab-feat h3 { font-family: 'Dosis', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; font-size: 17px; margin: 0; }
@media (max-width: 900px) { .ab-why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ab-why__grid { grid-template-columns: 1fr; } }

/* ---------- 5 · BEHIND THE CRAFT ---------- */
.ab-craft { padding: 0 0 clamp(70px, 9vw, 130px); text-align: center; }
.ab-craft__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.ab-step { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.ab-step img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s cubic-bezier(.22,1,.36,1); }
.ab-step:hover img { transform: scale(1.08); }
.ab-step::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,20,22,0.9), rgba(0,20,22,0.05)); }
.ab-step__c { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px; }
.ab-step__n { display: block; font-family: 'Dosis', sans-serif; color: var(--acc); font-size: 13px; letter-spacing: 0.2em; }
.ab-step__t { display: block; font-family: 'Dosis', sans-serif; color: #fff; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-size: 18px; margin-top: 4px; }
@media (max-width: 760px) { .ab-craft__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 6 · TESTIMONIALS ---------- */
.ab-tst { padding: 0 0 clamp(70px, 9vw, 130px); text-align: center; }
.ab-tst__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; text-align: left; }
.ab-quote { background: rgba(255,255,255,0.05); border: 1px solid rgba(228,211,192,0.2); backdrop-filter: blur(6px); padding: 34px 30px; display: flex; flex-direction: column; transition: transform 0.4s cubic-bezier(.22,1,.36,1), border-color 0.4s; }
.ab-quote:hover { transform: translateY(-6px); border-color: rgba(228,211,192,0.45); }
.ab-quote__stars { color: var(--acc); letter-spacing: 3px; font-size: 15px; margin-bottom: 16px; }
.ab-quote p { color: var(--ink); font-style: italic; font-size: 15.5px; line-height: 1.8; flex: 1; }
/* "Translated from …" provenance note under a review whose original was
   written in another language (same idea as .dm-testi-src on the home page).
   A caption, not body copy: small, upright, tan-muted, subordinate to the
   quote. `flex: none` is essential - .ab-quote is a flex column and
   `.ab-quote p` is flex:1, so without it the note would share the free space
   and pull the card's quote/attribution rhythm apart. !important + the extra
   weight of the second selector are needed because divano-modern.css and
   mobile.css both size `.ab-quote p` with !important. */
.ab-quote .ab-quote__src,
.ab-tst__grid .ab-quote p.ab-quote__src {
  flex: none;
  margin: 10px 0 0;
  font-family: 'Dosis', 'Open Sans', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 500;
  font-style: normal;
  line-height: 1.6 !important;
  letter-spacing: 0.06em !important;
  color: rgba(228, 211, 192, 0.6);
}
.ab-quote__by { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(228,211,192,0.16); }
.ab-quote__name { display: block; font-family: 'Dosis', sans-serif; color: #fff; font-weight: 600; letter-spacing: 0.06em; font-size: 16px; }
.ab-quote__role { display: block; color: var(--acc); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 3px; }
/* Mobile: don't stack the three reviews - turn them into a horizontal
   swipe rail (one card shown, next peeking), matching the home page. */
@media (max-width: 860px) {
  .ab-tst__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(85%, 360px);
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: none;
    margin-inline: 0;
    padding-bottom: 10px;
  }
  .ab-tst__grid::-webkit-scrollbar { display: none; }
  .ab-quote { scroll-snap-align: center; }
}

/* ---------- 7 · CTA ---------- */
.ab-cta { text-align: center; overflow: hidden; padding: clamp(80px, 11vw, 150px) 0; }
.ab-cta__bg { position: absolute; inset: 0; z-index: 0; }
.ab-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.ab-cta::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(0,20,22,0.82), rgba(0,20,22,0.9)); }
.ab-cta .wrap { position: relative; z-index: 2; }
.ab-cta p { color: var(--ink); max-width: 46ch; margin: 0 auto 30px; }
.ab-cta__btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 40px; border: 1px solid var(--acc); color: var(--acc); font-family: 'Dosis', sans-serif; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-size: 14px; position: relative; overflow: hidden; isolation: isolate; transition: color 0.4s, transform 0.4s; }
.ab-cta__btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--acc); transform: scaleX(0); transform-origin: right; transition: transform 0.45s cubic-bezier(.22,1,.36,1); }
.ab-cta__btn:hover { color: #001416; transform: translateY(-2px); }
.ab-cta__btn:hover::before { transform: scaleX(1); transform-origin: left; }

/* ---------- Google reviews link (under testimonials) ---------- */
.ab-tst__google { text-align: center; margin: 36px 0 0; }
.ab-tst__google a {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Dosis', sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--acc); border-bottom: 1px solid rgba(228,211,192,0.35);
  padding-bottom: 6px; transition: border-color 0.35s, color 0.35s;
}
.ab-tst__google a:hover { color: #fff; border-color: var(--acc); }
.ab-tst__gstars { color: var(--acc); letter-spacing: 0.15em; font-size: 13px; }
