/* =============================================
   Skipper Eye-Q Lagos — Stylesheet
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1f2937; background: #fff; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
input, button, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Brand Variables --- */
:root {
  --brand-blue: #246cb0;
  --brand-blue-dark: #1a5590;
  --brand-gold: #d1a43d;
  --brand-gold-dark: #b88c2e;
  --brand-gold-light: #f5e6c0;
  --brand-light-bg: #f0f6fc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --max-w: 1280px;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: all 0.2s ease; border: none; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-gold {
  background: linear-gradient(135deg, var(--brand-gold), #e0b44a);
  color: #fff; box-shadow: 0 4px 15px rgba(209,164,61,0.3);
}
.btn-gold:hover { background: linear-gradient(135deg, var(--brand-gold-dark), var(--brand-gold)); }
.btn-blue {
  background: var(--brand-blue); color: #fff;
  box-shadow: 0 4px 12px rgba(36,108,176,0.3);
}
.btn-blue:hover { background: var(--brand-blue-dark); }
.btn-white {
  background: #fff; color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-white:hover { background: var(--gray-100); }

/* --- Section Titles --- */
.section-title {
  font-size: 26px; font-weight: 800; text-align: center;
  color: var(--gray-900); margin-bottom: 32px;
}
.section-title .gold { color: var(--brand-gold); }
@media (min-width: 768px) { .section-title { font-size: 32px; margin-bottom: 40px; } }

/* ============================================= */
/* HEADER                                        */
/* ============================================= */
.header-bar {
  position: sticky; top: 0; z-index: 100;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-logo { height: 44px; width: auto; }
@media (min-width: 768px) { .header-logo { height: 52px; } }
.header-cta-text { display: none; }
.header-cta-mobile { display: inline; }
@media (min-width: 640px) {
  .header-cta-text { display: inline; }
  .header-cta-mobile { display: none; }
}

/* ============================================= */
/* HERO                                          */
/* ============================================= */
.hero-section { background: var(--brand-light-bg); }
.hero-banner { width: 100%; position: relative; }
.hero-banner-img { width: 100%; height: auto; display: block; }
.hero-form-wrap {
  max-width: var(--max-w); margin: 0 auto; padding: 20px 16px;
}

/* --- Hero text overlay: visible on both mobile & desktop --- */
.hero-text-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 42%;
  z-index: 2;
  padding: 12px 10px;
  box-sizing: border-box;
}
.hero-text-overlay h1 {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 6px 0;
}
.hero-text-divider {
  width: 30px;
  height: 2px;
  background: #e8c75a;
  margin-bottom: 6px;
}
.hero-text-overlay ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-text-overlay ul li {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.hero-text-overlay ul li::before {
  content: '✓';
  color: #ffffff;
  font-size: 0.9em;
  font-weight: 800;
  flex-shrink: 0;
}

/* Small phones (375px+) */
@media (min-width: 375px) {
  .hero-text-overlay { padding: 14px 12px; }
  .hero-text-overlay h1 { font-size: 16px; }
  .hero-text-overlay ul li { font-size: 11px; }
}

/* Larger phones (480px+) */
@media (min-width: 480px) {
  .hero-text-overlay { padding: 18px 14px; }
  .hero-text-overlay h1 { font-size: 20px; margin-bottom: 8px; }
  .hero-text-divider { width: 40px; height: 3px; margin-bottom: 8px; }
  .hero-text-overlay ul li { font-size: 13px; }
}

/* Tablet */
@media (min-width: 640px) {
  .hero-text-overlay { padding: 24px 20px; width: 44%; }
  .hero-text-overlay h1 { font-size: 24px; margin-bottom: 10px; }
  .hero-text-divider { width: 50px; margin-bottom: 10px; }
  .hero-text-overlay ul li { font-size: 14px; }
}

@media (min-width: 1024px) {
  .hero-section { display: flex; align-items: stretch; max-height: 520px; overflow: hidden; }
  .hero-banner { flex: 1; min-width: 0; max-height: 520px; overflow: hidden; }
  .hero-banner-img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
  .hero-form-wrap { width: 400px; flex-shrink: 0; display: flex; align-items: center; padding: 24px; }

  .hero-text-overlay { padding: 32px 28px; width: 48%; }
  .hero-text-overlay h1 { font-size: clamp(24px, 2.4vw, 36px); margin-bottom: 12px; }
  .hero-text-divider { width: 60px; margin-bottom: 16px; }
  .hero-text-overlay ul li { font-size: clamp(14px, 1.3vw, 18px); }
}

/* ============================================= */
/* LEAD FORM                                     */
/* ============================================= */
.lead-form {
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1); border: 2px solid var(--gray-200);
}
@media (min-width: 768px) { .lead-form { padding: 32px; } }
.lead-form-title {
  font-size: 20px; font-weight: 700; text-align: center;
  color: var(--brand-blue); margin-bottom: 20px;
}
.lead-form .form-group { margin-bottom: 14px; }
.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--gray-300);
  border-radius: 8px; font-size: 15px; outline: none; transition: border-color 0.2s;
  background: #fff; color: var(--gray-800); appearance: none; -webkit-appearance: none;
}
.lead-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.lead-form input:focus, .lead-form select:focus { border-color: var(--brand-blue); }
.lead-form .form-error {
  color: #ef4444; font-size: 13px; text-align: center; margin-bottom: 10px;
}
.lead-form .btn-submit {
  width: 100%; border-radius: 8px; height: 48px; font-weight: 700;
  font-size: 16px; background: var(--brand-gold); color: #fff;
  border: none; cursor: pointer; transition: all 0.2s;
}
.lead-form .btn-submit:hover { background: var(--brand-gold-dark); }
.lead-form .btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* Form success */
.form-success { text-align: center; padding: 24px; }
.form-success-icon {
  width: 60px; height: 60px; border-radius: 50%; background: #22c55e;
  color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.form-success h3 { font-size: 22px; font-weight: 700; color: var(--brand-blue); margin-bottom: 8px; }
.form-success p { color: var(--gray-600); }

/* ============================================= */
/* STATS BAR                                     */
/* ============================================= */
.stats-bar {
  background: linear-gradient(135deg, #1e5a94, var(--brand-blue));
  padding: 24px 0;
}
.stats-grid {
  max-width: var(--max-w); margin: 0 auto; padding: 0 16px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item {
  text-align: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stat-item.visible { opacity: 1; transform: translateY(0); }
@media (min-width: 768px) {
  .stat-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.3); }
}
.stat-item svg { color: rgba(255,255,255,0.8); margin: 0 auto 4px; }
.stat-value {
  font-size: 28px; font-weight: 800; color: #fff;
}
@media (min-width: 768px) { .stat-value { font-size: 36px; } }
.stat-label { color: rgba(255,255,255,0.8); font-size: 14px; margin-top: 4px; }
@media (min-width: 768px) { .stat-label { font-size: 16px; } }

/* ============================================= */
/* FEATURES (Why Skipper Eye-Q)                  */
/* ============================================= */
.features-section { padding: 48px 0; background: #fff; }
@media (min-width: 768px) { .features-section { padding: 64px 0; } }
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.feature-card {
  text-align: center; padding: 20px 12px; border-radius: 12px;
  background: var(--brand-light-bg); transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.feature-card img { height: 48px; width: auto; margin: 0 auto 12px; }
@media (min-width: 768px) { .feature-card img { height: 56px; } }
.feature-card p { font-size: 13px; font-weight: 600; color: var(--gray-700); line-height: 1.3; }
@media (min-width: 768px) { .feature-card p { font-size: 14px; } }

/* ============================================= */
/* CLINICAL SPECIALITIES                         */
/* ============================================= */
.specialities-section {
  padding: 48px 0; background: var(--brand-light-bg);
}
@media (min-width: 768px) { .specialities-section { padding: 64px 0; } }

/* Tabs */
.spec-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px;
  -ms-overflow-style: none; scrollbar-width: none;
  justify-content: center; flex-wrap: wrap;
}
.spec-tabs::-webkit-scrollbar { display: none; }
.spec-tab-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px; border: 2px solid var(--brand-blue);
  background: var(--brand-blue); color: #fff; cursor: pointer;
  font-weight: 600; font-size: 13px; white-space: nowrap;
  transition: all 0.2s;
}
.spec-tab-btn:hover { background: var(--brand-blue-dark); }
.spec-tab-btn.active {
  background: #fff; color: var(--brand-blue);
  border-color: var(--brand-gold); box-shadow: 0 4px 12px rgba(209,164,61,0.2);
}
.spec-tab-icon { height: 24px; width: auto; }
@media (min-width: 768px) {
  .spec-tab-btn { padding: 12px 24px; font-size: 14px; }
  .spec-tab-icon { height: 28px; }
}

/* Panels */
.spec-panels { margin-top: 32px; }
.spec-panel { display: none; animation: fadeIn 0.3s ease; }
.spec-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.spec-panel h3 {
  font-size: 22px; font-weight: 700; color: var(--brand-blue); margin-bottom: 12px;
}
.spec-desc { color: var(--gray-600); margin-bottom: 24px; line-height: 1.7; }

/* Symptom grid */
.symptom-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px;
}
@media (min-width: 768px) { .symptom-grid { grid-template-columns: repeat(4, 1fr); } }
.symptom-card {
  text-align: center; border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.symptom-card img { width: 100%; height: 140px; object-fit: cover; }
@media (min-width: 768px) { .symptom-card img { height: 180px; } }
.symptom-card p {
  padding: 10px; font-size: 13px; font-weight: 600; color: var(--gray-700);
}

/* Feature list in speciality */
.spec-features {
  margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px;
}
.spec-features li {
  display: flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--gray-700); font-size: 15px;
}
.spec-features li svg { color: var(--brand-blue); flex-shrink: 0; }

/* ============================================= */
/* CAROUSELS (Doctors, Hospitals, Reviews)        */
/* ============================================= */
.carousel-section { padding: 48px 0; }
@media (min-width: 768px) { .carousel-section { padding: 64px 0; } }
.carousel-section.bg-light { background: var(--gray-50); }
.carousel-section.bg-white { background: #fff; }

.carousel-wrapper {
  position: relative; max-width: var(--max-w); margin: 0 auto; padding: 0 16px;
}
.carousel-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth;
  padding: 8px 4px 16px; -ms-overflow-style: none; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .carousel-track { gap: 20px; padding: 8px 48px 16px; } }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  border: 1px solid var(--gray-200); box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer; display: none; align-items: center; justify-content: center;
  transition: all 0.2s;
}
@media (min-width: 768px) { .carousel-btn { display: flex; } }
.carousel-btn:hover { background: var(--gray-50); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.carousel-btn.left { left: 8px; }
.carousel-btn.right { right: 8px; }

/* Doctor cards */
.doctor-card {
  flex-shrink: 0; width: 200px; border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s, transform 0.25s;
}
@media (min-width: 768px) { .doctor-card { width: 220px; } }
.doctor-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.14); transform: translateY(-4px); }
.doctor-card img { width: 100%; height: 220px; object-fit: cover; }
@media (min-width: 768px) { .doctor-card img { height: 260px; } }
.doctor-info {
  padding: 12px 10px; text-align: center;
}
.doctor-name {
  font-weight: 700; font-size: 14px; color: var(--brand-blue);
  margin-bottom: 4px;
}
.doctor-designation {
  font-weight: 600; font-size: 11px; color: var(--brand-gold);
  line-height: 1.3; margin-bottom: 2px;
}
.doctor-detail {
  font-weight: 400; font-size: 11px; color: #555;
  line-height: 1.3;
}

/* Hospital cards */
.hospital-card {
  flex-shrink: 0; width: 280px; border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s, transform 0.25s;
}
@media (min-width: 768px) { .hospital-card { width: 360px; } }
.hospital-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.14); transform: translateY(-4px); }
.hospital-card img { width: 100%; height: auto; }
.hospital-track { justify-content: center; }

/* ============================================= */
/* HMO PARTNERS                                  */
/* ============================================= */
.hmo-section { padding: 48px 0; background: #fff; }
@media (min-width: 768px) { .hmo-section { padding: 64px 0; } }
.hmo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  align-items: center;
}
@media (min-width: 640px) { .hmo-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
@media (min-width: 768px) { .hmo-grid { grid-template-columns: repeat(6, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .hmo-grid { grid-template-columns: repeat(8, 1fr); } }
.hmo-logo {
  background: #fff; border-radius: 8px; padding: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06); display: flex; align-items: center;
  justify-content: center; transition: box-shadow 0.2s;
}
.hmo-logo:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.hmo-logo img { max-height: 48px; width: auto; max-width: 100%; }

/* ============================================= */
/* REVIEWS                                       */
/* ============================================= */
.reviews-section { padding: 48px 0; background: var(--gray-50); }
@media (min-width: 768px) { .reviews-section { padding: 64px 0; } }
.review-badge { text-align: center; margin-bottom: 24px; }
.review-badge img { max-width: 280px; margin: 0 auto; border-radius: 12px; }

.review-card {
  flex-shrink: 0; width: 300px; background: #fff; border-radius: 12px;
  padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}
.review-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review-header strong { font-size: 15px; color: var(--gray-800); }
.review-stars { display: flex; gap: 2px; margin-top: 2px; }
.review-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }
.review-track { padding-bottom: 20px; }

/* Review screenshots grid */
.review-screenshots-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 32px;
}
@media (min-width: 768px) { .review-screenshots-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.review-screenshot { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.review-screenshot img { width: 100%; height: auto; }

/* ============================================= */
/* FAQ                                           */
/* ============================================= */
.faq-section { padding: 48px 0; background: #fff; }
@media (min-width: 768px) { .faq-section { padding: 64px 0; } }
.faq-inner { max-width: 768px; margin: 0 auto; padding: 0 16px; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 18px 0; text-align: left; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.faq-question span { font-size: 15px; font-weight: 600; color: var(--gray-800); flex: 1; }
@media (min-width: 768px) { .faq-question span { font-size: 17px; } }
.faq-question .faq-toggle {
  width: 24px; height: 24px; position: relative; flex-shrink: 0;
}
.faq-question .faq-toggle::before,
.faq-question .faq-toggle::after {
  content: ''; position: absolute; background: var(--gray-600);
  transition: transform 0.3s ease;
}
.faq-question .faq-toggle::before {
  width: 14px; height: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-question .faq-toggle::after {
  width: 2px; height: 14px; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-item.open .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 0 18px; color: var(--gray-600); line-height: 1.7; font-size: 14px; }

/* ============================================= */
/* CTA BANNER                                    */
/* ============================================= */
.cta-banner {
  padding: 48px 0; background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
}
@media (min-width: 768px) { .cta-banner { padding: 64px 0; } }
.cta-banner-inner { max-width: 640px; margin: 0 auto; padding: 0 16px; text-align: center; }
.cta-banner h2 { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 12px; }
@media (min-width: 768px) { .cta-banner h2 { font-size: 30px; } }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 28px; }
.cta-banner-buttons {
  display: flex; flex-direction: row; align-items: center;
  justify-content: center; gap: 12px; flex-wrap: wrap;
}

/* ============================================= */
/* FOOTER                                        */
/* ============================================= */
.site-footer { padding: 40px 0 100px; background: var(--gray-50); }
@media (min-width: 768px) { .site-footer { padding: 48px 0; } }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 16px; text-align: center;
}
.footer-logo { height: 48px; width: auto; margin: 0 auto 20px; }
.footer-locations { margin-bottom: 16px; color: var(--gray-600); font-size: 14px; }
.footer-locations strong { color: var(--gray-800); }
.footer-contact { margin-bottom: 20px; }
.footer-contact a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand-blue); font-weight: 700; font-size: 16px;
}
.footer-divider { border-top: 1px solid var(--gray-200); margin: 20px 0; padding-top: 16px; }
.footer-copyright { font-size: 13px; color: var(--gray-500); margin-bottom: 8px; }
.footer-disclaimer { font-size: 11px; color: var(--gray-500); line-height: 1.5; }

/* ============================================= */
/* FLOATING MOBILE CTA                           */
/* ============================================= */
.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  background: #fff; box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
  border-top: 1px solid var(--gray-200); padding: 10px 12px;
  display: flex; gap: 8px;
}
@media (min-width: 768px) { .mobile-cta { display: none; } }
.mobile-cta a { flex: 1; }
.mobile-cta .btn { width: 100%; padding: 12px; font-size: 14px; border-radius: 8px; }
@media (max-width: 767px) { body { padding-bottom: 70px; } }

/* ============================================= */
/* BOOKING MODAL                                 */
/* ============================================= */
.modal-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 9999;
  align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #fff; border-radius: 16px; padding: 28px 24px;
  width: 100%; max-width: 400px; position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15); border: 2px solid var(--brand-blue);
  animation: modalSlideIn 0.25s ease;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  background: none; border: none; cursor: pointer;
  color: var(--gray-500); padding: 4px;
}
.modal-close:hover { color: var(--gray-800); }
.modal-title {
  font-size: 20px; font-weight: 700; color: var(--brand-blue);
  text-align: center; margin-bottom: 4px;
}
.modal-subtitle {
  font-size: 14px; color: var(--gray-500); text-align: center; margin-bottom: 20px;
}
.modal-divider {
  display: flex; align-items: center; gap: 12px; margin: 16px 0;
}
.modal-divider::before, .modal-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--gray-300);
}
.modal-divider span { font-size: 13px; font-weight: 600; color: var(--gray-500); }

.modal-form .form-group { margin-bottom: 14px; }
.modal-form input[type="text"],
.modal-form input[type="tel"],
.modal-form select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--gray-300);
  border-radius: 8px; font-size: 15px; outline: none; transition: border-color 0.2s;
  background: #fff; appearance: none; -webkit-appearance: none;
}
.modal-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.modal-form input:focus, .modal-form select:focus { border-color: var(--brand-blue); }
.modal-form .form-error { color: #ef4444; font-size: 13px; text-align: center; margin-bottom: 10px; display: none; }
.modal-form .btn-submit {
  width: 100%; border-radius: 8px; height: 48px; font-weight: 700;
  font-size: 16px; background: var(--brand-gold); color: #fff;
  border: none; cursor: pointer; transition: all 0.2s;
}
.modal-form .btn-submit:hover { background: var(--brand-gold-dark); }
.modal-form .btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============================================= */
/* ANIMATIONS                                    */
/* ============================================= */
@keyframes phoneRing {
  0%, 100% { transform: rotate(0deg); }
  10%, 30%, 50% { transform: rotate(-8deg); }
  20%, 40% { transform: rotate(8deg); }
  60% { transform: rotate(0deg); }
}
.phone-ring { animation: phoneRing 1.5s ease-in-out infinite; }
