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

:root {
  --primary: #1a3a5c;
  --primary-light: #2a5282;
  --accent: #c9a96e;
  --accent-light: #e8d5b0;
  --text-dark: #1a1a2e;
  --text-mid: #4a5568;
  --text-light: #718096;
  --bg-white: #ffffff;
  --bg-soft: #f8f7f4;
  --bg-section: #f2efe9;
  --border: #e2ddd6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --font-sans: 'Georgia', 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* ===== HEADER / NAV ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

#header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.logo-text span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,58,92,0.25);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background: #b8935a;
  border-color: #b8935a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201,169,110,0.35);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

/* ===== HAMBURGER (mobile) ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

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

/* ===== HERO ===== */
#hero {
  padding-top: calc(68px + 4rem);
  padding-bottom: 5rem;
  background: linear-gradient(160deg, #eef2f8 0%, #f8f7f4 55%, #f0ece4 100%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8a6932;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--text-light);
}

.hero-trust-icon {
  color: var(--accent);
  font-size: 1rem;
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-mockup {
  width: 100%;
  max-width: 460px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.dash-header {
  background: var(--primary);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.6;
}

.dash-dot:nth-child(1) { background: #ff6b6b; }
.dash-dot:nth-child(2) { background: #ffd93d; }
.dash-dot:nth-child(3) { background: #6bcb77; }

.dash-title {
  margin-left: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.dash-body {
  padding: 1.25rem;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.dash-stat {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 0.85rem 0.75rem;
  text-align: center;
}

.dash-stat-val {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-sans);
}

.dash-stat-lbl {
  font-size: 0.68rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

.dash-chart-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.dash-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.dash-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: var(--primary);
  opacity: 0.15;
  transition: height 1s ease, opacity 0.3s;
}

.dash-bar.active {
  opacity: 1;
  background: linear-gradient(to top, var(--primary) 0%, var(--primary-light) 100%);
}

.dash-bar-d {
  font-size: 0.6rem;
  color: var(--text-light);
}

.dash-appointments {
  margin-top: 1.25rem;
}

.dash-apt-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dash-apt-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.dash-apt-item:last-child {
  border-bottom: none;
}

.dash-apt-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.dash-apt-info {
  flex: 1;
  min-width: 0;
}

.dash-apt-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-apt-proc {
  font-size: 0.68rem;
  color: var(--text-light);
}

.dash-apt-time {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}

/* ===== BENEFITS ===== */
#benefits {
  background: var(--bg-white);
}

.benefits-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.benefits-header .section-subtitle {
  margin: 0 auto;
}

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

.benefit-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
  color: var(--primary);
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===== FEATURES ===== */
#features {
  background: var(--bg-section);
}

.features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.features-text .section-subtitle {
  margin-bottom: 2.5rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-check svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}

.feature-item h4 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text-dark);
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.features-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature-tile {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all var(--transition);
}

.feature-tile:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.feature-tile:nth-child(1) {
  grid-column: 1 / -1;
}

.feature-tile-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature-tile h4 {
  font-size: 0.88rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.feature-tile p {
  font-size: 0.78rem;
  color: var(--text-light);
}

.feature-tile-stat {
  font-size: 1.6rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* ===== ABOUT ===== */
#about {
  background: var(--primary);
  color: #fff;
}

#about .section-label {
  color: var(--accent);
}

#about .section-title {
  color: #fff;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text .section-subtitle {
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.about-value {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.about-value-icon {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.about-value h4 {
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.about-value p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin: 0;
}

.about-numbers {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-number-item {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}

.about-number-val {
  font-size: 2.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.about-number-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}

.about-number-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.15rem;
}

/* ===== CTA ===== */
#cta {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--accent-light) 100%);
  text-align: center;
  padding: 6rem 0;
}

#cta .section-title {
  margin-bottom: 1rem;
}

#cta .section-subtitle {
  margin: 0 auto 2.5rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ===== FOOTER ===== */
#footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.65);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner,
  .features-inner,
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    order: -1;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--bg-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-top: 1px solid var(--border);
  }

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

  .nav-links a {
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 600px) {
  section {
    padding: 3.5rem 0;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .features-visual {
    grid-template-columns: 1fr;
  }

  .feature-tile:nth-child(1) {
    grid-column: auto;
  }

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

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

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ===== LOGO IMAGE ===== */
.logo-img {
  height: 36px;
  width: auto;
  display: block;
  max-width: 200px;
  object-fit: contain;
}

.footer-brand .logo-img {
  filter: brightness(0) invert(1);
  height: 30px;
}
