/* ==========================================================================
   SemaniGroup — main.css
   Colors: placeholder palette — verify against final brand approval
   ========================================================================== */

/* --- Tokens ---------------------------------------------------------------- */
:root {
  --navy:   #0A192F;
  --blue:   #1565C0;
  --teal:   #0891B2;
  --light:  #EFF4FB;
  --gray:   #64748B;
  --white:  #FFFFFF;
  --red:    #DC2626;

  --font-heading: 'Sora', Calibri, sans-serif;
  --font-body:    'Inter', Calibri, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  32px;
  --sp-lg:  64px;
  --sp-xl:  128px;

  --max-w:  1200px;
  --transition: 200ms ease;
}

/* --- Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
  background: var(--white);
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}
ul, ol { list-style: none; }

/* --- Typography ------------------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
p { margin-bottom: var(--sp-sm); color: var(--gray); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--navy); }

/* --- Layout Utilities ------------------------------------------------------ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-md); }
.section    { padding: var(--sp-lg) 0; }
.section--dark  { background: var(--navy); }
.section--light { background: var(--light); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-md); }
.flex    { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-teal   { color: var(--teal) !important; }
.spacer-sm { height: var(--sp-sm); }
.spacer-md { height: var(--sp-md); }
.spacer-lg { height: var(--sp-lg); }

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
}
.btn--primary:hover { background: #0772A0; border-color: #0772A0; transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline-dark:hover { background: var(--navy); color: var(--white); }
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--full { width: 100%; }

/* --- Navigation ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(10,25,47,0.08);
  padding: var(--sp-sm) 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.site-logo span { color: var(--teal); }
.site-nav { display: flex; align-items: center; gap: var(--sp-md); }
.site-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray);
  transition: color var(--transition);
}
.site-nav a:hover { color: var(--navy); }
.site-nav a.active { color: var(--navy); font-weight: 600; }
.nav-cta { /* inherits .btn .btn--primary .btn--sm */ }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--sp-sm);
  padding: var(--sp-md);
  background: var(--white);
  border-top: 1px solid var(--light);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
  padding: var(--sp-xs) 0;
  border-bottom: 1px solid var(--light);
}

/* --- Hero ------------------------------------------------------------------ */
.hero {
  background: var(--navy);
  padding: var(--sp-xl) 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.hero__inner { max-width: 720px; }
.hero__eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--sp-sm);
}
.hero h1 { color: var(--white); margin-bottom: var(--sp-sm); }
.hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: var(--sp-md);
  max-width: 560px;
}
.hero__ctas { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }

/* Page hero (non-home) */
.page-hero {
  background: var(--navy);
  padding: var(--sp-lg) 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: var(--sp-xs); }
.page-hero p  { color: rgba(255,255,255,0.72); font-size: 1.125rem; }

/* --- Proof Bar ------------------------------------------------------------- */
.proof-bar {
  background: var(--light);
  padding: var(--sp-md) 0;
  border-bottom: 1px solid rgba(10,25,47,0.06);
}
.proof-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}
.proof-stat { text-align: center; }
.proof-stat__num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.proof-stat__label {
  font-size: 0.875rem;
  color: var(--gray);
  margin-top: 4px;
}
.proof-divider {
  width: 1px;
  height: 40px;
  background: rgba(10,25,47,0.15);
}

/* --- Value Props ----------------------------------------------------------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
.value-card {
  padding: var(--sp-md);
  border-radius: var(--radius-lg);
  background: var(--light);
  border-top: 3px solid var(--teal);
}
.value-card__icon {
  width: 48px;
  height: 48px;
  background: var(--teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-sm);
}
.value-card__icon svg { width: 24px; height: 24px; color: var(--white); }
.value-card h3 { font-size: 1.125rem; margin-bottom: var(--sp-xs); }
.value-card p  { font-size: 0.9375rem; margin: 0; }

/* --- Services Teaser ------------------------------------------------------- */
.tier-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-sm); }
.tier-card {
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(10,25,47,0.10);
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.tier-card:hover { box-shadow: 0 8px 32px rgba(10,25,47,0.12); transform: translateY(-2px); }
.tier-card--featured { border-color: var(--teal); position: relative; }
.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.tier-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-xs);
}
.tier-card__price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-xs);
}
.tier-card p   { font-size: 0.9rem; flex-grow: 1; margin-bottom: var(--sp-md); }
.tier-card .btn { margin-top: auto; }

/* --- About Teaser ---------------------------------------------------------- */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}
.about-teaser__img {
  aspect-ratio: 4/5;
  background: var(--light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.875rem;
  overflow: hidden;
}
.about-teaser__img img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser__eyebrow { color: var(--teal); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: var(--sp-xs); }
.about-teaser h2 { margin-bottom: var(--sp-sm); }
.about-teaser a  { color: var(--teal); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: var(--sp-sm); }
.about-teaser a:hover { text-decoration: underline; }

/* --- CTA Band -------------------------------------------------------------- */
.cta-band {
  background: var(--navy);
  padding: var(--sp-lg) 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: var(--sp-sm); }
.cta-band p  { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto var(--sp-md); }

/* --- Services Page --------------------------------------------------------- */
.services-hero-sub { font-size: 1.125rem; color: rgba(255,255,255,0.72); max-width: 600px; margin: 0 auto; }
.tier-cards-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}
.tier-card-full {
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(10,25,47,0.10);
  padding: var(--sp-md) var(--sp-md) var(--sp-md);
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier-card-full--featured { border-color: var(--teal); }
.tier-card-full__header {
  border-bottom: 1px solid var(--light);
  padding-bottom: var(--sp-sm);
  margin-bottom: var(--sp-sm);
}
.tier-card-full__name { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); margin-bottom: 4px; }
.tier-card-full__price { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--navy); }
.tier-card-full__tag  { font-size: 0.875rem; color: var(--gray); }
.tier-card-full h3 { font-size: 1.125rem; margin-bottom: var(--sp-xs); }
.tier-card-full p  { font-size: 0.9375rem; margin-bottom: var(--sp-sm); }
.tier-card-full ul { margin-bottom: var(--sp-md); flex-grow: 1; }
.tier-card-full ul li {
  font-size: 0.9rem;
  color: var(--gray);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid var(--light);
}
.tier-card-full ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.addons { margin-top: var(--sp-lg); }
.addons__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-sm); margin-top: var(--sp-md); }
.addon-item {
  padding: var(--sp-sm) var(--sp-md);
  background: var(--light);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.addon-item__name { font-weight: 600; color: var(--navy); font-size: 0.9375rem; }
.addon-item__sub  { font-size: 0.875rem; color: var(--gray); }
.addon-item__price { font-family: var(--font-heading); font-weight: 700; color: var(--teal); font-size: 1rem; }

/* FAQ */
.faq { margin-top: var(--sp-lg); }
.faq__item {
  border-bottom: 1px solid rgba(10,25,47,0.08);
}
.faq__q {
  width: 100%;
  text-align: left;
  padding: var(--sp-sm) 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
}
.faq__q::after { content: '+'; font-size: 1.5rem; color: var(--teal); font-weight: 300; }
.faq__item.open .faq__q::after { content: '−'; }
.faq__a {
  display: none;
  padding-bottom: var(--sp-sm);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray);
}
.faq__item.open .faq__a { display: block; }

/* --- About Page ------------------------------------------------------------ */
.founder-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--sp-xl);
  align-items: start;
  margin-top: var(--sp-lg);
}
.founder-img {
  aspect-ratio: 4/5;
  background: var(--light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.875rem;
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.founder-img img { width: 100%; height: 100%; object-fit: cover; }
.founder-content h2 { margin-bottom: var(--sp-sm); }
.founder-content p  { font-size: 1.0625rem; line-height: 1.75; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); margin-top: var(--sp-md); }
.principle {
  padding: var(--sp-md);
  border-top: 3px solid var(--teal);
  background: var(--light);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.principle h3 { font-size: 1rem; margin-bottom: var(--sp-xs); }
.principle p  { font-size: 0.9rem; margin: 0; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-sm); margin-top: var(--sp-md); }
.value-item {
  padding: var(--sp-sm) var(--sp-md);
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--teal);
}
.value-item h4 { font-size: 0.9375rem; color: var(--navy); margin-bottom: 4px; }
.value-item p  { font-size: 0.875rem; margin: 0; }

/* --- Contact Page ---------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  margin-top: var(--sp-lg);
}
.contact-section-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: var(--sp-sm);
  display: block;
}
.booking-placeholder {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  text-align: center;
  border: 2px dashed rgba(8,145,178,0.3);
}
.booking-placeholder p { color: var(--gray); font-size: 0.9rem; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: var(--sp-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-sm); }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1.5px solid rgba(10,25,47,0.15);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,145,178,0.12); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group .required { color: var(--red); }
.form-honeypot { display: none !important; }
.form-message {
  padding: var(--sp-sm);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  display: none;
}
.form-message--success { background: #ECFDF5; color: #065F46; border: 1px solid #6EE7B7; display: block; }
.form-message--error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FCA5A5; display: block; }
.direct-contact { margin-top: var(--sp-md); padding-top: var(--sp-md); border-top: 1px solid var(--light); }
.direct-contact p { font-size: 0.9375rem; }
.direct-contact a { color: var(--teal); font-weight: 600; }

/* --- Thank You ------------------------------------------------------------ */
.thank-you-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.thank-you-section .container { max-width: 600px; }
.thank-you-icon {
  width: 72px;
  height: 72px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
}
.thank-you-icon svg { width: 36px; height: 36px; color: var(--teal); }

/* --- Footer ---------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  padding: var(--sp-lg) 0 var(--sp-md);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-top: var(--sp-xs); max-width: 280px; }
.footer-brand .site-logo { color: var(--white); }
.footer-col h4 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); margin-bottom: var(--sp-sm); }
.footer-col a  { display: block; color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: var(--sp-xs); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-md);
  flex-wrap: wrap;
  gap: var(--sp-sm);
}
.footer-bottom p, .footer-bottom a { color: rgba(255,255,255,0.4); font-size: 0.8125rem; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .tier-cards        { grid-template-columns: repeat(2, 1fr); }
  .tier-cards-full   { grid-template-columns: 1fr; }
  .founder-grid      { grid-template-columns: 280px 1fr; gap: var(--sp-lg); }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .footer-brand      { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --sp-lg: 48px; --sp-xl: 80px; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .hero    { padding: var(--sp-lg) 0; min-height: 60vh; }
  .value-grid { grid-template-columns: 1fr; }
  .tier-cards { grid-template-columns: 1fr; }
  .about-teaser { grid-template-columns: 1fr; }
  .about-teaser__img { aspect-ratio: 16/9; position: static; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-img { aspect-ratio: 1; position: static; max-width: 320px; }
  .principles { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .proof-bar__inner { gap: var(--sp-md); }
  .proof-divider { display: none; }
  .addons__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-md); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.375rem; }
  .container { padding: 0 var(--sp-sm); }
}
