@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --cream: #F5F0E8;
  --cobalt: #1B4FD8;
  --cobalt-dark: #1641B5;
  --navy: #0D1B2A;
  --white: #FFFFFF;
  --text-body: #4A4A4A;
  --text-light: #888888;
  --border: #E8E4DC;
  --border-field: #D0CBC0;
  --error: #C53030;
  --error-bg: #FFF5F5;
  --error-border: #FED7D7;
  --success-text: #276749;
  --success-bg: #F0FFF4;
  --success-border: #C6F6D5;
  --info-text: #744210;
  --info-bg: #FFFAF0;
  --info-border: #FEEBC8;
}

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

html {
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.7;
  font-size: 15px;
}

/* ── HEADER ── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  max-width: 752px;
  margin: 0 auto;
  padding: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.tagline {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-light);
  text-align: right;
  line-height: 1.3;
}

/* ── MAIN ── */
main {
  flex: 1;
  padding: 40px 16px 64px;
}

.container {
  max-width: 720px;
  margin: 0 auto;
}

/* ── TABS ── */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.tab-btn {
  padding: 12px 20px;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: color 0.2s, border-bottom-color 0.2s;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.tab-btn:hover:not(.active) {
  color: var(--navy);
}

.tab-btn.active {
  border-bottom-color: var(--cobalt);
  color: var(--cobalt);
  background: transparent;
}

/* ── TAB CONTENT ── */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ── HEADINGS ── */
h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}

h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.subheading {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ── EXPLAINER (details/summary) ── */
.explainer {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  margin-bottom: 32px;
  overflow: hidden;
}

.explainer summary {
  padding: 14px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--cobalt);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  -webkit-user-select: none;
  letter-spacing: 0.01em;
}

.explainer summary::-webkit-details-marker {
  display: none;
}

.explainer summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  color: var(--text-light);
}

.explainer[open] summary::after {
  content: '\2212';
}

.explainer-content {
  padding: 16px 18px 18px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

/* ── FORM ── */
.form-group {
  margin-bottom: 22px;
}

label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.optional {
  font-weight: 400;
  color: var(--text-light);
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
}

input[type='text'],
input[type='tel'],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-field);
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

input[type='text']::placeholder,
input[type='tel']::placeholder,
textarea::placeholder {
  color: #C0BAB0;
}

input[type='text']:focus,
input[type='tel']:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(27, 79, 216, 0.1);
}

input.error,
select.error,
textarea.error {
  border-color: var(--error);
}

input.error:focus,
select.error:focus,
textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.1);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 15px;
  padding-right: 40px;
  cursor: pointer;
}

textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.6;
}

/* ── PHONE INPUT ── */
.phone-input-wrapper {
  display: flex;
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 13px;
  background: #FAF8F5;
  border: 1px solid var(--border-field);
  border-right: none;
  border-radius: 6px 0 0 6px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text-light);
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  flex-shrink: 0;
}

.phone-input-wrapper input {
  border-radius: 0 6px 6px 0;
  flex: 1;
  min-width: 0;
}

/* ── RADIO GROUP ── */
.radio-group {
  display: flex;
  gap: 24px;
  margin-top: 4px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  font-weight: 400;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

.radio-label input[type='radio'] {
  width: 18px;
  height: 18px;
  accent-color: var(--cobalt);
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}

/* ── FIELD ERROR ── */
.field-error {
  display: none;
  font-size: 13px;
  color: var(--error);
  margin-top: 5px;
}

.field-error.show {
  display: block;
}

/* ── SUBMIT BUTTON ── */
.btn-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.btn-submit:hover:not(:disabled) {
  background: var(--cobalt);
}

.btn-submit:active:not(:disabled) {
  background: var(--cobalt-dark);
}

.btn-submit:disabled {
  background: #B0ABAA;
  cursor: not-allowed;
}

/* ── PRIVACY NOTE ── */
.privacy-note {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #888888;
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* ── STATUS MESSAGES ── */
.loading-state,
.success-state,
.info-state,
.error-state {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
}

.loading-state {
  background: #EEF2FF;
  color: var(--cobalt);
  text-align: center;
  font-weight: 500;
}

.success-state {
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid var(--success-border);
  font-weight: 500;
}

.info-state {
  background: var(--info-bg);
  color: var(--info-text);
  border: 1px solid var(--info-border);
}

.error-state {
  background: var(--error-bg);
  color: var(--error);
  border: 1px solid var(--error-border);
}

.hidden {
  display: none !important;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: #888888;
  padding: 24px 16px;
  margin-top: auto;
}

footer .container {
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* ── MOTIVATION SECTION ── */
.motivation-section {
  margin-bottom: 24px;
}

.motivation-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.25;
}

.motivation-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.motivation-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.motivation-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Hide emoji icons, replace with decorative cobalt line */
.card-icon {
  display: none;
}

.motivation-card::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--cobalt);
  margin-bottom: 18px;
}

.motivation-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.motivation-card p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

.motivation-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--cobalt);
  text-align: center;
  margin-top: 4px;
  letter-spacing: 0.01em;
}

/* ── SOCIAL PROOF ── full-width edge-to-edge */
.social-proof {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--navy);
  margin-bottom: 48px;
  overflow: hidden;
  /* break out of container to go full viewport width */
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.social-proof-item {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  padding: 16px 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-proof-item:last-child {
  border-bottom: none;
}

/* ── ABOUT CHAM ── */
.about-cham {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 64px 16px;
}

.about-container {
  max-width: 720px;
  margin: 0 auto;
}

.about-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
  line-height: 1.25;
}

.about-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-photo {
  width: 200px;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border-field);
  flex-shrink: 0;
  display: block;
}

.about-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.about-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-cea {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.about-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--cobalt);
  text-decoration: none;
  transition: text-decoration 0.15s;
}

.about-social-link:hover {
  text-decoration: underline;
}

/* ── FLOATING WHATSAPP BUTTON ── */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.whatsapp-fab:hover {
  background: var(--cobalt);
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

/* ── FOOTER SOCIALS ── */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}

.footer-social-link {
  color: #666666;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.footer-social-link:hover {
  color: var(--white);
}

/* ── RESPONSIVE ── */
@media (max-width: 400px) {
  .logo {
    font-size: 14px;
  }

  h1 {
    font-size: 28px;
  }

  .tab-btn {
    font-size: 13px;
    padding: 10px 12px;
  }
}

@media (min-width: 640px) {
  main {
    padding: 56px 32px 80px;
  }

  h1 {
    font-size: 64px;
  }

  .motivation-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .motivation-heading {
    font-size: 28px;
  }

  .social-proof {
    flex-direction: row;
  }

  .social-proof-item {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 16px;
  }

  .social-proof-item:last-child {
    border-right: none;
  }

  .about-inner {
    flex-direction: row;
    align-items: flex-start;
  }

  .about-heading {
    font-size: 28px;
  }

  .whatsapp-fab {
    width: 60px;
    height: 60px;
    bottom: 28px;
    right: 24px;
  }
}

@media (max-width: 480px) {
  .whatsapp-fab {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 16px;
  }
}
