/* ===== Dr. Homeo Physician — Main Stylesheet ===== */
/* Colors: Warm Peach (#FF8A65) + Cool Sky Blue (#4FC3F7) */

:root {
  --peach: #FF8A65;
  --peach-dark: #FF6F4A;
  --peach-light: #FFE0D0;
  --peach-bg: #FFF5F0;
  --skyblue: #4FC3F7;
  --skyblue-dark: #29B6F6;
  --skyblue-light: #B3E5FC;
  --skyblue-bg: #F0F9FF;
  --navy: #1A2B4A;
  --slate: #2D3748;
  --gray-600: #718096;
  --gray-400: #A0AEC0;
  --gray-200: #E2E8F0;
  --gray-100: #F7FAFC;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1140px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--slate);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

a { color: var(--skyblue-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--peach-dark); }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.logo-link { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-link img { height: 52px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1.2; letter-spacing: -0.3px; }
.logo-tag { font-size: 11px; color: var(--skyblue-dark); letter-spacing: 2px; font-weight: 500; text-transform: uppercase; }

/* Navigation */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-list a:hover, .nav-list a.active {
  background: var(--peach-light);
  color: var(--peach-dark);
}
.nav-cta {
  background: linear-gradient(135deg, var(--peach), var(--skyblue));
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--peach-dark), var(--skyblue-dark));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255,138,101,0.35);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--peach-bg) 0%, var(--skyblue-bg) 50%, var(--white) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,138,101,0.08), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--peach), var(--skyblue));
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 span { background: linear-gradient(135deg, var(--peach), var(--skyblue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 520px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--peach), var(--skyblue));
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,138,101,0.3);
  color: var(--white);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--white);
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--peach);
  color: var(--peach-dark);
  transform: translateY(-2px);
}
.hero-image { text-align: center; }
.hero-image svg { max-width: 100%; height: auto; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-200);
}
.hero-stat-number { font-size: 28px; font-weight: 800; color: var(--navy); }
.hero-stat-label { font-size: 13px; color: var(--gray-600); }

/* ===== SECTION COMMON ===== */
section { padding: 72px 0; }
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--peach-light);
  color: var(--peach-dark);
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}
.section-subtitle {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 640px;
  line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--peach), var(--skyblue));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card:hover::before { opacity: 1; }
.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: var(--peach-light);
  color: var(--peach-dark);
}
.service-card:nth-child(2n) .service-card-icon { background: var(--skyblue-light); color: var(--skyblue-dark); }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.service-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }
.service-card .card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--peach-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== WHY CHOOSE US ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.feature-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature-item:hover { box-shadow: var(--shadow-md); border-color: var(--peach-light); }
.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--skyblue-light);
  color: var(--skyblue-dark);
}
.feature-item:nth-child(2n) .feature-icon { background: var(--peach-light); color: var(--peach-dark); }
.feature-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.feature-item p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-content h2 { font-size: 34px; font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.about-content p { font-size: 16px; color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; }
.about-image {
  background: linear-gradient(135deg, var(--peach-light), var(--skyblue-light));
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image .initials {
  font-size: 72px;
  font-weight: 800;
  color: var(--white);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--peach-light);
  color: var(--peach-dark);
}
.contact-detail:nth-child(2n) .contact-detail-icon { background: var(--skyblue-light); color: var(--skyblue-dark); }
.contact-detail-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-400); font-weight: 600; }
.contact-detail-value { font-size: 16px; font-weight: 600; color: var(--navy); }
.contact-detail-value a { color: var(--navy); }
.contact-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 32px; }
.contact-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--skyblue);
  box-shadow: 0 0 0 3px rgba(79,195,247,0.15);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-error { color: #E53E3E; font-size: 13px; margin-top: 4px; display: none; }
.form-success { display: none; padding: 16px; background: #C6F6D5; color: #276749; border-radius: var(--radius-sm); margin-top: 16px; text-align: center; font-weight: 500; }

.map-embed { margin-top: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: #CBD5E0;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-name { color: var(--white); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 12px; max-width: 320px; }
.footer h4 { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #CBD5E0; font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--peach); padding-left: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--white);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--peach); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #718096;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--peach-light), var(--skyblue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.blog-card-body { padding: 24px; }
.blog-card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--peach-light);
  color: var(--peach-dark);
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--navy); line-height: 1.4; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--peach-dark); }
.blog-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; margin-bottom: 12px; }
.blog-card .blog-meta { font-size: 12px; color: var(--gray-400); display: flex; gap: 12px; }

.article-layout { max-width: 760px; margin: 0 auto; padding: 40px 24px 72px; }
.article-layout h1 { font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1.3; margin-bottom: 16px; }
.article-meta { display: flex; gap: 16px; color: var(--gray-400); font-size: 14px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-200); }
.article-body { font-size: 16px; line-height: 1.9; color: var(--slate); }
.article-body h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin: 36px 0 14px; }
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 24px 0 10px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--navy); }
.article-cta {
  margin-top: 40px;
  padding: 28px;
  background: linear-gradient(135deg, var(--peach-light), var(--skyblue-light));
  border-radius: var(--radius);
  text-align: center;
}
.article-cta h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.article-cta p { color: var(--gray-600); margin-bottom: 16px; }

/* ===== SERVICE DETAIL PAGE ===== */
.service-detail { max-width: 800px; margin: 0 auto; padding: 40px 24px; }
.service-detail h1 { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.service-detail .breadcrumb { font-size: 14px; color: var(--gray-400); margin-bottom: 32px; }
.service-detail .breadcrumb a { color: var(--gray-400); }
.service-detail .breadcrumb a:hover { color: var(--peach-dark); }
.service-detail .breadcrumb span { color: var(--navy); font-weight: 600; }
.service-detail-content { font-size: 16px; line-height: 1.9; color: var(--slate); }
.service-detail-content h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin: 36px 0 14px; }
.service-detail-content h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 24px 0 10px; }
.service-detail-content p { margin-bottom: 16px; }
.service-detail-content ul { margin: 0 0 16px 24px; }
.service-detail-content li { margin-bottom: 8px; }
.service-cta {
  margin-top: 40px;
  padding: 32px;
  background: linear-gradient(135deg, var(--peach-bg), var(--skyblue-bg));
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--gray-200);
}
.service-cta h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.service-cta p { margin-bottom: 20px; color: var(--gray-600); }

/* ===== WHY CHOOSE US (detail) ===== */
.page-section { padding: 72px 24px; max-width: var(--max-width); margin: 0 auto; }
.page-section h1 { font-size: 34px; font-weight: 800; color: var(--navy); margin-bottom: 24px; }
.page-section .content { font-size: 16px; line-height: 1.9; color: var(--slate); max-width: 800px; }
.page-section .content h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin: 36px 0 14px; }
.page-section .content p { margin-bottom: 16px; }
.page-section .content ul { margin: 0 0 16px 24px; }
.page-section .content li { margin-bottom: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero p { margin: 0 auto 30px; }
  .hero-stats { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero h1 { font-size: 32px; }
  .section-title { font-size: 28px; }
  .services-grid, .blog-grid, .features-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }

  .nav-list {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }
  .nav-list.open { display: flex; }
  .nav-list a { width: 100%; padding: 12px 16px; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .container { padding: 0 16px; }
}