/* ===========================
   MIROFLECT — STYLESHEET
   =========================== */

:root {
  --green-deep:    #1a3d2b;
  --green-mid:     #2d6a4f;
  --green-bright:  #52b788;
  --green-light:   #95d5b2;
  --green-pale:    #d8f3dc;
  --cream:         #f9f5ee;
  --cream-dark:    #ede8dd;
  --white:         #ffffff;
  --text-dark:     #1c2b22;
  --text-mid:      #3d5246;
  --text-light:    #6b8a74;
  --accent:        #74c69d;
  --border:        rgba(45, 106, 79, 0.15);

  --font-display:  'DM Serif Display', Georgia, serif;
  --font-body:     'Outfit', sans-serif;

  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 4px 24px rgba(26, 61, 43, 0.10);
  --shadow-lg:     0 12px 48px rgba(26, 61, 43, 0.18);

  --max-w:         1200px;
  --section-pad:   100px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* UTILITY */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--section-pad) 0;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  color: var(--green-deep);
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--green-mid);
}

.section-intro {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 620px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--green-mid);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(45, 106, 79, 0.35);
}

.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45, 106, 79, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}

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

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(249, 245, 238, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(26, 61, 43, 0.1);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
}

.logo-icon {
  font-size: 22px;
  color: var(--green-bright);
  filter: drop-shadow(0 0 6px rgba(82, 183, 136, 0.5));
}

.logo-text {
  color: var(--white);
  transition: color 0.3s;
  letter-spacing: 0.02em;
}

.nav.scrolled .logo-text { color: var(--green-deep); }
.nav.scrolled .logo-icon { color: var(--green-mid); filter: none; }

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

.nav.scrolled .nav-links a { color: var(--text-mid); }
.nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a:hover { color: var(--green-mid); }

.nav-cta {
  background: var(--green-bright);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--green-mid) !important;
  transform: translateY(-1px);
}

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

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav.scrolled .nav-burger span { background: var(--green-deep); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.03); }
  to   { transform: scale(1.10); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 28, 18, 0.78) 0%,
    rgba(26, 61, 43, 0.55) 60%,
    rgba(82, 183, 136, 0.12) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  padding-top: 80px;
}

.hero-badge {
  display: inline-block;
  background: rgba(82, 183, 136, 0.2);
  border: 1px solid rgba(82, 183, 136, 0.4);
  color: var(--green-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 780px;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero-title em {
  font-style: italic;
  color: var(--green-light);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  margin: 8px auto 0;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* STATS STRIP */
.stats-strip {
  background: var(--green-deep);
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: 100%;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 40px;
  flex: 1;
  min-width: 180px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: rgba(149, 213, 178, 0.75);
  max-width: 160px;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(149, 213, 178, 0.2);
}

/* HOW IT WORKS */
.how {
  background: var(--white);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.how-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-pale);
  box-shadow: var(--shadow-lg);
}

.how-img {
  border-radius: var(--radius-lg);
  display: block;
  max-height: 520px;
  object-fit: cover;
}

.how-caption {
  font-size: 12px;
  color: var(--text-light);
  padding: 14px 18px;
  background: var(--green-pale);
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

.step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step.visible {
  opacity: 1;
  transform: translateX(0);
}

.step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--green-pale);
  line-height: 1;
  min-width: 44px;
  font-style: italic;
}

.step-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.step-body p {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* COMPARISON */
.comparison {
  background: var(--cream);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 15px;
}

.comp-table th {
  padding: 18px 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--cream);
  border-bottom: 2px solid var(--border);
}

.comp-table th:first-child { text-align: left; }

.comp-table td {
  padding: 16px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}

.comp-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-dark);
}

.comp-table tr:last-child td { border-bottom: none; }

.highlight-col {
  background: rgba(82, 183, 136, 0.08);
  font-weight: 600;
  color: var(--green-deep) !important;
}

.comp-table thead .highlight-col {
  background: var(--green-mid);
  color: var(--white) !important;
  font-size: 14px;
}

.ok { color: var(--green-mid); font-size: 18px; font-weight: 700; }
.no { color: #d4a373; font-size: 18px; }

/* BENEFITS */
.benefits {
  background: var(--green-deep);
}

.benefits .section-title { color: var(--white); }
.benefits .section-label { color: var(--green-bright); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(149, 213, 178, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: background 0.25s, transform 0.25s;
}

.benefit-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.benefit-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--green-light);
  margin-bottom: 10px;
  line-height: 1.3;
}

.benefit-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* PHOTO BREAK */
.photo-break {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.photo-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,28,18,0.82) 0%, rgba(10,28,18,0.35) 100%);
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.photo-break-quote {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 26px);
  font-style: italic;
  color: var(--white);
  max-width: 700px;
  line-height: 1.55;
}

/* PARTNERS */
.partners {
  background: var(--cream-dark);
}

.partners .section-title {
  margin-bottom: 48px;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.partner-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 44px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}

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

.partner-item:hover {
  background: var(--green-pale);
}

.partner-item img {
  width: 100%;
  max-width: 180px;
  height: 70px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.3s;
}

.partner-item:hover img {
  filter: grayscale(0) opacity(1);
}

.partner-item:first-child img {
  max-width: 220px;
  height: 64px;
}

/* FOR WHO */
.for-who {
  background: var(--cream);
}

.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  background: var(--white);
  border: 1.5px solid var(--green-bright);
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s;
}

.tag:hover {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}

/* CONTACT */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info p {
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: baseline;
}

.contact-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-bright);
  min-width: 80px;
}

.contact-item span:last-child,
.contact-item a {
  font-size: 15px;
  color: var(--text-dark);
}

.contact-item a:hover { color: var(--green-mid); text-decoration: underline; }

.contact-map-placeholder {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 14px;
  color: var(--green-deep);
  font-weight: 500;
}

.map-pin { font-size: 22px; }

/* FORM */
.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--green-deep);
  margin-bottom: 28px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.12);
}

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

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 12px;
}

.form-success {
  text-align: center;
  padding: 60px 20px;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--green-mid);
  color: var(--white);
  border-radius: 50%;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--green-deep);
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-mid);
}

/* FOOTER */
.footer {
  background: var(--green-deep);
  padding: 48px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .logo-icon { color: var(--green-bright); font-size: 20px; }
.footer-brand .logo-text { color: var(--white); font-size: 18px; font-weight: 700; }

.footer-tagline {
  font-size: 12px;
  color: rgba(149, 213, 178, 0.55);
  padding-left: 12px;
  border-left: 1px solid rgba(149, 213, 178, 0.2);
  margin-left: 2px;
}

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

.footer-links a {
  font-size: 13px;
  color: rgba(149, 213, 178, 0.7);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 12px;
  color: rgba(149, 213, 178, 0.4);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .how-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

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

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--green-deep);
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.open a {
    font-size: 22px !important;
    color: var(--white) !important;
  }

  .stats-strip { flex-direction: column; }
  .stat-divider { width: 60px; height: 1px; }

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

  .photo-break { height: 300px; }
  .photo-break-overlay { padding: 0 32px; }
  .partners-grid { flex-direction: column; }
  .partner-item { border-right: none; border-bottom: 1px solid var(--border); width: 100%; }
  .partner-item:last-child { border-bottom: none; }

  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

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