/* Emerging Writing Pad Solutions — Design System */
:root {
  --primary: #092e4b;
  --primary-deep: #061f33;
  --accent: #c58f4a;
  --accent-light: #e2b376;
  --accent-soft: rgba(197, 143, 74, 0.12);
  --text: #1a2b3b;
  --muted: #5e7184;
  --surface: #f3f6f9;
  --white: #ffffff;
  --line: rgba(9, 46, 75, 0.08);
  --shadow: 0 24px 60px rgba(9, 46, 75, 0.1);
  --shadow-lg: 0 40px 80px rgba(9, 46, 75, 0.16);
  --radius: 20px;
  --radius-lg: 32px;
  --nav-h: 72px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: 1180px;
  --pad: clamp(1.15rem, 3.2vw, 3.5rem);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 45% at 100% -5%, rgba(197, 143, 74, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 40% at 0% 15%, rgba(9, 46, 75, 0.06), transparent 50%),
    linear-gradient(180deg, #f7fafc 0%, #ffffff 35%, #f3f6f9 100%);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--primary);
  font-weight: 600;
}

::selection { background: var(--accent); color: #fff; }

/* ——— Page progress ——— */
.page-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 10000;
  pointer-events: none; opacity: 0; transition: opacity 0.25s ease;
}
.page-progress.is-active { opacity: 1; }
.page-progress-bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-light));
  background-size: 200% 100%;
  transition: width 0.35s var(--ease);
  animation: progressShimmer 1.2s linear infinite;
}
.page-progress.is-done .page-progress-bar { width: 100% !important; }
.page-progress.is-hiding { opacity: 0; transition: opacity 0.4s ease 0.15s; }
@keyframes progressShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: rgba(247, 250, 252, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.page-loader.is-active { opacity: 1; visibility: visible; pointer-events: none; }
.page-loader-mark {
  width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ——— Reveal motion ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
/* If JS never runs, still show content after a short delay */
@supports (animation: revealFallback 0s) {
  @keyframes revealFallback {
    to { opacity: 1; transform: none; }
  }
  .reveal:not(.in) {
    animation: revealFallback 0.01s ease 2.5s forwards;
  }
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ——— Top bar ——— */
.top-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.4rem max(var(--pad), calc((100% - var(--shell)) / 2));
  background: var(--primary-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  gap: 1rem; flex-wrap: wrap;
}
.top-bar a {
  color: inherit; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: color 0.25s ease;
}
.top-bar a:hover { color: var(--accent-light); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 1.25rem; }

/* ——— Nav ——— */
.nav-wrap,
.site-nav {
  position: sticky; top: 0; z-index: 10050;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--nav-h);
  width: 100%;
  max-width: none;
  padding: 0.55rem max(var(--pad), calc((100% - var(--shell)) / 2));
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.35s var(--ease);
}
.nav-wrap.is-scrolled,
.site-nav.is-scrolled { box-shadow: 0 12px 40px rgba(9, 46, 75, 0.08); }

.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
  position: relative; z-index: 2;
}
.nav-logo img {
  height: 48px; width: auto; max-width: min(200px, 46vw);
  object-fit: contain;
}

.nav-links {
  display: flex; align-items: center; gap: 0.15rem 0.95rem;
  margin-left: auto;
  flex-wrap: nowrap;
}
.nav-panel-top { display: none; }
.nav-links > a,
.nav-dropdown-trigger {
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.35rem 0.1rem;
  transition: color 0.25s ease;
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: none; border: none; cursor: pointer;
  white-space: nowrap;
}
.nav-links > a:hover,
.nav-dropdown-trigger:hover { color: var(--accent); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 0.6rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 50;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: 0.7rem 0.9rem;
  text-decoration: none; color: var(--primary);
  font-size: 0.88rem; font-weight: 600;
  border-radius: 10px;
}
.dropdown-menu a:hover { background: var(--surface); color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700; font-size: 0.92rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s ease, color 0.3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 12px 28px rgba(197, 143, 74, 0.35);
}
.btn-primary:hover { background: #b47e3d; box-shadow: 0 16px 36px rgba(197, 143, 74, 0.45); }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.book-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #d4a05a 0%, #c58f4a 45%, #a87535 100%) !important;
  color: #fff !important;
  padding: 0.65rem 1.2rem !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.02em;
  box-shadow:
    0 10px 28px rgba(197, 143, 74, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s ease;
}
.book-btn i {
  font-size: 0.75rem;
  transition: transform 0.3s var(--ease);
}
.book-btn:hover {
  color: #fff !important;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px rgba(197, 143, 74, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.book-btn:hover i { transform: translateX(4px); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--primary);
  font-size: 1.15rem; cursor: pointer;
  align-items: center; justify-content: center;
  position: relative;
  z-index: 10080;
  flex-shrink: 0;
}

.mobile-close { display: none; }

body.nav-open {
  overflow: hidden !important;
}
body.nav-open .whatsapp-float {
  opacity: 0;
  pointer-events: none;
}
body.nav-open .nav-logo,
body.nav-open .menu-toggle {
  visibility: hidden;
  pointer-events: none;
}
body.nav-open .nav-wrap,
body.nav-open .site-nav {
  z-index: 10055;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 700px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--primary);
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.1s ease, transform 6s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 31, 51, 0.9) 0%, rgba(9, 46, 75, 0.7) 48%, rgba(9, 46, 75, 0.42) 100%),
    radial-gradient(circle at 85% 20%, rgba(197, 143, 74, 0.2), transparent 40%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  width: min(640px, 100%);
  margin-left: max(0px, calc((100% - var(--shell)) / 2));
  padding: 2.75rem var(--pad) 4.5rem;
  box-sizing: border-box;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  color: var(--accent-light);
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  margin-bottom: 0.9rem;
  max-width: 16ch;
  line-height: 1.12;
}
.hero-content h1 .accent { color: var(--accent-light); }
.hero-lead {
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  font-weight: 400;
  opacity: 0.92;
  max-width: 40ch;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}
.hero-actions .btn {
  padding: 0.75rem 1.35rem;
  font-size: 0.88rem;
}
.hero-dots {
  position: absolute; z-index: 3; bottom: 1.5rem;
  left: max(var(--pad), calc((100% - var(--shell)) / 2));
  display: flex; gap: 0.5rem;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.35); cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}
.hero-dot.active { background: var(--accent); transform: scale(1.25); }

/* ——— Page hero (inner) ——— */
.page-hero {
  padding: clamp(3.5rem, 8vw, 5.5rem) max(var(--pad), calc((100% - var(--shell)) / 2)) clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(197, 143, 74, 0.12), transparent 50%),
    linear-gradient(180deg, #eef3f7 0%, transparent 100%);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0.75rem auto 1rem;
}
.page-hero h1 .accent { color: var(--accent); }
.page-hero p {
  max-width: 620px; margin: 0 auto;
  color: var(--muted); font-size: 1.1rem;
}

.eyebrow {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ——— Sections ——— */
.section { padding: clamp(3rem, 6vw, 5rem) max(var(--pad), calc((100% - var(--shell)) / 2)); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0.6rem 0 0.75rem; }
.section-head p { color: var(--muted); }

.milestones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: min(var(--shell), calc(100% - 2 * var(--pad)));
  margin: -3.25rem auto 0;
  position: relative; z-index: 5;
  padding: 1.75rem 1.25rem;
  background:
    linear-gradient(145deg, #d4a05a 0%, #c58f4a 40%, #a87535 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 60px rgba(168, 117, 53, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.milestone-item { text-align: center; padding: 0.5rem; }
.milestone-item h3 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.milestone-item p {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.95;
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.s-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease;
}
.s-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(197, 143, 74, 0.35);
}
.s-card-img { width: 100%; height: 220px; object-fit: cover; }
.s-card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.s-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.s-card p { color: var(--muted); font-size: 0.95rem; flex: 1; margin-bottom: 1.25rem; }
.card-link {
  color: var(--accent); font-weight: 700; font-size: 0.9rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem;
}
.card-link i { transition: transform 0.3s var(--ease); }
.card-link:hover i { transform: translateX(4px); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review-card .stars { color: var(--accent); margin-bottom: 0.85rem; letter-spacing: 0.05em; }
.review-card .review-text { font-style: italic; color: var(--text); margin-bottom: 1.1rem; }
.review-card h4 { font-size: 1rem; }

.about-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-split img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  background: var(--surface);
}
.about-split h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0.6rem 0 1rem; }
.about-split p,
.about-split .rich-text { color: var(--muted); }

.rich-text p { margin-bottom: 0.9rem; color: inherit; }
.rich-text p:last-child { margin-bottom: 0; }
.rich-text strong, .rich-text b { color: var(--primary); font-weight: 700; }
.rich-text ul, .rich-text ol { margin: 0.75rem 0 0.75rem 1.25rem; }
.rich-text li { margin-bottom: 0.35rem; }
.rich-text a { color: var(--accent); font-weight: 600; }

.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.active { border-color: var(--accent); box-shadow: var(--shadow); }
.faq-header {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-weight: 700; color: var(--primary); font-size: 1.05rem;
}
.faq-icon {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--accent);
  flex-shrink: 0; transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease;
}
.faq-item.active .faq-icon { transform: rotate(180deg); background: var(--accent); color: #fff; }
.faq-content {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-content-inner {
  padding: 0 1.4rem 1.35rem;
  color: var(--muted);
}
.faq-item.active .faq-content { max-height: 800px; }

.help-banner {
  margin-top: 3rem;
  padding: clamp(2.5rem, 6vw, 4rem);
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.help-banner h2 { color: #fff; margin-bottom: 0.6rem; }
.help-banner p { opacity: 0.85; margin-bottom: 1.5rem; }

/* ——— About / MV / Team ——— */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.mv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease);
}
.mv-card:hover { transform: translateY(-6px); }
.mv-card i { font-size: 2rem; color: var(--accent); margin-bottom: 1rem; display: block; }
.mv-card h2 { font-size: 1.75rem; margin-bottom: 0.65rem; }
.mv-card p,
.mv-card .rich-text { color: var(--muted); }

.team-list { display: flex; flex-direction: column; gap: 1.5rem; }
.team-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.team-row:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-left { text-align: center; }
.team-left img {
  width: 110px; height: 110px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 0.75rem;
  border: 3px solid var(--accent); padding: 3px;
}
.team-left h4 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.team-left span {
  font-size: 0.78rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.team-right p { font-style: italic; color: var(--text); font-size: 1.05rem; }

/* ——— Contact ——— */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 1100px; margin: 0 auto;
}
.contact-form-card,
.info-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}
.contact-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.info-box i { font-size: 1.6rem; color: var(--accent); margin-bottom: 0.75rem; display: block; }
.info-box h4 { margin-bottom: 0.4rem; }
.info-box p { color: var(--muted); }
.input-group { margin-bottom: 1.15rem; }
.input-group label {
  display: block; font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 0.45rem;
}
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: var(--surface);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.map-wrap {
  max-width: 1100px; margin: 2.5rem auto 0;
  height: min(400px, 50vw);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ——— Reviews page ——— */
.scorecard {
  display: flex; justify-content: center; align-items: center; gap: 1.5rem;
  margin: 2rem auto 0; max-width: 520px;
  padding: 1.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.big-score {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 700; color: var(--primary); line-height: 1;
}
.star { color: #d0d7de; font-size: 1.35rem; }
.star.filled, .star.half { color: var(--accent); }
.reviews-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}
.rev-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.rev-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.rev-header { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.rev-header img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.rev-header h4 { font-size: 1rem; }
.rev-header span { font-size: 0.8rem; color: var(--muted); }
.rev-content { font-style: italic; position: relative; padding-left: 0.25rem; }
.cta-band {
  width: min(1100px, calc(100% - 2 * var(--pad)));
  margin: 0 auto 4rem;
  padding: clamp(2.5rem, 6vw, 4rem);
  background: var(--primary); color: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-band p { opacity: 0.85; margin-bottom: 1.5rem; }

/* ——— Services detail ——— */
.service-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  padding: 0 max(var(--pad), calc((100% - var(--shell)) / 2)) clamp(3rem, 8vw, 5rem);
}
.service-tabs {
  position: sticky; top: calc(var(--nav-h) + 1rem);
  height: fit-content;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.tab-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700; font-size: 0.92rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
}
.tab-link i { color: var(--accent); }
.tab-link:hover { transform: translateX(4px); }
.tab-link.active {
  background: var(--primary); color: #fff;
  border-color: var(--primary); box-shadow: var(--shadow);
}
.tab-link.active i { color: var(--accent-light); }
.service-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}
.service-main-img {
  width: 100%; height: min(420px, 55vw);
  object-fit: cover; border-radius: var(--radius);
  margin-bottom: 1.75rem;
}
.service-detail-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.service-description { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }
.roadmap-container { border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 1rem; }
.roadmap-item { display: flex; gap: 1.25rem; margin-bottom: 1.75rem; }
.roadmap-left { display: flex; flex-direction: column; align-items: center; min-width: 42px; }
.roadmap-dot {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-family: var(--font-display);
}
.roadmap-line {
  width: 3px; flex: 1; margin: 0.5rem 0;
  background: var(--accent); opacity: 0.25; border-radius: 4px;
}
.roadmap-right h4 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.roadmap-right p { color: var(--muted); }

/* ——— Blogs ——— */
.bento-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.bento-card {
  position: relative; min-height: 360px;
  border-radius: var(--radius-lg); overflow: hidden;
  color: #fff; box-shadow: var(--shadow);
}
.bento-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.7s var(--ease);
}
.bento-card:hover img { transform: scale(1.05); }
.bento-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 31, 51, 0.92), transparent 60%);
  padding: 1.75rem; display: flex; flex-direction: column; justify-content: flex-end;
}
.category-tag {
  background: var(--accent); color: #fff;
  padding: 0.3rem 0.85rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  width: fit-content; margin-bottom: 0.75rem; letter-spacing: 0.06em;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.post-img { width: 100%; height: 200px; object-fit: cover; }
.post-content { padding: 1.35rem; }
.post-date { font-size: 0.8rem; color: var(--accent); font-weight: 700; display: block; margin-bottom: 0.4rem; }
.post-content h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.post-content p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }

/* ——— Footer ——— */
.site-footer {
  background: var(--primary-deep);
  color: rgba(255,255,255,0.78);
  padding: clamp(3rem, 7vw, 4.5rem) max(var(--pad), calc((100% - var(--shell)) / 2)) 2rem;
  margin-top: 2rem;
  border-radius: 40px 40px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 3rem;
}
.footer-brand img {
  height: 48px; margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.footer-brand p { margin-bottom: 1.25rem; line-height: 1.8; max-width: 36ch; }
.footer-col h4 {
  color: #fff; font-size: 1.05rem; margin-bottom: 1.15rem;
  position: relative; padding-bottom: 0.55rem;
}
.footer-col h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 28px; height: 2px; background: var(--accent);
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.footer-col a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-contact li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin-bottom: 0.85rem;
}
.footer-contact i { color: var(--accent); margin-top: 0.25rem; }
.social-links { display: flex; gap: 0.65rem; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: #fff; text-decoration: none;
  transition: background 0.3s ease, transform 0.3s var(--ease);
}
.social-links a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
}

/* ——— Floating WhatsApp ——— */
.whatsapp-float {
  position: fixed;
  right: max(1rem, 2vw);
  bottom: max(1rem, 2vw);
  z-index: 5000;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  animation: waFloatIn 0.6s var(--ease) 0.4s both;
}
.whatsapp-float-label {
  background: #075e54;
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(7, 94, 84, 0.35);
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.whatsapp-float-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #25d366 0%, #128c7e 100%);
  font-size: 1.75rem;
  box-shadow:
    0 14px 32px rgba(18, 140, 126, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  position: relative;
  transition: transform 0.3s var(--ease);
}
.whatsapp-float-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: waPulse 2s ease-out infinite;
}
.whatsapp-float:hover .whatsapp-float-label {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(7, 94, 84, 0.45);
}
.whatsapp-float:hover .whatsapp-float-icon {
  transform: scale(1.06) translateY(-2px);
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.9; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes waFloatIn {
  from { opacity: 0; transform: translateY(18px) scale(0.92); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .whatsapp-float-label {
    font-size: 0.82rem;
    padding: 0.55rem 0.85rem;
  }
  .whatsapp-float-icon {
    width: 52px;
    height: 52px;
    font-size: 1.55rem;
  }
}

/* ——— Utilities ——— */
.surface-alt { background: var(--surface); }
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .milestones { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .menu-toggle { display: inline-flex; }
  .nav-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-panel-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary);
  }
  .mobile-close {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--line); background: var(--white);
    color: var(--primary); font-size: 1.2rem; cursor: pointer;
  }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 10070;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 1.25rem 1.35rem 2rem;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
  }
  .nav-links.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }
  .nav-links > a,
  .nav-dropdown-trigger {
    font-size: 1.2rem; padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }
  .nav-dropdown .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; background: transparent;
    padding: 0.25rem 0 0.75rem 0.85rem; display: none; min-width: 0;
  }
  .nav-dropdown.is-open .dropdown-menu { display: block; }
  .book-btn { margin-top: 1.15rem; text-align: center; justify-content: center; width: 100%; }
  .about-split,
  .contact-layout,
  .service-layout,
  .bento-grid,
  .mv-grid,
  .team-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-tabs {
    position: relative; top: 0;
    flex-direction: row; overflow-x: auto; gap: 0.65rem;
    padding-bottom: 0.5rem;
  }
  .tab-link { white-space: nowrap; min-width: max-content; }
  .bento-card { min-height: 300px; }
  .top-bar-left span:not(.keep) { display: none; }
}

@media (max-width: 640px) {
  .milestones,
  .reviews-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .milestones { margin-top: -2.5rem; padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .scorecard { flex-direction: column; text-align: center; }
  .hero-content {
    margin-left: 0;
    width: 100%;
    padding: 2.25rem var(--pad) 3.5rem;
  }
  .hero-content h1 { max-width: none; }
  .hero-actions .btn { width: auto; }
  .hero-actions { gap: 0.65rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .top-bar { justify-content: center; }
  .top-bar-right { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
