:root {
  --ocean: #005f60;
  --ocean-deep: #004a4b;
  --ocean-soft: #e8f0ed;
  --coral: #ff955f;
  --cream: #f7f3ec;
  --ink: #163d3d;
  --white: #fff;
  --forest-black: #002f31;
  --forest-deep: #00474a;
  --forest: #075e5f;
  --forest-mid: #2a756f;
  --sage: #a7c7b6;
  --mint: #f1eee6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 14% 8%, rgba(167, 199, 182, .38), transparent 30rem),
    radial-gradient(circle at 88% 46%, rgba(255, 149, 95, .16), transparent 26rem),
    linear-gradient(145deg, var(--forest-black), var(--forest-mid));
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

.page-shell {
  width: min(100%, 650px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--forest-deep);
  box-shadow: 0 0 70px rgba(0, 0, 0, .32);
}

.hero {
  position: relative;
  height: clamp(260px, 48vw, 390px);
  overflow: hidden;
}

.hero > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 45, 47, .08), rgba(0, 62, 63, .52));
}

.profile {
  position: relative;
  margin-top: -40px;
  padding: 92px 38px 44px;
  text-align: center;
  color: var(--mint);
  background:
    radial-gradient(circle at 14% 8%, rgba(167, 199, 182, .43), transparent 23%),
    radial-gradient(circle at 88% 32%, rgba(255, 149, 95, .15), transparent 24%),
    radial-gradient(circle at 16% 64%, rgba(167, 199, 182, .16), transparent 27%),
    linear-gradient(165deg, var(--forest-mid) 0%, var(--forest) 30%, var(--forest-deep) 70%, var(--forest-black) 100%);
  border-radius: 48% 48% 0 0 / 46px 46px 0 0;
}

.brand-mark {
  position: absolute;
  z-index: 2;
  top: -72px;
  left: 50%;
  width: 144px;
  height: 144px;
  overflow: hidden;
  transform: translateX(-50%);
  border: 8px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 74, 75, .2);
}

.brand-mark img {
  position: absolute;
  top: -235px;
  left: 50%;
  width: 720px;
  max-width: none;
  transform: translateX(-50%);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.eyebrow-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

h1, h2 { font-family: "Playfair Display", serif; }

h1 { margin: 0; color: var(--mint); font-size: clamp(2.7rem, 10vw, 4.6rem); font-weight: 500; letter-spacing: -.04em; text-shadow: 0 4px 22px rgba(0, 0, 0, .18); }

.tagline { margin: 13px auto 20px; color: rgba(218, 241, 222, .82); font-size: .98rem; line-height: 1.55; }

.socials { display: flex; justify-content: center; gap: 13px; margin: 24px 0 34px; }

.socials a {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  color: var(--mint);
  border: 1px solid rgba(218, 241, 222, .3);
  border-radius: 50%;
  background: rgba(218, 241, 222, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 8px 20px rgba(0, 0, 0, .12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: .2s ease;
}

.socials a:hover { color: var(--forest-black); background: var(--mint); transform: translateY(-2px); }
.socials svg { width: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.socials svg .fill { fill: currentColor; stroke: none; }

.links { display: grid; gap: 13px; margin-top: 28px; }

.main-link {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  color: var(--mint);
  text-align: left;
  text-decoration: none;
  border: 1px solid rgba(218, 241, 222, .24);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(218, 241, 222, .17), rgba(142, 182, 155, .07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 12px 28px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  transition: .2s ease;
}

.main-link:hover { transform: translateY(-2px); border-color: rgba(218, 241, 222, .46); background: linear-gradient(135deg, rgba(218, 241, 222, .24), rgba(142, 182, 155, .12)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 16px 34px rgba(0, 0, 0, .22); }
.main-link.featured { min-height: 86px; color: var(--forest-black); background: linear-gradient(135deg, rgba(218, 241, 222, .92), rgba(142, 182, 155, .72)); border-color: rgba(255, 255, 255, .54); }
.main-link.consultant-link {
  position: relative;
  min-height: 82px;
  overflow: hidden;
  border-color: rgba(255, 149, 95, .62);
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 149, 95, .2), transparent 34%),
    linear-gradient(135deg, rgba(218, 241, 222, .19), rgba(35, 83, 71, .14));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26), 0 14px 32px rgba(0,0,0,.24), 0 0 24px rgba(255,149,95,.09);
}
.consultant-toggle { width: 100%; cursor: pointer; font: inherit; }
.drawer-chevron { display: grid; width: 34px; height: 34px; place-items: center; color: var(--mint); border: 1px solid rgba(241,238,230,.28); border-radius: 50%; background: rgba(241,238,230,.09); transform: rotate(-90deg); transition: transform .3s ease; }
.drawer-chevron svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.consultant-toggle[aria-expanded="true"] .drawer-chevron { transform: rotate(0deg); }
.consultant-drawer { display: grid; grid-template-rows: 0fr; margin-top: -13px; overflow: hidden; opacity: 0; transition: grid-template-rows .38s ease, opacity .28s ease, margin .38s ease; }
.consultant-drawer.is-open { grid-template-rows: 1fr; margin-top: 0; opacity: 1; }
.consultant-card { display: flex; min-height: 68px; min-width: 0; align-items: center; gap: 13px; padding: 10px 13px; color: var(--mint); text-decoration: none; border: 1px solid rgba(218,241,222,.2); border-radius: 16px; background: linear-gradient(135deg, rgba(10,165,180,.23), rgba(4,45,67,.58)); }
.consultant-avatar { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border: 2px solid rgba(255,255,255,.48); border-radius: 50%; overflow: hidden; }
.consultant-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 27% 24%; transform: scale(1.3); }
.consultant-info { display: flex; flex: 1; flex-direction: column; gap: 2px; text-align: left; }
.consultant-info strong { font-size: .9rem; }
.consultant-info small { color: rgba(218,241,222,.66); font-size: .69rem; }
.whatsapp-mini { display: grid; width: 31px; height: 31px; place-items: center; color: var(--forest-black); border-radius: 50%; background: var(--coral); }
.whatsapp-mini svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.consultant-link::after { position: absolute; top: 0; right: 18%; width: 90px; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent); }
.consultant-link .link-icon { color: var(--forest-black); border-color: rgba(255,255,255,.52); background: linear-gradient(145deg, var(--coral), #ffc09a); box-shadow: 0 7px 18px rgba(0,0,0,.2); }
.consultant-link .link-icon svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.consultant-note { display: block; margin-top: 4px; color: rgba(218,241,222,.66); font-size: .67rem; font-weight: 400; letter-spacing: .03em; }
.link-copy { flex: 1; font-weight: 600; letter-spacing: -.01em; }
.link-copy small { display: block; margin-bottom: 3px; color: var(--forest-mid); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.link-icon { display: grid; width: 34px; height: 34px; place-items: center; color: var(--coral); font-size: 1.35rem; border: 1px solid rgba(255, 149, 95, .42); border-radius: 50%; }
.consultant-photo { overflow: hidden; padding: 0; }
.consultant-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 27% 24%; transform: scale(1.3); }
.arrow { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; color: var(--coral); }
.arrow svg { width: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.gallery { position: relative; margin: 24px -18px 0; padding: 42px 20px 22px; border: 1px solid rgba(241, 238, 230, .18); border-radius: 28px; background: linear-gradient(145deg, rgba(241, 238, 230, .13), rgba(167, 199, 182, .05)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 18px 40px rgba(0, 0, 0, .18); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.section-heading p { margin: 0 0 5px; color: var(--coral); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.section-heading h2 { margin: 0; color: var(--mint); font-size: 2rem; font-weight: 500; }
.development-heading { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 12px; margin-bottom: 24px; }
.development-arrow { display: grid; width: 42px; height: 42px; padding: 0; place-items: center; color: var(--mint); font: inherit; border: 1px solid rgba(241,238,230,.28); border-radius: 50%; background: rgba(241,238,230,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); cursor: pointer; transition: .2s ease; }
.development-arrow:hover { color: var(--forest-black); background: var(--mint); transform: translateY(-2px); }
.development-content { touch-action: pan-y; }
.development-content[hidden] { display: none; }
.development-placeholder { display: grid; min-height: 360px; place-content: center; padding: 35px; color: rgba(241,238,230,.66); border: 1px dashed rgba(241,238,230,.24); border-radius: 18px; background: linear-gradient(145deg,rgba(241,238,230,.08),rgba(0,47,49,.34)); }
.development-placeholder[hidden] { display: none; }
.placeholder-symbol { color: var(--coral); font-size: 2.2rem; }
.development-placeholder p { max-width: 300px; margin: 10px auto 0; font-size: .85rem; line-height: 1.5; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.gallery figure { height: 180px; margin: 0; overflow: hidden; border: 1px solid rgba(241,238,230,.16); border-radius: 14px; }
.gallery figure[hidden] { display: none; }
.gallery .gallery-wide { grid-column: 1/-1; height: 250px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.03); }

.gallery-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  padding: 22px;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(218, 241, 222, .2);
  border-radius: 17px;
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 149, 95, .32), transparent 42%),
    linear-gradient(120deg, rgba(142, 182, 155, .3), rgba(35, 83, 71, .76) 55%, rgba(5, 31, 32, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.gallery-cta div { flex: 1; }
.gallery-cta small { color: var(--coral); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.gallery-cta p { margin: 5px 0 0; color: var(--mint); font-size: .86rem; line-height: 1.4; }
.gallery-cta a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  color: var(--forest-black);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mint), var(--sage));
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  transition: .2s ease;
}
.gallery-cta a:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(0, 0, 0, .26); }

footer { padding: 40px 0 5px; color: rgba(218, 241, 222, .64); }
footer .lotus { display: block; margin-bottom: 6px; color: var(--coral); font-size: 1.5rem; }
footer p { margin: 0; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
footer strong { color: var(--mint); }

@media (max-width: 520px) {
  .page-shell { box-shadow: none; }
  .hero { height: 280px; }
  .profile { padding: 86px 20px 35px; }
  .brand-mark { width: 132px; height: 132px; top: -66px; }
  .brand-mark img { top: -216px; width: 660px; }
  .gallery { margin-right: -8px; margin-left: -8px; }
  .development-heading { grid-template-columns: 38px 1fr 38px; gap: 8px; }
  .development-arrow { width: 38px; height: 38px; }
  .section-heading h2 { font-size: 1.65rem; }
  .gallery figure { height: 135px; }
  .gallery .gallery-wide { height: 210px; }
  .gallery-cta { align-items: stretch; flex-direction: column; padding: 19px; }
  .gallery-cta a { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
