/* =========================================================
   أشرف عجايبي — Landing page
   Style: Liquid Glass (iOS-inspired) on the brand palette
   deep green / ivory / antique gold — soft, rounded, no hard edges
   ========================================================= */

:root {
  --green: #0F2E25;
  --green-2: #1C4A3C;
  --gold: #B8975A;
  --gold-light: #E3C98E;
  --gold-deep: #8C6B33;
  --gold-text: #7A5C26;
  --gold-grad: linear-gradient(135deg, #E3C98E 0%, #B8975A 50%, #8C6B33 100%);
  --ivory: #F5F0E6;
  --ivory-2: #EDE6D7;
  --charcoal: #1B1B1B;
  --muted-light: #4A4A44;
  --on-dark: #F5F0E6;
  --on-dark-muted: #C9C3B4;

  --f-head: "Amiri", "Times New Roman", serif;
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --f-en: "Cormorant Garamond", Georgia, serif;

  --header-h: 80px;
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 30px;
  --r-pill: 999px;
  --gutter: 20px;
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Dark liquid glass */
  --glass-dark-bg: linear-gradient(150deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .04) 45%, rgba(255, 255, 255, .02) 100%);
  --glass-dark-border: rgba(227, 201, 142, .22);
  --glass-dark-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .20),
    inset 0 -1px 0 rgba(0, 0, 0, .18),
    inset 0 0 24px rgba(227, 201, 142, .04),
    0 24px 48px -24px rgba(0, 0, 0, .55);

  /* Light liquid glass */
  --glass-light-bg: linear-gradient(150deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .52) 55%, rgba(255, 255, 255, .40) 100%);
  --glass-light-border: rgba(255, 255, 255, .85);
  --glass-light-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(122, 92, 38, .08),
    0 24px 50px -28px rgba(15, 46, 37, .35),
    0 2px 6px -2px rgba(15, 46, 37, .08);

  --blur: blur(22px) saturate(160%);

  --texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  background: var(--green);
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.35; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 10px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 200;
  background: var(--gold);
  color: var(--green);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.ic { width: 20px; height: 20px; flex: none; }

.placeholder {
  display: inline-block;
  padding: 0 .6em;
  border-radius: var(--r-pill);
  background: rgba(184, 151, 90, .14);
  box-shadow: inset 0 0 0 1px rgba(184, 151, 90, .35);
  font-size: .88em;
  line-height: 1.7;
  white-space: nowrap;
}

/* =========================================================
   GLASS PRIMITIVES
   ========================================================= */
.service-card,
.step-num,
.scroll-cue,
.social a,
.hero .portrait-frame,
.cta-glass {
  background: var(--glass-dark-bg);
  border: 1px solid var(--glass-dark-border);
  box-shadow: var(--glass-dark-shadow);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

.notice-card,
.why-item,
.acc-item,
.info-list,
.map-wrap,
.portrait-frame--light {
  background: var(--glass-light-bg);
  border: 1px solid var(--glass-light-border);
  box-shadow: var(--glass-light-shadow);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

/* ---------- Dark sections: soft colour fields for the glass to refract ---------- */
.textured {
  position: relative;
  background-color: var(--green);
  background-image:
    var(--texture),
    radial-gradient(38% 42% at 12% 8%, rgba(46, 110, 88, .55), transparent 70%),
    radial-gradient(34% 40% at 88% 92%, rgba(28, 74, 60, .75), transparent 70%),
    radial-gradient(26% 30% at 80% 18%, rgba(184, 151, 90, .13), transparent 70%),
    radial-gradient(24% 28% at 25% 85%, rgba(184, 151, 90, .08), transparent 70%);
  color: var(--on-dark);
}

.section-ivory {
  background:
    radial-gradient(36% 44% at 88% 6%, rgba(184, 151, 90, .20), transparent 70%),
    radial-gradient(40% 46% at 6% 94%, rgba(28, 74, 60, .13), transparent 70%),
    radial-gradient(30% 34% at 50% 55%, rgba(227, 201, 142, .12), transparent 70%),
    var(--ivory);
  color: var(--charcoal);
}

section { padding-block: 88px; }

/* ---------- Typographic helpers ---------- */
.eyebrow-en {
  font-family: var(--f-en);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .8rem;
  color: var(--gold);
  margin-bottom: .75rem;
}
.eyebrow-en--dark { color: var(--gold-text); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title { font-size: clamp(2rem, 5vw, 2.75rem); color: inherit; }
.section-ivory .section-title { color: var(--green); }
.section-lead { color: var(--on-dark-muted); margin: 0; font-size: 1.05rem; }

/* Soft ornament divider: rounded lines + glowing pearl */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 22px;
  color: var(--gold);
}
.ornament i {
  display: block;
  width: 56px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, currentColor);
  opacity: .8;
}
.ornament i:last-child { background: linear-gradient(90deg, currentColor, transparent); }
.ornament b {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: 0 0 10px rgba(227, 201, 142, .6);
}
.ornament--start { justify-content: flex-start; }
.section-ivory .ornament { color: var(--gold-text); }
.section-ivory .ornament b { box-shadow: 0 0 8px rgba(184, 151, 90, .45); }

/* ---------- Buttons (pills) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 30px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
/* glossy specular highlight on the top half */
.btn::before {
  content: "";
  position: absolute;
  inset: 1px 10px 50% 10px;
  border-radius: var(--r-pill) var(--r-pill) 50% 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0));
  opacity: .55;
  z-index: -1;
  pointer-events: none;
}
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 44px; padding: 8px 22px; font-size: .95rem; }
.btn-lg { min-height: 58px; padding: 14px 38px; font-size: 1.08rem; }
.btn-block { width: 100%; }

.btn-gold {
  background: var(--gold-grad);
  color: var(--green);
  border-color: rgba(255, 255, 255, .35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -2px 6px rgba(140, 107, 51, .35),
    0 10px 26px -10px rgba(184, 151, 90, .75);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 6px rgba(140, 107, 51, .35), 0 16px 32px -12px rgba(184, 151, 90, .9);
}

.btn-outline {
  background: linear-gradient(150deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  color: var(--gold-light);
  border-color: rgba(227, 201, 142, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 24px -16px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.btn-outline::before { opacity: .25; }
.btn-outline:hover { background: linear-gradient(150deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); color: #fff; }

.btn-green {
  background: linear-gradient(160deg, #1C4A3C 0%, #0F2E25 70%);
  color: var(--ivory);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 12px 26px -14px rgba(15, 46, 37, .8);
}
.btn-green::before { opacity: .25; }
.btn-green:hover { transform: translateY(-2px); }

/* =========================================================
   HEADER — floating glass capsule
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  margin-bottom: calc(-1 * var(--header-h));
  padding: 12px var(--gutter) 0;
  pointer-events: none;
  color: var(--on-dark);
}

.header-inner {
  position: relative;
  isolation: isolate;
  pointer-events: auto;
  height: 100%;
  max-width: calc(var(--maxw) - 2 * var(--gutter));
  padding-inline: 18px 10px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* glass lives on a pseudo-element so the fixed mobile menu is not trapped by backdrop-filter */
.header-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(28, 74, 60, .55), rgba(15, 46, 37, .55));
  border: 1px solid rgba(227, 201, 142, .25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 -1px 0 rgba(0, 0, 0, .2),
    0 12px 32px -16px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled .header-inner::before {
  background: linear-gradient(150deg, rgba(28, 74, 60, .8), rgba(15, 46, 37, .84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -1px 0 rgba(0, 0, 0, .2), 0 18px 40px -16px rgba(0, 0, 0, .6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.brand-emblem { width: 34px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--ivory);
}
.brand-sub {
  font-size: .66rem;
  line-height: 1.4;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav ul { display: flex; gap: 4px; }
.main-nav a:not(.btn) {
  display: block;
  text-decoration: none;
  font-size: .96rem;
  font-weight: 500;
  color: var(--on-dark);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.main-nav a:not(.btn):hover { background: rgba(255, 255, 255, .08); color: var(--gold-light); }
.main-nav a.is-active {
  background: rgba(227, 201, 142, .14);
  color: var(--gold-light);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.nav-cta { display: none; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(227, 201, 142, .35);
  background: linear-gradient(150deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-light);
  transition: transform .3s var(--ease), 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); }

@media (max-width: 1023px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    inset-inline: var(--gutter);
    padding: 12px 12px 14px;
    border-radius: var(--r-lg);
    background: linear-gradient(160deg, rgba(28, 74, 60, .86), rgba(15, 46, 37, .92));
    border: 1px solid rgba(227, 201, 142, .25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 30px 60px -20px rgba(0, 0, 0, .65);
    -webkit-backdrop-filter: blur(26px) saturate(170%);
    backdrop-filter: blur(26px) saturate(170%);
    transform: translateY(-10px) scale(.97);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
    max-height: calc(100vh - var(--header-h) - 30px);
    overflow-y: auto;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s var(--ease), transform .3s var(--ease);
  }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a:not(.btn) { padding: 13px 18px; font-size: 1.05rem; border-radius: var(--r-md); }
  .nav-cta { display: flex; width: 100%; margin-top: 10px; min-height: 52px; }
}

@media (max-width: 380px) {
  .brand-sub { font-size: .58rem; }
  .brand-name { font-size: 1.15rem; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 36px) 80px;
  overflow: hidden;
}
.hero::before {
  /* faint watermark emblem */
  content: "";
  position: absolute;
  inset-inline-start: -6%;
  top: 50%;
  width: 520px;
  height: 676px;
  transform: translateY(-50%);
  background: url("../assets/logo/agaiby-emblem-ivory.svg") no-repeat center / contain;
  opacity: .025;
  pointer-events: none;
}
.hero::after {
  /* warm glow behind the portrait */
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(184, 151, 90, .22), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.hero-portrait { order: -1; justify-self: center; width: min(78vw, 360px); }
.hero-text { text-align: center; }

.hero h1 {
  font-size: clamp(2.75rem, 11vw, 5rem);
  line-height: 1.15;
  color: var(--ivory);
}
.hero-tagline {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(1.3rem, 5vw, 2rem);
  margin: .35em 0 0;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--gold);
  -webkit-text-fill-color: transparent;
}
.hero .ornament { margin-block: 22px; }
.hero-lead {
  font-size: clamp(1.05rem, 3.6vw, 1.2rem);
  color: var(--on-dark-muted);
  max-width: 34em;
  margin-inline: auto;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}
.hero-actions .btn { width: 100%; }

/* Portrait in a rounded glass frame */
.portrait-frame {
  position: relative;
  margin: 0;
  padding: 12px;
  border-radius: var(--r-lg);
}
.portrait-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: calc(var(--r-lg) - 10px);
  box-shadow: 0 0 0 1px rgba(227, 201, 142, .45);
}
.portrait-frame::after {
  /* glass sheen across the frame */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 32%);
  pointer-events: none;
}
.hero .portrait-frame {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 0 70px -10px rgba(184, 151, 90, .4),
    0 34px 70px -30px rgba(0, 0, 0, .75);
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-light);
}
.scroll-cue svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue svg { animation: cue 2.4s ease-in-out infinite; }
}
@keyframes cue { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }

@media (min-width: 600px) {
  .hero-actions { flex-direction: row; justify-content: center; }
  .hero-actions .btn { width: auto; }
}

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 72px; }
  .hero-portrait { order: 0; width: 100%; max-width: 460px; justify-self: start; }
  .hero-text { text-align: start; }
  .hero .ornament { justify-content: flex-start; }
  .hero-lead { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero::after { left: 22%; top: 50%; transform: translate(-50%, -50%); }
}

/* =========================================================
   NOTICE
   ========================================================= */
.notice {
  padding-block: 64px;
  background:
    radial-gradient(40% 70% at 90% 20%, rgba(184, 151, 90, .22), transparent 70%),
    radial-gradient(40% 70% at 10% 90%, rgba(28, 74, 60, .14), transparent 70%),
    var(--ivory-2);
}
.notice-card {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 30px 24px;
  border-radius: var(--r-lg);
}
.notice-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-text);
  background: linear-gradient(150deg, rgba(227, 201, 142, .35), rgba(184, 151, 90, .12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 20px -10px rgba(122, 92, 38, .5);
}
.notice-icon svg { width: 32px; height: 32px; }
.notice-body h2 {
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  color: var(--green);
  margin-bottom: 12px;
}
.notice-body p { color: var(--muted-light); }
.notice-body strong { color: var(--green); font-weight: 600; }
.notice-list { display: grid; gap: 8px; margin-top: 4px; }
.notice-list li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--charcoal);
  font-weight: 500;
}
.notice-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: 0 0 6px rgba(184, 151, 90, .5);
}
.notice-card .btn { width: 100%; }

@media (min-width: 960px) {
  .notice-card {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 36px;
    padding: 40px 44px;
  }
  .notice-card .btn { width: auto; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-inner {
  display: grid;
  gap: 44px;
  align-items: center;
}
.about-portrait { width: min(80vw, 380px); justify-self: center; }
.about-portrait img { aspect-ratio: 4 / 5; object-position: 50% 20%; box-shadow: 0 0 0 1px rgba(184, 151, 90, .5); }
.about-text p { color: var(--muted-light); }
.about-text strong { color: var(--green); font-weight: 600; }
.about-text .placeholder { color: var(--gold-text); }

.signature {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-block: 10px;
  padding-inline: 12px 26px;
  border-radius: var(--r-pill);
  background: var(--glass-light-bg);
  border: 1px solid var(--glass-light-border);
  box-shadow: var(--glass-light-shadow);
}
.signature img { width: 36px; height: auto; }
.signature div { display: flex; flex-direction: column; }
.signature-name { font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; color: var(--green); line-height: 1.3; }
.signature-role { font-size: .85rem; color: var(--gold-text); }

@media (min-width: 960px) {
  .about-inner { grid-template-columns: 380px 1fr; gap: 80px; }
  .about-portrait { width: 100%; }
}

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid {
  display: grid;
  gap: 16px;
}
.service-card {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card::before {
  /* specular highlight */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 60% at 85% -10%, rgba(255, 255, 255, .14), transparent 55%);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 201, 142, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 30px 60px -26px rgba(0, 0, 0, .6), 0 0 40px -18px rgba(184, 151, 90, .45);
}
.service-icon {
  width: 64px;
  height: 64px;
  padding: 14px;
  border-radius: 50%;
  color: var(--gold-light);
  background: linear-gradient(150deg, rgba(227, 201, 142, .2), rgba(184, 151, 90, .05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(227, 201, 142, .28);
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.32rem; color: var(--ivory); margin-bottom: 10px; }
.service-card p { color: var(--on-dark-muted); font-size: .98rem; margin: 0; line-height: 1.8; }

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* =========================================================
   WHY
   ========================================================= */
.why-grid {
  display: grid;
  gap: 14px;
}
.why-item {
  padding: 30px 22px;
  text-align: center;
  border-radius: var(--r-lg);
  transition: transform .4s var(--ease);
}
.why-item:hover { transform: translateY(-4px); }
.why-icon {
  width: 68px;
  height: 68px;
  padding: 15px;
  border-radius: 50%;
  color: var(--gold-text);
  background: linear-gradient(150deg, rgba(227, 201, 142, .4), rgba(184, 151, 90, .1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 10px 22px -12px rgba(122, 92, 38, .55);
  margin: 0 auto 16px;
}
.why-item h3 { font-size: 1.32rem; color: var(--green); margin-bottom: 8px; }
.why-item p { color: var(--muted-light); margin: 0; font-size: .98rem; }
.why-item .placeholder { color: var(--gold-text); }

@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================
   STEPS
   ========================================================= */
.steps-list {
  display: grid;
  gap: 40px;
  position: relative;
}
.step { text-align: center; position: relative; }
.step-num {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--gold-light);
}
.step-num::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(227, 201, 142, .35);
}
.step h3 { font-size: 1.4rem; color: var(--ivory); margin-bottom: 8px; }
.step p { color: var(--on-dark-muted); max-width: 22em; margin: 0 auto; font-size: .98rem; }

@media (min-width: 900px) {
  .steps-list { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps-list::before {
    content: "";
    position: absolute;
    top: 35px;
    inset-inline: 16.6%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
    opacity: .45;
  }
}

/* =========================================================
   FAQ
   ========================================================= */
.accordion { display: grid; gap: 12px; }
.acc-item {
  border-radius: var(--r-md);
  overflow: hidden;
}
.acc-item h3 { font-family: var(--f-body); font-size: inherit; }
.acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: 0;
  border-radius: var(--r-md);
  text-align: start;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--green);
  cursor: pointer;
}
.acc-btn:hover { color: var(--gold-text); }
.acc-mark {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(227, 201, 142, .4), rgba(184, 151, 90, .12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(122, 92, 38, .25);
  transition: transform .35s var(--ease), background .3s var(--ease);
}
.acc-mark::before,
.acc-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-text);
  transform: translate(-50%, -50%);
  transition: opacity .2s, background-color .3s;
}
.acc-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-mark { background: var(--gold-grad); transform: rotate(180deg); }
.acc-btn[aria-expanded="true"] .acc-mark::before { background: var(--green); }
.acc-btn[aria-expanded="true"] .acc-mark::after { opacity: 0; }
.acc-panel { padding: 0 22px 22px; }
.acc-panel p { margin: 0; color: var(--muted-light); }
.acc-panel a { color: var(--gold-text); font-weight: 600; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { padding-block: 72px; }
.cta-glass {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 24px;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
}
.cta-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(70% 60% at 50% -10%, rgba(227, 201, 142, .18), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, .1), transparent 35%);
  pointer-events: none;
}
.cta-emblem { width: 56px; height: auto; margin-bottom: 18px; position: relative; }
.cta-band h2 { font-size: clamp(1.9rem, 6vw, 3rem); color: var(--ivory); margin-bottom: 12px; position: relative; }
.cta-band p { color: var(--on-dark-muted); margin-bottom: 28px; position: relative; }
@media (min-width: 768px) { .cta-glass { padding: 60px 40px; } }
@media (max-width: 479px) { .cta-band .btn { width: 100%; white-space: normal; } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; gap: 28px; }
.info-list {
  display: grid;
  padding: 6px 22px;
  border-radius: var(--r-lg);
}
.info-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
}
.info-list li + li { border-top: 1px solid rgba(122, 92, 38, .14); }
.info-icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 50%;
  color: var(--gold-text);
  background: linear-gradient(150deg, rgba(227, 201, 142, .4), rgba(184, 151, 90, .1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95);
  flex: none;
}
.info-list div { display: flex; flex-direction: column; min-width: 0; }
.info-label { font-size: .85rem; color: var(--gold-text); font-weight: 600; }
.info-list a { color: var(--green); font-weight: 600; text-decoration: none; font-size: 1.08rem; align-self: flex-start; }
.info-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.info-list .placeholder { color: var(--muted-light); align-self: flex-start; }

.map-wrap {
  margin-top: 18px;
  padding: 8px;
  border-radius: var(--r-lg);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: calc(var(--r-lg) - 8px);
  filter: grayscale(.35) sepia(.12);
}

.contact-form {
  position: relative;
  overflow: hidden;
  padding: 30px 22px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(60% 50% at 90% 0%, rgba(184, 151, 90, .2), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgba(46, 110, 88, .45), transparent 70%),
    var(--green);
  color: var(--on-dark);
  border: 1px solid rgba(227, 201, 142, .25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 30px 60px -30px rgba(15, 46, 37, .7);
  align-self: start;
}
.contact-form h3 { font-size: 1.6rem; color: var(--ivory); margin-bottom: 4px; }
.form-note { font-size: .9rem; color: var(--on-dark-muted); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .92rem; font-weight: 500; margin-bottom: 6px; color: var(--gold-light); padding-inline: 6px; }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(227, 201, 142, .28);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18);
  color: var(--ivory);
  font: inherit;
  font-size: 1rem;
  line-height: 1.6;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field input { border-radius: var(--r-pill); }
.field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; min-height: 110px; border-radius: var(--r-md); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(201, 195, 180, .7); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18), 0 0 0 4px rgba(227, 201, 142, .16);
}
.field input[aria-invalid="true"] { border-color: #E2A28F; }
.field-error { display: block; font-size: .85rem; color: #F0B9A8; margin-top: 4px; padding-inline: 14px; }
.field-error:empty { display: none; }

@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; }
  .contact-form { padding: 40px 36px; }
  .map-wrap iframe { height: 300px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { padding-block: 56px 0; }
.footer-inner {
  display: grid;
  gap: 30px;
  justify-items: center;
  text-align: center;
  padding-bottom: 36px;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-brand img { width: 64px; height: auto; }
.footer-name { font-family: var(--f-head); font-weight: 700; font-size: 1.6rem; margin: 0; color: var(--ivory); line-height: 1.3; }
.footer-sub { font-size: .88rem; color: var(--gold); margin: 0; }
.footer-en {
  font-family: var(--f-en);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .72rem;
  color: var(--on-dark-muted);
  margin: 6px 0 0;
}
.footer-contact { display: grid; gap: 6px; color: var(--on-dark-muted); font-size: .95rem; }
.footer-contact a { text-decoration: none; color: var(--on-dark); }
.footer-contact a:hover { color: var(--gold-light); }
.social { display: flex; gap: 12px; }
.social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--gold-light);
  transition: transform .3s var(--ease), color .25s;
}
.social a:hover { transform: translateY(-2px); color: #fff; }
.social svg { width: 20px; height: 20px; }
.footer-bottom {
  padding-block: 20px 100px;
  text-align: center;
  position: relative;
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 201, 142, .3), transparent);
}
.footer-bottom p { margin: 0; font-size: .85rem; color: var(--on-dark-muted); }

@media (min-width: 960px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr auto; justify-items: start; text-align: start; align-items: center; }
  .footer-brand { flex-direction: row; align-items: center; }
  .footer-bottom { padding-bottom: 24px; }
}

/* =========================================================
   FLOATING WHATSAPP — gold glass bubble
   ========================================================= */
.wa-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  isolation: isolate;
  background: var(--gold-grad);
  color: var(--green);
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .6),
    inset 0 -3px 8px rgba(140, 107, 51, .4),
    0 14px 30px -10px rgba(0, 0, 0, .55),
    0 0 0 6px rgba(184, 151, 90, .16);
  transition: transform .3s var(--ease);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 3px 8px 52% 8px;
  border-radius: 50% 50% 40% 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
  z-index: -1;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.07); }
@media (min-width: 960px) { .wa-float { left: 28px; bottom: 28px; } }

/* Fallback when backdrop-filter is unsupported: slightly more opaque glass */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .service-card, .step-num, .scroll-cue, .social a, .cta-glass { background: rgba(28, 74, 60, .75); }
  .notice-card, .why-item, .acc-item, .info-list, .map-wrap, .portrait-frame--light { background: rgba(255, 255, 255, .85); }
  .header-inner::before { background: rgba(15, 46, 37, .95); }
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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