/* ==========================================================================
   Tamkeen Law Firm — public site
   Colors come from CSS variables injected by index.php (dashboard → appearance)
   ========================================================================== */

:root {
  --primary: #1E3A78;
  --accent: #3CBFC8;
  --dark: #0F1F45;
  --ink: #1a2440;
  --muted: #64708a;
  --line: #e4e9f2;
  --soft: #f4f7fb;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px rgba(15, 31, 69, .08);
  --shadow-lg: 0 25px 60px rgba(15, 31, 69, .16);
  --header-h: 90px;
  --topbar-h: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Tajawal", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.lang-en { font-family: "Inter", "Tajawal", system-ui, sans-serif; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 800; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 40px); }

.icon { width: 22px; height: 22px; flex-shrink: 0; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 20px; font-size: 15px; }
.btn--lg { padding: 16px 32px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--dark); box-shadow: 0 10px 25px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn--accent:hover { box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 55%, transparent); }
.btn--primary { background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, var(--accent))); color: #fff; box-shadow: 0 10px 25px color-mix(in srgb, var(--primary) 30%, transparent); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
body.has-topbar { --topbar-h: 42px; }
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 6px 30px rgba(15, 31, 69, .08); --header-h: 76px; }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; transition: height .3s; }

/* Top bar: contact info + social links */
.topbar { height: var(--topbar-h); overflow: hidden; background: var(--dark); color: rgba(255, 255, 255, .75); font-size: 13.5px; transition: margin-top .35s var(--ease); }
.header.is-scrolled .topbar { margin-top: calc(-1 * var(--topbar-h)); }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__info { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar__info > a, .topbar__hours { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: color .2s; }
.topbar__info > a:hover { color: var(--accent); }
.topbar__info .icon { width: 15px; height: 15px; color: var(--accent); }
.topbar__social { display: flex; align-items: center; gap: 4px; }
.topbar__social > span { margin-inline-end: 8px; font-weight: 600; color: rgba(255, 255, 255, .55); }
.topbar__icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: rgba(255, 255, 255, .8); transition: background .2s, color .2s, transform .2s; }
.topbar__icon:hover { background: var(--accent); color: var(--dark); transform: translateY(-2px); }
.topbar__icon .icon { width: 15px; height: 15px; }

/* Social buttons (mobile menu + contact section) */
.social-btn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--primary); transition: background .25s, color .25s, transform .25s, box-shadow .25s; }
.social-btn .icon { width: 20px; height: 20px; }
.social-btn:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.social-btn--brand { background: #fff; border: 1px solid var(--line); }
.social-btn--brand:hover { border-color: transparent; color: #fff; background: var(--brand, var(--primary)); box-shadow: 0 10px 22px color-mix(in srgb, var(--brand, var(--primary)) 35%, transparent); }
[data-net="whatsapp"]  { --brand: #25D366; }
[data-net="facebook"]  { --brand: #1877F2; }
[data-net="instagram"] { --brand: #E1306C; }
[data-net="x"]         { --brand: #000000; }
[data-net="linkedin"]  { --brand: #0A66C2; }
[data-net="tiktok"]    { --brand: #111111; }
[data-net="snapchat"]  { --brand: #F7D500; }
[data-net="youtube"]   { --brand: #FF0000; }
.social-btn--brand[data-net="instagram"]:hover { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); }
.nav__social { display: none; }

.follow { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.follow__title { font-weight: 800; color: var(--primary); }
.follow__icons { display: flex; flex-wrap: wrap; gap: 8px; }
.brand img { height: 66px; width: auto; transition: height .3s; }
.header.is-scrolled .brand img { height: 56px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a:not(.btn) {
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15.5px; color: var(--ink);
  transition: color .2s, background .2s;
}
.nav > a:not(.btn):hover, .nav > a.is-active { color: var(--primary); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; }
.lang-switch .icon { width: 18px; height: 18px; color: var(--accent); }
.nav .btn { margin-inline-start: 8px; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--soft); border-radius: 12px; cursor: pointer; padding: 12px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + var(--topbar-h) + 80px) 0 60px;
  background:
    radial-gradient(1200px 600px at 85% -10%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%),
    linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 28px 28px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.ring { position: absolute; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--accent) 45%, transparent); }
.ring--1 { width: 560px; height: 560px; inset-inline-end: -160px; top: 40px; animation: spin 80s linear infinite; }
.ring--2 { width: 400px; height: 400px; inset-inline-end: -80px; top: 120px; border-style: solid; border-color: rgba(255,255,255,.07); }
.ring--3 { width: 260px; height: 260px; inset-inline-start: -90px; bottom: -60px; animation: spin 60s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15);
  color: var(--accent); font-weight: 700; font-size: 15px; margin-bottom: 24px;
}
.eyebrow .icon { width: 18px; height: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 900; margin-bottom: 22px; letter-spacing: -.5px; }
.hero__intro { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .8); max-width: 580px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { display: flex; justify-content: center; }
.hero__photo { position: relative; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid rgba(255,255,255,.1); max-width: 440px; }
.hero__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero__emblem { position: relative; width: min(380px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.hero__emblem::before, .hero__emblem::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--accent) 70%, transparent);
  border-right-color: transparent; border-bottom-color: transparent;
}
.hero__emblem::before { inset: 0; animation: spin 18s linear infinite; }
.hero__emblem::after { inset: 34px; border-color: rgba(255,255,255,.25); border-left-color: transparent; border-top-color: transparent; animation: spin 24s linear infinite reverse; }
.emblem__circle {
  width: 62%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,.03));
  border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px);
  box-shadow: inset 0 0 60px color-mix(in srgb, var(--accent) 25%, transparent), 0 30px 60px rgba(0,0,0,.25);
}
.emblem__icon { width: 46%; height: 46%; color: var(--accent); stroke-width: 1.3; }

.stats {
  position: relative; z-index: 1; margin-top: 70px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); backdrop-filter: blur(10px);
}
.stat { padding: 28px 20px; text-align: center; }
.stat + .stat { border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.stat strong { display: block; font-size: clamp(30px, 3.5vw, 42px); font-weight: 900; color: var(--accent); line-height: 1.1; font-family: "Inter", sans-serif; }
.stat span { color: rgba(255, 255, 255, .78); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--soft { background: var(--soft); }
.section--dark { background: linear-gradient(135deg, var(--dark), var(--primary)); color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section__label {
  display: inline-flex; align-items: center; gap: 10px; color: var(--accent);
  font-weight: 800; font-size: 15px; letter-spacing: .5px; margin-bottom: 12px;
}
.section__label::before { content: ""; width: 32px; height: 2px; background: currentColor; border-radius: 2px; }
.section h2 { font-size: clamp(28px, 3.4vw, 42px); color: var(--primary); }
.section--dark h2 { color: #fff; }

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--team { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__media > img, .about__placeholder {
  width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-lg);
}
.about__placeholder { display: grid; place-items: center; background: #fff; border: 1px solid var(--line); padding: 40px; }
.about__placeholder img { max-width: 80%; }
.about__media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 26px; z-index: -1;
  border: 2px solid var(--accent); opacity: .5;
}
[dir="rtl"] .about__media::before { inset: 24px 24px -24px -24px; }
.about__badge {
  position: absolute; bottom: -26px; inset-inline-end: 30px; width: 84px; height: 84px; border-radius: 22px;
  display: grid; place-items: center; background: var(--accent); color: var(--dark); box-shadow: var(--shadow-lg);
}
.about__badge .icon { width: 40px; height: 40px; }
.about__text h2 { margin-bottom: 22px; }
.about__text p { color: var(--muted); font-size: 17px; }
.about__license { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--radius-sm); background: var(--soft); color: var(--ink) !important; }
.about__license .icon { color: var(--accent); }

/* Service cards */
.card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 36px 30px;
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--primary);
  transition: background .35s, color .35s;
}
.card__icon .icon { width: 32px; height: 32px; }
.card:hover .card__icon { background: var(--primary); color: var(--accent); }
.card h3 { font-size: 21px; color: var(--primary); margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }

/* Why us */
.why { text-align: center; padding: 34px 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .3s; }
.why:hover { background: rgba(255,255,255,.09); transform: translateY(-6px); }
.why__icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--dark); }
.why__icon .icon { width: 34px; height: 34px; }
.why h3 { font-size: 20px; margin-bottom: 10px; }
.why p { color: rgba(255,255,255,.72); margin: 0; }

/* Team */
.member { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.member:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.member__photo { aspect-ratio: 4/4.5; background: linear-gradient(160deg, var(--soft), color-mix(in srgb, var(--accent) 20%, #fff)); overflow: hidden; display: grid; place-items: center; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .member__photo img { transform: scale(1.05); }
.member__initial .icon { width: 90px; height: 90px; color: var(--primary); opacity: .35; stroke-width: 1.2; }
.member__body { padding: 24px; text-align: center; }
.member__body h3 { font-size: 20px; color: var(--primary); }
.member__role { display: inline-block; margin: 6px 0 12px; color: var(--accent); font-weight: 700; font-size: 15px; }
.member__body p { color: var(--muted); font-size: 15px; margin: 0; }

/* Booking */
.booking { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.booking__intro h2 { margin-bottom: 16px; }
.booking__intro > p { color: var(--muted); font-size: 17px; }
.booking__points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.booking__points li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.booking__points .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #fff; color: var(--accent); box-shadow: var(--shadow); }
.booking__card, .contact__card { background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--accent); }
.booking__closed { text-align: center; color: var(--muted); padding: 30px; }
.booking__closed .icon { width: 56px; height: 56px; color: var(--accent); margin: 0 auto 14px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 15.5px; color: var(--ink); background: var(--soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #e04848; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form__alert { display: none; padding: 13px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.form__alert.is-success { display: block; background: #e6f8f1; color: #0b7a55; }
.form__alert.is-error { display: block; background: #fdecec; color: #b42323; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; font-size: 17.5px; color: var(--primary);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__toggle { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--soft); color: var(--accent); transition: transform .3s, background .3s, color .3s; }
.faq__toggle .icon { width: 18px; height: 18px; }
.faq__item[open] .faq__toggle { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq__answer { padding: 0 26px 22px; color: var(--muted); }
.faq__answer p { margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact__info { display: grid; gap: 14px; }
.info { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
a.info:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, var(--accent))); color: #fff; }
.info__icon--wa { background: #25D366; }
.info small { display: block; color: var(--muted); font-size: 13.5px; }
.info strong { font-size: 16px; color: var(--ink); word-break: break-word; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 260px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.footer { background: var(--dark); color: rgba(255,255,255,.72); padding-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { display: inline-block; background: #fff; padding: 10px 16px; border-radius: 14px; margin-bottom: 18px; }
.footer__logo img { height: 56px; width: auto; }
.footer h4 { color: #fff; font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--accent); }
.footer__links, .footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__links a { transition: color .2s, padding .2s; }
.footer__links a:hover { color: var(--accent); padding-inline-start: 6px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: background .25s, color .25s, transform .25s; }
.social a:hover { background: var(--accent); color: var(--dark); transform: translateY(-3px); }
.social .icon { width: 19px; height: 19px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; text-align: center; font-size: 14.5px; }

/* WhatsApp floating button */
.wa-float {
  position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  transition: transform .25s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: pulse 2.2s infinite; z-index: -1; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 32px; height: 32px; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* Toast (non-JS form fallback) */
.toast { position: fixed; top: calc(var(--header-h) + var(--topbar-h) + 16px); inset-inline: 20px; margin: 0 auto; max-width: 520px; z-index: 120; padding: 16px 22px; border-radius: 14px; font-weight: 700; box-shadow: var(--shadow-lg); animation: toast 5s forwards; }
.toast--success { background: #e6f8f1; color: #0b7a55; }
.toast--error { background: #fdecec; color: #b42323; }
@keyframes toast { 0%, 85% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ring, .hero__emblem::before, .hero__emblem::after, .wa-float::before { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .topbar__hours, .topbar__social > span { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  body.has-topbar { --topbar-h: 0px; }
  .topbar { display: none; }
  .nav-toggle { display: flex; }
  .nav__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
  .nav {
    position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 16px 20px 24px; box-shadow: 0 20px 40px rgba(15,31,69,.12);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav > a:not(.btn) { padding: 12px 16px; }
  .nav .btn { margin: 8px 0 0; }
  .hero__inner, .about, .booking, .contact { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__emblem { width: min(260px, 70vw); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .about { gap: 60px; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .brand img { height: 52px; }
  .section { padding: 80px 0; }
  .hero { padding-top: calc(var(--header-h) + var(--topbar-h) + 40px); }
  .hero__actions .btn { width: 100%; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .booking__card, .contact__card { padding: 26px 20px; }
  .stat + .stat { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .footer__grid { grid-template-columns: 1fr; }
}
