/* ============================================================
   GYNESTH – Unified Stylesheet
   Colors: #2E86AB sky · #5BA3D9 light blue · #D4547A rose
           #E8F4FD pale blue · #F8E1E8 pale pink
   Fonts:  Playfair Display (headings) · Inter (body)
   ============================================================ */

:root {
  --sky:       #2E86AB;
  --sky-light: #5BA3D9;
  --sky-pale:  #E8F4FD;
  --rose:      #D4547A;
  --rose-pale: #F8E1E8;
  --dark:      #1a202c;
  --mid:       #4a5568;
  --muted:     #64748b;
  --faint:     #94a3b8;
}

/* ---- Reset & Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--dark);
  line-height: 1.5;
}

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

h1, h2, h3 { font-family: 'Playfair Display', serif; }

a { color: inherit; }

/* ---- Animations ------------------------------------------ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-in-up { animation: fadeInUp 0.7s ease both; }
.animate-fade-in    { animation: fadeIn  0.7s ease both; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* ---- Utility Buttons ------------------------------------- */
.btn-primary {
  background: linear-gradient(135deg, #2E86AB, #5BA3D9);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46,134,171,0.4);
}

.btn-secondary {
  background: transparent;
  color: #2E86AB;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid #2E86AB;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: #2E86AB;
  color: white;
  transform: translateY(-2px);
}

.btn-rose {
  background: linear-gradient(135deg, #D4547A, #e07090);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-rose:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,84,122,0.4);
}

/* ---- Cards ----------------------------------------------- */
.card {
  background: white;
  border-radius: 1.25rem;
  border: 1px solid #e8f4fd;
  box-shadow: 0 4px 20px rgba(46,134,171,0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(46,134,171,0.15);
}

/* ---- Section Badge --------------------------------------- */
.section-badge {
  background: linear-gradient(135deg, #E8F4FD, #F8E1E8);
  color: #2E86AB;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 1rem;
}

/* ---- Navigation ------------------------------------------ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8f4fd;
  box-shadow: 0 1px 12px rgba(46,134,171,0.08);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.navbar-logo {
  height: 48px;
  width: 48px;
  border-radius: 10px;
  object-fit: cover;
  display: inline-block;
}

.navbar-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #2E86AB, #D4547A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.navbar-cta { display: flex; gap: 0.75rem; align-items: center; }

.nav-link {
  color: #4a5568;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: #2E86AB;
  background: #E8F4FD;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #2E86AB;
  display: none;
  line-height: 0;
}

.mobile-menu {
  background: white;
  border-top: 1px solid #e8f4fd;
  padding: 1rem 1.5rem;
  display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu .nav-link { display: block; margin-bottom: 0.5rem; }

@media (max-width: 768px) {
  .navbar-links, .navbar-cta { display: none; }
  .hamburger { display: block; }
}

/* ---- Hero Section ---------------------------------------- */
.hero {
  background: linear-gradient(135deg, #E8F4FD 0%, #F8E1E8 50%, #ffffff 100%);
  padding: 5rem 1.5rem;
}
.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hero-inner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.hero-inner p {
  color: var(--mid);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* ---- Hero Stat ------------------------------------------- */
.hero-stat {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(46,134,171,0.08);
}

/* ---- Footer ---------------------------------------------- */
footer {
  background: linear-gradient(135deg, #1a2a3a, #2E3D4D);
  color: white;
  padding: 4rem 1.5rem 2rem;
}
.footer-inner    { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-link:hover { color: #5BA3D9; }
.footer-legal-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-legal-link:hover { color: #5BA3D9; }

/* ---- Form ------------------------------------------------ */
.form-label {
  display: block;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1.5px solid #E2E8F0;
  font-size: 0.95rem;
  color: #1a202c;
  background: white;
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Inter', sans-serif;
}
.form-input:focus { border-color: #2E86AB; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---- Filter Bar ------------------------------------------ */
.filter-bar {
  padding: 1.5rem;
  background: white;
  border-bottom: 1px solid #E8F4FD;
  position: sticky;
  top: 72px;
  z-index: 40;
}
.filter-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  background: #F1F5F9;
  color: #4a5568;
  transition: all 0.2s;
}
.filter-btn.active {
  background: linear-gradient(135deg, #2E86AB, #5BA3D9);
  color: white;
}

/* ---- Product Modal --------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
  background: white;
  border-radius: 1.5rem;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

/* ---- Blog Layout ----------------------------------------- */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
}
@media (max-width: 960px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
  .article-card-img { width: 180px !important; min-width: 180px !important; }
}
@media (max-width: 620px) {
  .article-card { flex-direction: column !important; }
  .article-card-img { width: 100% !important; min-width: unset !important; height: 200px !important; }
  .article-card-body { padding: 1.25rem !important; }
}

/* ---- Process Steps --------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

/* ---- Service Packages ------------------------------------ */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* ---- Timeline -------------------------------------------- */
.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.timeline-dot {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2E86AB, #D4547A);
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Image hover zoom ------------------------------------ */
.img-zoom { transition: transform 0.4s ease; }
.img-zoom:hover { transform: scale(1.05); }

/* ---- CTA Banner ------------------------------------------ */
.cta-banner {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #2E86AB, #1a5a7a);
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1.25rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ---- Container / Layout ---------------------------------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- Section padding ------------------------------------- */
.section-pad     { padding: 5rem 1.5rem; }
.section-pad-sm  { padding: 3rem 1.5rem; }

/* ---- Grid helpers ---------------------------------------- */
.grid-auto-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-auto-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.75rem; }
.grid-auto-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }

/* ---- Center block ---------------------------------------- */
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.section-head p {
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Testimonial ----------------------------------------- */
.testimonial-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(46,134,171,0.08);
}

/* ---- Contact info block ---------------------------------- */
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  background: #F8FAFC;
  border-radius: 1rem;
  border: 1px solid #E8F4FD;
}

/* ---- FAQ accordion --------------------------------------- */
details {
  background: white;
  border-radius: 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid #E8F4FD;
  overflow: hidden;
}
details summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: #1a202c;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
details summary::-webkit-details-marker { display: none; }
details summary .faq-icon { color: #2E86AB; font-size: 1.2rem; transition: transform 0.2s; }
details[open] summary .faq-icon { transform: rotate(45deg); }
details .faq-body { padding: 0 1.5rem 1.25rem; color: #4a5568; line-height: 1.7; font-size: 0.9rem; }
