@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;600;700&family=Jost:wght@300;400;500;600&display=swap");

:root {
  --gold: #c9952a;
  --gold-light: #e8b830;
  --gold-pale: #f0d080;
  --gold-dim: rgba(201, 149, 42, 0.2);
  --gold-border: rgba(201, 149, 42, 0.55);
  --sage: #6b9e72;
  --sage-light: #8fbf96;
  --sage-pale: #e8f2e9;
  --sage-mid: #c6ddc8;
  --cream: #fdf9f4;
  --cream-warm: #faf3e4;
  --cream-green: #f4f7f0;
  --warm-white: #fffef9;
  --text-dark: #1a1208;
  --text-mid: #3d2b10;
  --text-muted: #7a6248;
  --text-light: #a08c72;
  --sunflower-brown: #8b5e2a;
  --brown-light: #c4955a;

  /* ── Typography scale (accessibility: larger for older readers) ── */
  --fs-sm: 0.9rem; /* nav links, badges, labels         */
  --fs-base: 1rem; /* body copy baseline                */
  --fs-md: 1.4rem; /* slightly elevated body            */
  --fs-lg: 1.6rem; /* cards, credentials, review text   */

  --fw-light: 400;
  --fw-regular: 500;
  --fw-medium: 600;
  --fw-bold: 700;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Jost", sans-serif;
  font-size: var(--fs-md);
  font-weight: var(--fw-regular);
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.8;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
}

/* ===== NAV ===== */
.nav-sunflower-img {
  width: 26px;
  height: 26px;
  opacity: 1;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 52px;
  background: rgba(253, 249, 244, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--gold-border);
  transition:
    padding 0.3s,
    box-shadow 0.3s;
}
nav.scrolled {
  padding: 12px 52px;
  box-shadow: 0 2px 24px rgba(201, 149, 42, 0.1);
}

.nav-logo {
  font-family: "Dancing Script", cursive;
  color: var(--text-dark);
  font-size: 1.85rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo em {
  font-style: normal;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: var(--fs-md);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: var(--fw-medium);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  nav {
    padding: 16px 24px;
  }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--warm-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 24px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-border),
    transparent
  );
}

/* ===== SPINNING SUNFLOWER ===== */
.hero-sunflower {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.sunflower-img {
  width: 740px;
  height: 740px;
  object-fit: contain;
  filter: drop-shadow(0 8px 40px rgba(201, 149, 42, 0.45));
  mix-blend-mode: multiply;
  opacity: 0.3;
  display: block;
}

@keyframes sunflower-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 500px) {
  .sunflower-img {
    width: 500px;
    height: 500px;
  }
}

.hero h1 {
  font-family: "Dancing Script", cursive;
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.hero h1 em {
  font-style: italic;
  color: var(--text-dark);
}

.hero-sub {
  font-size: var(--fs-md);
  color: var(--text-dark);
  font-weight: var(--fw-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.badge {
  background: rgba(255, 252, 247, 0.8);
  border: 1px solid var(--gold-border);
  color: var(--text-mid);
  padding: 9px 22px;
  border-radius: 40px;
  font-size: var(--fs-md);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  backdrop-filter: blur(8px);
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.badge:hover {
  background: rgba(201, 149, 42, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 18px 56px;
  border-radius: 4px;
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  box-shadow:
    0 4px 24px rgba(201, 149, 42, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
  z-index: 1;
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
}
.hero-cta:hover {
  transform: translateY(-3px);
  background: var(--sunflower-brown);
  box-shadow: 0 12px 36px rgba(201, 149, 42, 0.35);
}

/* ===== MISSION BANNER ===== */
.mission-banner {
  background: var(--cream-warm);
  padding: 20px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-quote {
  font-style: italic;
  font-weight: var(--fw-regular);
  font-size: var(--fs-lg);
  color: var(--text-dark);
  line-height: 1.25;
  max-width: 950px;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}
.mission-quote em {
  color: var(--text-dark);
  font-style: normal;
  font-weight: var(--fw-medium);
}
.mission-sig {
  font-family: "Dancing Script", cursive;
  font-size: 2.6rem;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}

/* ===== SECTION BASE ===== */
section {
  padding: 46px 24px;
}
.container {
  max-width: 1060px;
  margin: 0 auto;
}
.section-title {
  font-family: "Dancing Script", cursive;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 26px;
  line-height: 1.1;
}

@media (max-width: 500px) {
  .section-title {
    font-size: 2.6rem;
  }
}
@media (max-width: 400px) {
  .section-title {
    font-size: 2rem;
  }
}
@media (max-width: 320px) {
  .section-title {
    font-size: 1.6rem;
  }
}

/* ===== SERVICES — 2-COLUMN ACCORDION ===== */
.services-sunflower {
  position: absolute;
  top: 5%;
  right: 5%;
  z-index: 1;
  pointer-events: none;
}

.side-sunflower-img {
  width: 280px;
  height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 8px 40px rgba(201, 149, 42, 0.45));
  mix-blend-mode: multiply;
  opacity: 0.2;
  display: block;
}
#services {
  background: var(--warm-white);
  position: relative;
  padding: 20px 24px;
}

.accordion-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

@media (max-width: 720px) {
  .accordion-two-col {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.accordion-item {
  border-bottom: 1px solid rgba(201, 149, 42, 0.2);
  position: relative;
  transition: background 0.3s;

  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.accordion-icon {
  font-size: var(--fs-lg);
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s;
}

.accordion-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--text-dark);
  flex: 1;
  transition: color 0.25s;
}

/* ===== EDUCATION + ABOUT (combined) ===== */
#education {
  background: var(--cream-warm);
  position: relative;
  overflow: hidden;
  padding: 24px 20px;
}

/* About intro block inside education section */
.about-intro-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0px;
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .about-intro-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.about-text-col p {
  font-size: var(--fs-lg);
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: var(--fw-regular);
}
.about-text-col p strong {
  color: var(--text-dark);
  font-weight: var(--fw-bold);
}

.credentials-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

@media (max-width: 600px) {
  .credentials-list {
    grid-template-columns: 1fr;
  }
}

.credentials-list li {
  /* font-style: italic; */
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--text-dark);
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.15;
}

.credentials-list li:last-child {
  border-bottom: none;
}

.credentials-list li::before {
  content: "✓";
  color: var(--gold);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

/* ===== REVIEW CAROUSEL ===== */
#review {
  background: var(--warm-white);
  position: relative;
  padding: 24px 20px;
}

.reviews-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.reviews-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.review-box {
  flex: 0 0 100%;
  width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 48px 52px 44px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 149, 42, 0.2);
  box-shadow: 0 4px 24px rgba(201, 149, 42, 0.07);
  box-sizing: border-box;
}

.stars {
  color: var(--gold);
  font-size: var(--fs-lg);
  margin-bottom: 20px;
  display: block;
  letter-spacing: 4px;
  position: relative;
  z-index: 1;
}
.review-text {
  font-style: italic;
  font-weight: var(--fw-regular);
  font-size: var(--fs-lg);
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.review-author {
  font-size: var(--fs-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: var(--fw-bold);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-author::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.carousel-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  background: rgba(255, 255, 255, 0.85);
  color: var(--gold);
  font-size: var(--fs-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  backdrop-filter: blur(8px);
  line-height: 1;
}
.carousel-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(201, 149, 42, 0.28);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.25s,
    width 0.25s;
}
.carousel-dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
  border-color: var(--gold);
}

/* ===== CONTACT ===== */
#contact {
  background: var(--cream-warm);
  position: relative;
  overflow: hidden;
  padding: 24px 20px;
}
#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(201, 149, 42, 0.08) 1px,
    transparent 1px
  );
  background-size: 36px 36px;
  mask-image: radial-gradient(
    ellipse 70% 70% at center,
    black 20%,
    transparent 80%
  );
  pointer-events: none;
}

.contact-intro {
  font-size: var(--fs-md);
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.85;
  font-weight: var(--fw-regular);
  position: relative;
  z-index: 1;
}

.contact-with-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 800px) {
  .contact-with-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 800px) {
  .contact-info-col {
    align-items: stretch;
    width: 100%;
  }
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

/* ── Contact items: open, no box ── */
.contact-card {
  padding: 18px 0;
  border-bottom: 1px solid rgba(201, 149, 42, 0.18);
  display: flex;
  align-items: baseline;
  gap: 24px;
}

/* On small screens: stack label above value */
@media (max-width: 600px) {
  .contact-card {
    flex-direction: column;
    gap: 4px;
    padding: 20px 0;
  }
}

.contact-card:last-child {
  border-bottom: none;
}

.contact-card .label {
  font-size: var(--fs-sm);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: var(--fw-medium);
  flex-shrink: 0;
  min-width: 100px;
}

.contact-card .value {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--text-dark);
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .contact-card .value {
    font-size: 1.5rem;
  }
}

.contact-card .value a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-card .value a:hover {
  color: var(--gold);
}

.contact-card-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* ===== BUSINESS CARD ===== */
.card-container {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.card-inner {
  position: relative;
  width: 380px;
  height: 218px;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

@media (max-width: 480px) {
  .card-inner {
    width: min(340px, 90vw);
    height: calc(min(340px, 90vw) * 0.574);
  }
}

.card-inner.flipped {
  transform: rotateY(180deg);
}
.card-face,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow:
    0 12px 48px rgba(139, 94, 42, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.07);
}
.card-back {
  transform: rotateY(180deg);
}

.card-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.card-hint {
  font-size: var(--fs-sm);
  color: var(--text-light);
  font-style: italic;
  font-weight: var(--fw-light);
}

/* ===== FOOTER ===== */
footer {
  background: var(--text-dark);
  color: rgba(253, 249, 244, 0.45);
  text-align: center;
  padding: 28px 24px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-light);
  letter-spacing: 0.1em;
  border-top: 2px solid var(--gold);
}
footer span {
  color: var(--gold-pale);
}

/* ===== FADE IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
