/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  background: #e8efed;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =============================================
   LOGO TEXT
   ============================================= */
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
}
.logo-text sup { font-size: 0.5em; vertical-align: super; letter-spacing: 0; }
.logo-lower { text-transform: lowercase; letter-spacing: 0.04em; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background-color: #0d4030;
  height: 64px;
  display: flex;
  align-items: center;
}
.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  margin-left: auto;
}
.header-phone svg { width: 18px; height: 18px; flex-shrink: 0; }
.header-phone:hover { opacity: 0.85; }

/* =============================================
   MAIN CONTENT
   ============================================= */
.main-content {
  flex: 1;
  background: linear-gradient(160deg, #dceae5 0%, #e9f0ed 40%, #f0f5f3 100%);
  padding: 52px 24px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Error banner */
.error-banner {
  display: none;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-left: 4px solid #e65c00;
  border-radius: 4px;
  padding: 12px 18px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 1080px;
  font-size: 0.9rem;
  color: #5a3000;
}
.error-banner.visible { display: block; }

/* =============================================
   SPLIT LAYOUT
   ============================================= */
.split-layout {
  width: 100%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.13);
}

/* =============================================
   FORM SIDE
   ============================================= */
.form-side {
  background: #ffffff;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
}

#formWrapper {
  display: flex;
  flex-direction: column;
}

/* Headline */
.page-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 2.55rem;
  color: #0d4030;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.page-subhead {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 32px;
}

/* Trust stats */
.trust-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  padding: 20px 0;
  border-top: 1px solid #e4ede9;
  border-bottom: 1px solid #e4ede9;
}
.trust-stat {
  flex: 1;
  text-align: center;
  padding: 0 8px;
}
.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: #0d4030;
  line-height: 1;
  margin-bottom: 5px;
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: #d8e6e1;
  flex-shrink: 0;
}

/* Form area */
.form-area {
  display: flex;
  flex-direction: column;
}

/* Field */
.field-wrap {
  margin-bottom: 14px;
}
.field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.field-input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid #c8d5d0;
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.97rem;
  color: #1a1a1a;
  background: #f8fbfa;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field-input::placeholder { color: #aaa; }
.field-input:focus {
  border-color: #0d4030;
  box-shadow: 0 0 0 3px rgba(13, 64, 48, 0.12);
  background: #fff;
}
.field-input.is-error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}
.field-error {
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
  color: #c0392b;
  font-weight: 600;
  min-height: 1em;
}

/* Privacy note */
.privacy-note {
  font-size: 0.78rem;
  color: #777;
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.6;
}
.inline-link { color: #0d4030; text-decoration: underline; text-underline-offset: 2px; }
.inline-link:hover { color: #1a6650; }

/* Continue button */
.btn-continue {
  display: block;
  width: 100%;
  padding: 17px 24px;
  background: #e8a020;
  color: #1a1a1a;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(232,160,32,0.35);
}
.btn-continue:hover {
  background: #d4911a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,160,32,0.45);
}
.btn-continue:active { transform: translateY(0); box-shadow: none; }
.btn-continue:disabled { background: #c8b48a; cursor: not-allowed; box-shadow: none; }

/* No Thanks */
.no-thanks-wrap { margin-bottom: 20px; text-align: center; }
.no-thanks { font-size: 0.85rem; color: #888; text-decoration: underline; text-underline-offset: 2px; }
.no-thanks:hover { color: #1a1a1a; }

/* Learn How */
.learn-how {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  justify-content: center;
}
.info-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0d4030;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  font-style: italic;
  flex-shrink: 0;
}
.learn-how span:last-child {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0d4030;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.learn-how:hover span:last-child { color: #1a6650; }

/* =============================================
   IMAGE SIDE
   ============================================= */
.image-side {
  position: relative;
  min-height: 480px;
}
.hero-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.55);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
}
.overlay-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.7rem;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.2;
}
.overlay-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.overlay-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
  line-height: 1.45;
}
.overlay-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #7ecbb5;
  margin-top: 1px;
}
.overlay-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 40px;
  padding: 7px 18px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  letter-spacing: 0.04em;
  align-self: flex-start;
  backdrop-filter: blur(4px);
}

/* =============================================
   PRESS BAR
   ============================================= */
.press-bar {
  width: 100%;
  max-width: 1080px;
  margin-top: 28px;
  background: #ffffff;
  border-radius: 8px;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  flex-wrap: wrap;
}
.press-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
  white-space: nowrap;
}
.press-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.press-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #555;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.press-sep { color: #ccc; font-size: 1rem; }

/* =============================================
   FEATURES SECTION
   ============================================= */
.features-section {
  width: 100%;
  max-width: 1080px;
  margin-top: 60px;
  text-align: center;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 2.1rem;
  color: #0d4030;
  margin-bottom: 10px;
}
.section-sub {
  font-size: 0.97rem;
  color: #666;
  margin-bottom: 36px;
  line-height: 1.6;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}
.feature-img-wrap {
  width: 100%;
  height: 190px;
  overflow: hidden;
}
.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.feature-card:hover .feature-img { transform: scale(1.04); }
.feature-content {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13,64,48,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  color: #0d4030;
}
.feature-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0d4030;
  margin-bottom: 10px;
}
.feature-text {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.7;
}

/* =============================================
   CTA IMAGE BANNER
   ============================================= */
.cta-image-banner {
  width: 100%;
  max-width: 1080px;
  margin-top: 60px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 260px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: brightness(0.45);
  position: absolute;
  inset: 0;
}
.cta-overlay {
  position: relative;
  z-index: 1;
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cta-overlay-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 2rem;
  color: #ffffff;
  line-height: 1.25;
  max-width: 620px;
}
.cta-overlay-sub {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 6px;
}
.cta-overlay-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #e8a020;
  color: #1a1a1a;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.18s, transform 0.15s;
  box-shadow: 0 2px 12px rgba(232,160,32,0.4);
}
.cta-overlay-btn:hover { background: #d4911a; transform: translateY(-1px); }

/* =============================================
   TESTIMONIALS SECTION (grid of 3)
   ============================================= */
.clients-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #0d4030;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.testimonials-section {
  width: 100%;
  max-width: 1080px;
  margin-top: 60px;
  text-align: center;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.testimonial-avatar svg { width: 100%; height: 100%; display: block; }
.star-rating {
  color: #e8a020;
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}
.testimonial-attr {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.5;
}
.testimonial-attr strong { color: #333; font-size: 0.85rem; }
.testimonials-disc {
  font-size: 0.75rem;
  color: #aaa;
  font-style: italic;
  margin-top: 8px;
}

/* =============================================
   BANNER STRIP
   ============================================= */
.banner-strip {
  background: #e8e2d8;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.97rem;
  color: #2a2a2a;
}
.banner-globe {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #3a3a3a;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #0d3d2d;
  padding: 56px 40px 48px;
  color: rgba(255,255,255,0.85);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
}
.logo-text--light { color: #ffffff; }
.footer-logo { margin-bottom: 24px; }
.footer-body {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 14px;
}
.footer-italic { font-style: italic; }
.footer-link { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-link--underline { text-decoration: underline; text-underline-offset: 2px; }
.footer-link:hover { color: #ffffff; }
.footer-links-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
  background: #ffffff;
  border-radius: 8px;
  padding: 36px 32px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-box h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d4030;
  margin-bottom: 16px;
  line-height: 1.4;
}
.modal-box p { font-size: 0.9rem; color: #444; margin-bottom: 12px; line-height: 1.65; }
.modal-btns { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }
.modal-cancel {
  padding: 10px 22px;
  background: transparent;
  border: 1.5px solid #0d4030;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0d4030;
  cursor: pointer;
  transition: background 0.15s;
}
.modal-cancel:hover { background: rgba(13,64,48,0.06); }
.modal-ok {
  padding: 10px 26px;
  background: #0d4030;
  border: none;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s;
}
.modal-ok:hover { background: #1a6650; }

/* =============================================
   SUCCESS STATE
   ============================================= */
.success-msg {
  text-align: center;
  padding: 20px;
}
.success-msg h2 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 2rem;
  color: #0d4030;
  margin-bottom: 14px;
}
.success-msg p { font-size: 0.95rem; color: #555; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 860px) {
  .split-layout { grid-template-columns: 1fr; }
  .image-side { min-height: 320px; order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-overlay { padding: 40px 32px; }
  .cta-overlay-title { font-size: 1.6rem; }
}
@media (max-width: 700px) {
  .form-side { padding: 36px 24px; }
  .page-headline { font-size: 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .header-logo { position: static; transform: none; }
  .header-inner { justify-content: space-between; }
  .trust-stats { gap: 0; }
  .stat-num { font-size: 1.35rem; }
  .press-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .site-footer { padding: 40px 20px; }
  .main-content { padding: 32px 12px 56px; }
  .hero-overlay { padding: 32px 24px; }
  .overlay-title { font-size: 1.35rem; }
  .cta-overlay { padding: 32px 20px; }
  .cta-overlay-title { font-size: 1.35rem; }
}
