/* About & Contact pages — extends main.css */

/* ---------- Shared page hero ---------- */
.phero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(36px, 6vw, 80px) clamp(90px, 12vw, 170px); }
.phero__bg { position: absolute; inset: 0; z-index: -3; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.phero__veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(270deg, rgba(255, 251, 247, .96) 0%, rgba(255, 251, 247, .78) 34%, rgba(255, 251, 247, 0) 62%); }
.phero__grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 960px) { .phero__grid { grid-template-columns: 1fr 1fr; } }
.phero h1 { font-size: clamp(36px, 4.8vw, 66px); line-height: 1.12; font-weight: 900; }
.phero h1 .hl { color: var(--link); }
.phero__lead { font-size: clamp(16px, 1.6vw, 19px); color: #4a4a55; max-width: 520px; margin-top: 16px; line-height: 1.95; }
.phero__clouds { position: absolute; inset-inline: 0; bottom: -2px; height: clamp(70px, 10vw, 150px); color: var(--warm); z-index: 2; }
@media (max-width: 959px) {
  .phero__veil { background: linear-gradient(0deg, rgba(255, 251, 247, .97) 30%, rgba(255, 251, 247, .55) 70%, rgba(255, 251, 247, .2)); }
}

/* animated logo card */
.logo-card {
  justify-self: center; width: min(420px, 86%); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 50% 45%, #fff 0 55%, rgba(255, 255, 255, .6) 70%, rgba(255, 255, 255, 0) 72%);
}
.logo-card::before { content: ""; position: absolute; inset: -4%; border-radius: 50%; border: 2px dashed rgba(0, 182, 200, .45); animation: spin 40s linear infinite; }
.logo-card img { width: 86%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Story / intro ---------- */
.intro { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .intro { grid-template-columns: 1.1fr 1fr; gap: 60px; } }
.bigquote { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 38px); line-height: 1.6; position: relative; }
.bigquote::before { content: "“"; position: absolute; top: -.55em; inset-inline-start: -.1em; font-size: 3.4em; color: var(--pink); line-height: 1; z-index: -1; }
.bigquote mark { background: linear-gradient(transparent 58%, var(--sky) 58%); color: inherit; padding-inline: 4px; border-radius: 4px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-soft); position: relative; overflow: hidden; isolation: isolate; }
.stat::after { content: ""; position: absolute; z-index: -1; width: 120px; height: 120px; border-radius: 50%; background: var(--c); top: -40px; inset-inline-end: -40px; opacity: .7; transition: transform .6s var(--bounce); }
.stat:hover::after { transform: scale(1.4); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(32px, 4vw, 46px); line-height: 1.1; font-weight: 900; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: clamp(30px, 5vw, 70px); padding-block: 20px; }
.timeline__path { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.timeline__path path { fill: none; stroke: var(--aqua); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 14; }
.timeline__path .draw { stroke: var(--turquoise); stroke-dasharray: var(--len); stroke-dashoffset: calc(var(--len) * (1 - var(--p, 0))); }
.tl { position: relative; z-index: 1; display: grid; gap: 18px; align-items: center; }
@media (min-width: 860px) {
  .tl { grid-template-columns: 1fr 1fr; gap: 60px; }
  .tl:nth-child(odd of .tl) .tl__art { order: 2; }
}
.tl__art { display: grid; place-items: center; position: relative; }
.tl__art::before { content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: var(--c); z-index: -1; filter: blur(2px); }
.tl__art img { width: min(320px, 76%); filter: drop-shadow(0 24px 24px rgba(58, 58, 58, .14)); transition: transform .6s var(--bounce); }
.tl:hover .tl__art img { transform: rotate(-4deg) scale(1.05); }
.tl__card { background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3vw, 34px); box-shadow: var(--sh-card); display: grid; gap: 10px; position: relative; }
.tl__year { font-family: var(--font-display); font-weight: 900; font-size: 15px; color: #fff; background: var(--cta); padding: 4px 14px; border-radius: 99px; justify-self: start; }
.tl__card h3 { font-size: clamp(22px, 2.6vw, 30px); }
.tl__card p { color: #55555f; }

/* ---------- Values ---------- */
.values { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value {
  position: relative; border-radius: var(--r-xl); padding: 26px 22px 24px; background: var(--c); overflow: hidden; isolation: isolate;
  display: grid; gap: 8px; align-content: start; min-height: 320px; transition: transform .5s var(--bounce), box-shadow .4s;
}
.value::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pattern) center/200px; opacity: .25; }
.value:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: var(--sh-lift); }
.value img { width: 150px; height: 150px; object-fit: contain; justify-self: center; margin-bottom: 6px; transition: transform .6s var(--bounce); filter: drop-shadow(0 18px 18px rgba(58, 58, 58, .14)); }
.value:hover img { transform: translateY(-8px) rotate(8deg) scale(1.08); }
.value h3 { font-size: 22px; }
.value p { font-size: 14.5px; color: rgba(58, 58, 58, .78); }
.value__n { position: absolute; top: 16px; left: 20px; font-family: var(--font-display); font-weight: 900; font-size: 46px; color: rgba(255, 255, 255, .85); line-height: 1; }

/* ---------- Showroom map ---------- */
.map-wrap { position: relative; border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(70% 70% at 50% 45%, #fff, var(--sky)); box-shadow: var(--sh-card); }
.map-wrap::before { content: ""; position: absolute; inset: 0; background: url("../img/patterns/pt08-scallop-cloud.webp") center/220px; opacity: .25; }
.map { position: relative; max-width: 1100px; margin-inline: auto; }
.map > img { width: 100%; display: block; }
.hot { position: absolute; z-index: 2; transform: translate(50%, -50%); }
.hot__btn {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 137, 154, .35);
  position: relative; transition: transform .35s var(--bounce); color: var(--rose);
}
.hot__btn::before, .hot__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: ripple 2.4s ease-out infinite; }
.hot__btn::after { animation-delay: 1.2s; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(2.3); opacity: 0; } }
.hot__btn .i { width: 20px; height: 20px; }
.hot__btn:hover, .hot.on .hot__btn { transform: scale(1.18); background: var(--rose); color: #fff; }
.hot__pop {
  position: absolute; bottom: calc(100% + 14px); left: 50%; width: 240px; background: #fff; border-radius: 22px; box-shadow: var(--sh-lift);
  padding: 8px; transform: translateX(-50%) translateY(10px) scale(.92); opacity: 0; visibility: hidden; transition: all .35s var(--bounce); text-align: start;
}
.hot.on .hot__pop { opacity: 1; visibility: visible; transform: translateX(-50%); }
.hot__pop img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
.hot__pop b { display: block; font-size: 15px; padding: 8px 8px 0; }
.hot__pop span { display: block; font-size: 12.5px; color: var(--muted); padding: 0 8px 6px; line-height: 1.6; }
.hot__pop::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -9px; border: 9px solid transparent; border-top-color: #fff; }
.map-legend { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 18px; position: relative; }
@media (max-width: 700px) { .hot__btn { width: 30px; height: 30px; } .hot__btn .i { width: 15px; height: 15px; } .hot__pop { width: 190px; } }

/* ---------- Polaroid gallery ---------- */
.polaroids { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 2vw, 22px); padding-block: 10px 30px; }
.polaroid {
  width: clamp(150px, 22vw, 250px); background: #fff; padding: 10px 10px 40px; border-radius: 10px; box-shadow: var(--sh-card); position: relative;
  transform: rotate(var(--r)); transition: transform .5s var(--bounce), box-shadow .4s; margin: 0;
}
.polaroid:hover { transform: rotate(0) scale(1.08) translateY(-10px); z-index: 2; box-shadow: var(--sh-lift); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.polaroid figcaption { position: absolute; bottom: 10px; inset-inline: 0; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.polaroid::before { content: ""; position: absolute; top: -12px; left: 50%; width: 70px; height: 24px; margin-left: -35px; background: rgba(255, 207, 226, .85); transform: rotate(-4deg); border-radius: 3px; }
.polaroid:nth-child(3n)::before { background: rgba(79, 219, 212, .7); }
.polaroid:nth-child(3n+1)::before { background: rgba(217, 198, 255, .85); }

/* ---------- Mascot meet ---------- */
.meet { position: relative; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--sky), var(--lilac)); padding: clamp(24px, 4vw, 50px); overflow: hidden; isolation: isolate; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .meet { grid-template-columns: 1fr 1.3fr; } }
.meet::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/patterns/pt03-confetti.webp") center/300px; opacity: .35; }
.meet__stage { position: relative; aspect-ratio: 1; max-width: 380px; justify-self: center; width: 100%; }
.meet__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.85) rotate(-6deg); transition: all .6s var(--bounce); }
.meet__stage img.on { opacity: 1; transform: none; }
.meet__stage::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.meet__poses { display: flex; gap: 8px; flex-wrap: wrap; }
.meet__poses button { width: 64px; height: 64px; border-radius: 20px; background: rgba(255, 255, 255, .7); padding: 4px; transition: all .3s var(--bounce); }
.meet__poses button img { width: 100%; height: 100%; object-fit: contain; }
.meet__poses button[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 3px var(--turquoise); transform: translateY(-4px); }
.meet__say { min-height: 3.6em; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; padding: clamp(30px, 5vw, 70px); text-align: center; display: grid; justify-items: center; gap: 14px; background: linear-gradient(135deg, var(--blush), var(--lilac) 50%, var(--sky)); }
.cta-band h2 { font-size: clamp(28px, 4vw, 50px); }
.cta-band p { max-width: 520px; color: #4a4a55; }

/* ==========================================================================
   Contact
   ========================================================================== */
.chero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(30px, 5vw, 70px) clamp(80px, 10vw, 140px); background: radial-gradient(60% 80% at 15% 30%, rgba(79, 219, 212, .35), transparent 60%), radial-gradient(50% 70% at 85% 20%, rgba(217, 198, 255, .6), transparent 60%), radial-gradient(60% 60% at 50% 100%, rgba(255, 207, 226, .8), transparent 60%), linear-gradient(180deg, #F3FCFF, var(--warm)); }
.chero__grid { display: grid; gap: 20px; align-items: center; }
@media (min-width: 960px) { .chero__grid { grid-template-columns: 1.1fr 1fr; } }
.chero h1 { font-size: clamp(36px, 5vw, 68px); line-height: 1.15; font-weight: 900; }
.chero__mascot { position: relative; width: min(460px, 90%); justify-self: center; aspect-ratio: 1; }
.chero__mascot > img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; z-index: 2; animation: float 6s ease-in-out infinite; }
.chero__mascot::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, #fff 0 55%, rgba(255, 255, 255, 0) 70%); }
.orbit { position: absolute; inset: 0; animation: spin 26s linear infinite; z-index: 1; }
.orbit img { position: absolute; width: 22%; animation: spin 26s linear infinite reverse; filter: drop-shadow(0 10px 12px rgba(58, 58, 58, .14)); }
.online { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 99px; padding: 8px 16px 8px 12px; box-shadow: var(--sh-soft); font-size: 14px; font-weight: 700; }
.online i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(30, 158, 116, .18); animation: pulse 2s infinite; }
.online.off i { background: #E8772E; box-shadow: 0 0 0 4px rgba(232, 119, 46, .18); }

.channels { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-top: calc(clamp(60px, 8vw, 110px) * -1); position: relative; z-index: 3; }
@media (min-width: 960px) { .channels { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.channel {
  background: #fff; border-radius: var(--r-xl); padding: 20px 18px; box-shadow: var(--sh-card); display: grid; gap: 6px; justify-items: center; text-align: center;
  transition: transform .5s var(--bounce), box-shadow .4s; position: relative; overflow: hidden; isolation: isolate;
}
.channel::before { content: ""; position: absolute; z-index: -1; inset-inline: 0; top: 0; height: 52%; background: var(--c); border-radius: 0 0 50% 50% / 0 0 30% 30%; transition: height .5s var(--ease); }
.channel:hover { transform: translateY(-10px); box-shadow: var(--sh-lift); }
.channel:hover::before { height: 60%; }
.channel img { width: 110px; height: 110px; object-fit: contain; transition: transform .6s var(--bounce); filter: drop-shadow(0 14px 14px rgba(58, 58, 58, .14)); }
.channel:hover img { transform: translateY(-6px) rotate(-10deg) scale(1.08); }
.channel b { font-size: 17px; margin-top: 4px; }
.channel span { font-size: 13px; color: var(--muted); }
.channel .val { font-family: var(--font-display); font-weight: 800; font-size: 15px; direction: ltr; color: var(--charcoal); }
.channel .btn { margin-top: 8px; }

/* form */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.25fr 1fr; align-items: start; } }
.cform { background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--sh-card); display: grid; gap: 16px; position: relative; overflow: hidden; }
.cform h2 { font-size: clamp(24px, 3vw, 34px); }
.cform .row { display: grid; gap: 14px; }
@media (min-width: 640px) { .cform .row { grid-template-columns: 1fr 1fr; } }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.fld { position: relative; }
.fld input, .fld textarea {
  width: 100%; border: 0; outline: 0; background: var(--warm); border-radius: 18px; padding: 24px 18px 8px; font-size: 15px;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .25s, background .25s; resize: vertical;
}
.fld textarea { min-height: 140px; }
.fld label { position: absolute; top: 16px; inset-inline-start: 18px; color: var(--muted); font-size: 14.5px; pointer-events: none; transition: all .25s var(--ease); }
.fld input:focus, .fld textarea:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--aqua), 0 0 0 6px rgba(79, 219, 212, .15); }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label, .fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label { top: 7px; font-size: 11.5px; color: var(--link); font-weight: 700; }
.fld.bad input, .fld.bad textarea { box-shadow: inset 0 0 0 2px var(--rose); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(6px); } 50% { transform: translateX(-5px); } 75% { transform: translateX(3px); } }
.fld .count { position: absolute; bottom: 10px; left: 14px; font-size: 11.5px; color: var(--muted); }
.cform__send { justify-self: start; }
.cform__send.flying .i { animation: planeFly 1s cubic-bezier(.5, -0.4, .7, 1) forwards; }
@keyframes planeFly { to { transform: translate(-260px, -120px) rotate(-25deg) scale(.4); opacity: 0; } }
.cform__done { position: absolute; inset: 0; background: #fff; display: grid; place-items: center; text-align: center; padding: 30px; gap: 10px; align-content: center; opacity: 0; visibility: hidden; transform: scale(.96); transition: all .5s var(--bounce); }
.cform.sent .cform__done { opacity: 1; visibility: visible; transform: none; }
.cform__done img { width: 200px; animation: float 5s ease-in-out infinite; }
.cform__done h3 { font-size: 28px; }

/* visit card */
.visit { border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: var(--sh-card); display: grid; }
.visit__map { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.visit__img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s linear; }
.visit:hover .visit__img { transform: scale(1.08); }
.visit__pin { position: absolute; left: 50%; top: 44%; width: 74px; transform: translate(-50%, -100%); animation: pinDrop 2.4s var(--bounce) infinite; filter: drop-shadow(0 14px 10px rgba(0, 137, 154, .35)); }
@keyframes pinDrop { 0%, 100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, -125%); } }
.visit__shadow { position: absolute; left: 50%; top: 44%; width: 40px; height: 12px; border-radius: 50%; background: rgba(0, 0, 0, .18); transform: translate(-50%, -50%); animation: pinShadow 2.4s var(--bounce) infinite; }
@keyframes pinShadow { 50% { transform: translate(-50%, -50%) scale(.6); opacity: .5; } }
.visit__body { padding: 22px; display: grid; gap: 12px; }
.visit__body h3 { font-size: 24px; }
.hours { display: grid; gap: 6px; font-size: 14px; }
.hours div { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 12px; background: var(--warm); }
.hours div.today { background: var(--sky); font-weight: 800; color: var(--link); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 20px; box-shadow: var(--sh-soft); overflow: hidden; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--sh-card); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { width: 34px; height: 34px; border-radius: 12px; background: var(--c, var(--sky)); display: grid; place-items: center; flex: none; font-family: var(--font-display); }
.faq summary .i { margin-inline-start: auto; transition: transform .35s var(--bounce); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq .a { padding: 0 20px 18px 66px; color: #55555f; font-size: 14.5px; animation: fadeUp .4s var(--ease); }
[dir="rtl"] .faq .a { padding: 0 66px 18px 20px; }

/* mobile refinements */
.phero__grid > *, .chero__grid > *, .intro > *, .contact-grid > * { min-width: 0; }
@media (max-width: 760px) {
  .phero .fx, .chero > .sticker-img { display: none; }
  .phero h1, .chero h1 { font-size: clamp(32px, 9vw, 44px); }
  .logo-card { width: 72%; }
}

/* mobile: page heroes show the illustration as a band, copy sits on clean background */
@media (max-width: 959px) {
  .phero { padding-top: 200px; padding-bottom: 70px; }
  .phero__bg { bottom: auto; height: 270px; }
  .phero__bg img { object-position: 30% center; }
  .phero__veil { background: linear-gradient(180deg, rgba(255, 251, 247, 0) 0, rgba(255, 251, 247, 0) 120px, rgba(255, 251, 247, .9) 210px, var(--warm) 270px); }
  .phero .logo-card { width: 64%; margin-top: 10px; }
  .phero__lead { margin-top: 10px; }
  .phero .hero__ctas { margin-top: 18px; }
  .chero h1 br { display: none; }
  .timeline__path { display: none; }
  .tl__card { margin-top: -30px; }
  .stats .stat b { font-size: 30px; }
  .map-legend { display: none; }
  .meet { text-align: center; }
  .meet .eyebrow { justify-self: center !important; }
  .meet__poses { justify-content: center; }
}
