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

/* ===========================
   CUSTOM PROPERTIES
   =========================== */
/* Palette: Coffee Bean · Espresso · Toffee Brown · Toasted Almond · Peach Glow
   Backgrounds: Toasted Almond + Toffee Brown | Text: Coffee Bean + Espresso | Accent: Peach Glow */
:root {
  --primary:        #F9ECE0;  /* peach-glow — accent surface & highlights */
  --primary-dark:   #EED8BC;  /* deeper peach — hover states */
  --primary-light:  rgba(249, 236, 224, 0.20);
  --accent:         #EED8BC;  /* peach mid-tone — tags */
  --bg:             #CA926D;  /* toasted-almond — main background */
  --bg-alt:         #915942;  /* toffee-brown — alternate sections */
  --dark:           #1D140F;  /* coffee-bean — headings */
  --text:           #432216;  /* espresso — body text */
  --text-light:     #915942;  /* toffee-brown — placeholders, secondary */
  --border:         rgba(29, 20, 15, 0.25);
  --white:          #F9ECE0;  /* peach-glow — card & button surface */
  --nav-bg:         rgba(202, 146, 109, 0.96);  /* toasted-almond nav */
  --shadow-sm:      0 1px 4px rgba(29, 20, 15, 0.15);
  --shadow-md:      0 4px 20px rgba(29, 20, 15, 0.25);
  --shadow-lg:      0 8px 40px rgba(29, 20, 15, 0.35);
  --radius-sm:      8px;
  --radius:         14px;
  --radius-lg:      24px;
  --transition:     0.2s ease;
  --max-width:      1140px;
}


/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--text); }

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text);
}

.section-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 12px;
}

/* ===========================
   LAYOUT
   =========================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

.section-header {
  max-width: 620px;
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header p { margin-top: 16px; font-size: 1.05rem; }

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo .logo-primary {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
}

.nav-logo .logo-secondary {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links .btn-nav {
  padding: 8px 20px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 100px;
  font-size: 0.85rem;
}

.nav-links .btn-nav::after { display: none; }
.nav-links .btn-nav:hover { background: var(--primary-dark); color: var(--dark); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  gap: 4px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--text); }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn-outline:hover {
  background: rgba(29, 20, 15, 0.08);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-active,
.btn-active:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: none;
}

.btn-dark-border,
.btn-dark-border:hover {
  border-color: var(--dark);
}

/* ===========================
   HERO
   =========================== */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  max-width: 700px;
  position: relative;
}

.hero h1 { margin-bottom: 20px; }

.hero h1 span { color: var(--primary); }

.hero .lead { margin-bottom: 40px; max-width: 560px; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 64px 0 56px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; max-width: 540px; color: var(--white); }

/* ===========================
   CARDS
   =========================== */
.card-grid {
  display: grid;
  gap: 24px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--dark);
}

.card-icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 10px; }

/* ===========================
   SERVICE STEPS
   =========================== */
.steps { display: flex; flex-direction: column; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 24px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 39px;
  top: 64px;
  bottom: -32px;
  width: 2px;
  background: var(--border);
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--dark);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content {
  padding: 20px 0 40px;
}

.step-content h3 { margin-bottom: 8px; font-size: 1.15rem; }

.step-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  background: var(--bg-alt);
  border-radius: 100px;
  color: var(--white);
  margin-top: 10px;
}

/* ===========================
   TOOL TAGS
   =========================== */
.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tool-tag {
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  background: var(--bg-alt);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(249, 236, 224, 0.72); margin-bottom: 36px; font-size: 1.05rem; }

/* ===========================
   CONTACT FORM
   =========================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group label span { color: var(--text); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 20, 15, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

.form-group textarea { resize: vertical; min-height: 140px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-select-wrap { position: relative; }

.form-select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-light);
  pointer-events: none;
}

.form-group select { cursor: pointer; padding-right: 40px; }

.form-submit { margin-top: 8px; }

.form-submit .btn { width: 100%; justify-content: center; }

/* Form status messages */
.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
}

.form-status.success {
  display: block;
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
}

.form-status.error {
  display: block;
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #FFCDD2;
}

/* Contact info sidebar */
.contact-info {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-info h3 { margin-bottom: 24px; }

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  flex-shrink: 0;
}

.contact-info-icon svg { width: 18px; height: 18px; }

.contact-info-item strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.contact-info-item span { font-size: 0.9rem; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--bg-alt);
  padding: 48px 0;
  color: rgba(249, 236, 224, 0.65);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo .logo-primary { color: var(--white); }
.footer-logo .logo-secondary { color: rgba(249, 236, 224, 0.55); }

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(249, 236, 224, 0.65);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-copy { font-size: 0.8rem; }

/* ===========================
   HIGHLIGHT BOX
   =========================== */
.highlight-box {
  background: var(--primary-light);
  border-left: 4px solid var(--dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 40px 0;
}

.highlight-box p { margin: 0; font-size: 0.95rem; color: var(--dark); }

/* ===========================
   COMING SOON
   =========================== */
.coming-soon {
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.coming-soon h3 { color: var(--white); }
.coming-soon p { margin-top: 8px; color: var(--white); opacity: 0.8; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { max-width: 480px; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 64px 0 56px; }
  .hero::before { display: none; }

  .card-grid-3,
  .card-grid-2 { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .step { grid-template-columns: 56px 1fr; gap: 0 16px; }
  .step-number { width: 56px; height: 56px; font-size: 1rem; }
  .step:not(:last-child)::after { left: 27px; top: 56px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section-header { margin-bottom: 36px; }
}
