/* ================================
   BASE & COLOR VARS
================================ */
:root {
  --green-deep:   #1b361b;
  --green:        #2d5a2e;
  --green-mid:    #345635;
  --green-light:  #567d56;
  --gold:         #c4954a;
  --gold-light:   #d4a574;
  --cream:        #f5f1e8;
  --cream-light:  #faf8f3;
  --sage-bg:      #eef4ed;
  --text-dark:    #1a2332;
  --text-mid:     #4a5568;
  --text-light:   #718096;
  --white:        #ffffff;
  --shadow-sm:    0 4px 16px rgba(0, 0, 0, 0.07);
  --shadow-md:    0 8px 28px rgba(0, 0, 0, 0.1);
  --shadow-lg:    0 16px 48px rgba(0, 0, 0, 0.13);
  --radius:       14px;
  --radius-lg:    20px;
}

* {
  font-family: "Inter", sans-serif;
  margin: 0;
  line-height: 1.6;
}

/* ================================
   HERO SECTION — SPLIT PANEL
================================ */
.hero-section {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 100vh;
  position: relative;
}

/* ── Left: dark green text panel ── */
.hero-text-panel {
  background:
    radial-gradient(ellipse at 110% 30%, rgba(52, 86, 53, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse at -10% 80%, rgba(196, 149, 74, 0.1) 0%, transparent 50%),
    linear-gradient(160deg, #0b1c0b 0%, #162b16 45%, #1f3d20 100%);
  display: flex;
  align-items: center;
  padding: 9rem 4.5rem 4rem 5.5rem;
  position: relative;
  overflow: hidden;
}

/* Decorative left accent line */
.hero-text-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--gold-light) 25%,
    var(--gold-light) 75%,
    transparent 100%
  );
  border-radius: 2px;
}

/* Subtle large circle in background for depth */
.hero-text-panel::after {
  content: '';
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(52, 86, 53, 0.25);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 580px;
  padding: 0;
}

/* ── Right: image panel ── */
.hero-image-panel {
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* Thin left-edge gradient to blend image into text panel */
.hero-image-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 34, 15, 0.55) 0%,
    rgba(15, 34, 15, 0.15) 25%,
    transparent 55%
  );
  pointer-events: none;
}

.main-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

/* Credential pill above the name */
.hero-credential-tag {
  display: inline-block;
  background: rgba(212, 165, 116, 0.14);
  border: 1px solid rgba(212, 165, 116, 0.42);
  color: var(--gold-light);
  padding: 0.42rem 1.2rem;
  margin-top: 1.2rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: normal;
  word-break: break-word;
}

.animated-gradient-text {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 1.2rem 0;
}

.hero-subtitle {
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  color: rgba(220, 235, 215, 0.78);
  font-weight: 400;
  line-height: 1.75;
  max-width: 460px;
  margin: 0;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: #ffffff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(52, 86, 53, 0.45);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(52, 86, 53, 0.55);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid var(--gold-light);
  color: var(--gold-light);
  box-shadow: none;
}

.cta-button.secondary:hover {
  background: var(--gold-light);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.4);
}

/* ================================
   SHARED SECTION TITLE
================================ */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--green-mid);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-mid), var(--gold-light));
  margin: 0.9rem auto 0;
  border-radius: 3px;
}

/* ================================
   STATS / PROOF BAR
================================ */
.stats-bar {
  background: #1b361b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem;
  text-align: center;
  flex: 1;
  min-width: 160px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: block;
}

.stat-label {
  font-size: 0.7rem;
  color: rgba(200, 225, 200, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  display: block;
  font-weight: 500;
}

@media (max-width: 680px) {
  .stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* ================================
   SPECIALTIES SECTION
================================ */
.specialties-section {
  padding: 5.5rem 2rem;
  background: var(--cream-light);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  max-width: 1180px;
  margin: 0 auto;
}

.specialty-card {
  background: var(--white);
  padding: 2.25rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  border: 1px solid rgba(52, 86, 53, 0.07);
  position: relative;
  overflow: hidden;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid), var(--gold-light));
  border-radius: var(--radius) var(--radius) 0 0;
}

.specialty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.specialty-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(52, 86, 53, 0.1), rgba(196, 149, 74, 0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--green-mid);
  border: 1px solid rgba(52, 86, 53, 0.12);
  flex-shrink: 0;
}

.specialty-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--green-mid);
}

.specialty-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-mid);
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}

.specialty-card p {
  color: var(--text-mid);
  line-height: 1.65;
  font-size: 0.93rem;
}

/* ================================
   ABOUT / "MEET KALAMARIS" SECTION
================================ */
.about-section {
  padding: 5.5rem 2rem;
  background: var(--white);
  border-top: 1px solid rgba(52, 86, 53, 0.07);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}

.about-text {
  padding-right: 1rem;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 1.75rem;
}

.about-text .section-title::after {
  margin: 0.9rem 0 0;
}

.my-paragraph {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 2rem;
}

.readmore {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: var(--white);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(52, 86, 53, 0.35);
}

.readmore:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(52, 86, 53, 0.45);
}

.about-image {
  text-align: center;
}

.pic {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 12px 40px rgba(52, 86, 53, 0.2);
  border: 5px solid var(--cream);
  outline: 2px solid rgba(52, 86, 53, 0.15);
  outline-offset: 6px;
}

/* ================================
   BENEFITS SECTION  — dark green panel
================================ */
.benefits-section {
  padding: 5.5rem 2rem;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(52, 86, 53, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(196, 149, 74, 0.1) 0%, transparent 45%),
    linear-gradient(135deg, #162b16 0%, #1e3820 50%, #243d26 100%);
}

.benefits-section .section-title {
  color: #ffffff;
  margin-bottom: 3rem;
}

/* Override the underline accent for dark bg */
.benefits-section .section-title::after {
  background: linear-gradient(90deg, rgba(255,255,255,0.4), var(--gold-light));
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  max-width: 1180px;
  margin: 0 auto;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  padding: 2rem 2rem 2rem 2.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid rgba(255, 255, 255, 0.25);
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.benefit-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--gold-light);
}

.benefit-item:nth-child(1) { border-left-color: rgba(255,255,255,0.3); }
.benefit-item:nth-child(2) { border-left-color: rgba(212,165,116,0.5); }
.benefit-item:nth-child(3) { border-left-color: rgba(255,255,255,0.2); }
.benefit-item:nth-child(4) { border-left-color: rgba(212,165,116,0.35); }

.benefit-number {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  opacity: 0.07;
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.benefit-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.benefit-item p {
  color: rgba(210, 230, 210, 0.72);
  line-height: 1.65;
  font-size: 0.92rem;
}

/* ================================
   HOW IT WORKS SECTION — clean white
================================ */
.how-it-works-section {
  padding: 5.5rem 2rem;
  background: var(--white);
  border-top: 1px solid rgba(52, 86, 53, 0.07);
}

.how-it-works-section .section-title {
  color: var(--green-mid);
  margin-bottom: 3.5rem;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

/* Horizontal connector line between steps (desktop only) */
.steps-container::before {
  content: '';
  position: absolute;
  top: 42px; /* aligns with center of step-number circle */
  left: calc(12.5% + 27px);
  right: calc(12.5% + 27px);
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(52, 86, 53, 0.2) 10%,
    rgba(52, 86, 53, 0.2) 90%,
    transparent 100%
  );
  z-index: 0;
}

.step-card {
  background: transparent;
  padding: 0 1.5rem 0;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: var(--white);
  border: 2px solid var(--green-mid);
  color: var(--green-mid);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 1.75rem;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.step-card:hover .step-number {
  background: var(--green-mid);
  color: #ffffff;
}

/* Text block below step number */
.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.step-card p {
  color: var(--text-mid);
  line-height: 1.7;
  font-size: 0.9rem;
  max-width: 220px;
}

@media (max-width: 700px) {
  .steps-container::before {
    display: none; /* hide horizontal connector on mobile */
  }

  .steps-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1rem;
  }

  .step-card {
    padding: 0 0.75rem;
  }
}

@media (max-width: 440px) {
  .steps-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ================================
   REVIEWS / TESTIMONIALS SECTION
================================ */
.reviews-section {
  padding: 5.5rem 2rem;
  background: var(--white);
  border-top: 1px solid rgba(52, 86, 53, 0.07);
}

.reviews-section .section-title {
  color: var(--green-mid);
  margin-bottom: 3rem;
}

.reviews-container {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.review-card {
  background: var(--cream-light);
  padding: 2.25rem 2rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  flex: 1;
  min-width: 260px;
  max-width: 360px;
  border: 1px solid rgba(52, 86, 53, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '\201C';
  font-size: 5rem;
  font-weight: 900;
  color: var(--green-mid);
  opacity: 0.1;
  position: absolute;
  top: 0.4rem;
  left: 0.9rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-mid);
  font-style: italic;
  flex-grow: 1;
  padding-top: 0.5rem;
}

.review-rating {
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.review-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-mid);
  letter-spacing: 0.04em;
}

.review-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(52, 86, 53, 0.07);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}

/* ================================
   CLOSING CTA BANNER
================================ */
.cta-banner {
  padding: 1.5rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Diagonal split: deep green left, warm gold-tinted right */
  background: linear-gradient(to bottom, #ffffff 0%, #e8f0e7 20%, #345635 55%, #1b361b 100%);
}

.cta-banner::before { display: none; }
.cta-banner::after  { display: none; }

.cta-banner-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  z-index: 1;
}

.cta-banner-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-banner-sub {
  font-size: 1rem;
  color: #000000;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  font-weight: 400;
}

.cta-banner-btn {
  display: inline-block;
  padding: 1rem 2.75rem;
  background: var(--gold-light);
  color: #484848;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 4px 20px rgba(196, 149, 74, 0.45);
}

.cta-banner-btn:hover {
  background: #e8bc88;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(196, 149, 74, 0.55);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 960px) {
  /* Stack hero vertically on tablets/mobile */
  .hero-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }

  .hero-text-panel {
    padding: 8.5rem 2.5rem 3.5rem;
    min-height: 60vh;
  }

  .hero-text-panel::after {
    display: none; /* hide large decorative circle */
  }

  .hero-image-panel {
    height: 55vw;
    min-height: 260px;
    max-height: 420px;
  }

  .main-name {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero-text-panel {
    padding: 7.5rem 1.75rem 3rem;
  }

  .hero-image-panel {
    height: 65vw;
    min-height: 220px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-text {
    padding-right: 0;
  }

  .about-text .section-title,
  .about-text .section-title::after {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .reviews-container {
    flex-direction: column;
    align-items: center;
  }

  .review-card {
    min-width: 280px;
    max-width: 480px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .specialties-section,
  .about-section,
  .benefits-section,
  .how-it-works-section,
  .reviews-section {
    padding: 4rem 1.5rem;
  }

  .cta-banner {
    padding: 3.5rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero-section {
    min-height: 520px;
  }

  .specialties-grid,
  .benefits-grid,
  .steps-container {
    grid-template-columns: 1fr;
  }

  .specialties-section,
  .about-section,
  .benefits-section,
  .how-it-works-section,
  .reviews-section {
    padding: 3.5rem 1.25rem;
  }

  .pic {
    max-width: 230px;
  }
}

/* ================================
   MOBILE — 480px and below
================================ */
@media (max-width: 480px) {
  /* Hero */
  .hero-text-panel {
    padding: 7rem 1.25rem 2.5rem;
    text-align: center;
  }

  .hero-text-panel::before {
    display: none; /* hide accent line on small screens */
  }

  .hero-content {
    text-align: center;
    align-items: center;
  }

  .hero-credential-tag {
    font-size: 0.62rem;
    padding: 0.38rem 0.9rem;
    letter-spacing: 0.1em;
    text-align: center;
  }

  .animated-gradient-text {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .hero-subtitle {
    font-size: 0.93rem;
    margin: 0 auto;
  }

  .hero-cta {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Stats bar: 2-col already, just tighten */
  .stat-number {
    font-size: 1.25rem;
  }

  .stat-item {
    padding: 1.25rem 0.75rem;
  }

  /* About section: center everything */
  .about-text .section-title,
  .about-text .section-title::after {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .about-image {
    display: flex;
    justify-content: center;
  }

  .pic {
    max-width: 200px;
  }

  .my-paragraph {
    font-size: 0.97rem;
    text-align: center;
  }

  .readmore {
    display: block;
    text-align: center;
    width: 100%;
  }

  /* Benefits */
  .benefit-item {
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  }

  /* Reviews */
  .review-card {
    padding: 1.75rem 1.5rem 1.5rem;
    min-width: 0;
    max-width: 100%;
  }

  /* CTA banner */
  .cta-banner {
    padding: 3rem 1.25rem;
  }

  .cta-banner-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.95rem 1.5rem;
  }
}

/* ================================
   MOBILE — 375px (iPhone SE etc.)
================================ */
@media (max-width: 375px) {
  .hero-text-panel {
    padding: 6.5rem 1rem 2rem;
  }

  .animated-gradient-text {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .specialty-card,
  .benefit-item {
    padding: 1.5rem 1.25rem;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
