/*
Theme Name: TIME Tirunelveli
Theme URI: https://www.timetirunelveli.com
Description: Custom theme for T.I.M.E. Tirunelveli coaching institute
Version: 2.0
Author: TIME Tirunelveli
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --color-primary:    #0f2447;
  --color-amber:      #f59e0b;
  --color-amber-dark: #d97706;
  --color-amber-lt:   #fbbf24;
  --max-w: 80rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ── Layout ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: 1rem; }

/* ── Section title (matches .section-title in React) ─────── */
.section-title {
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-weight: 800;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: .75rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 4px;
  background: var(--color-amber);
  border-radius: 2px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-weight: 700;
  border-radius: 9999px;
  padding: .65rem 1.75rem;
  font-size: .875rem;
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.btn-amber  { background: var(--color-amber);   color: #fff; }
.btn-amber:hover { background: var(--color-amber-dark); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: #091b38; }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-top {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-logo img { height: 3rem; width: auto; object-fit: contain; }
.header-tagline { text-align: center; display: none; }
@media(min-width:1024px){ .header-tagline { display: block; } }
.header-tagline p:first-child { color: var(--color-primary); font-weight: 600; font-size: .875rem; }
.header-tagline p:last-child  { color: #6b7280; font-size: .75rem; }
.header-call {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--color-primary);
  color: #fff;
  padding: .5rem .85rem;
  border-radius: .375rem;
  font-size: .8rem;
  font-weight: 700;
}
.header-call svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.header-call span { display: none; }
@media(min-width:480px){ .header-call span { display: inline; } }

/* Desktop nav */
.site-nav {
  border-top: 1px solid #f3f4f6;
  background: #f9fafb;
  display: none;
}
@media(min-width:768px){ .site-nav { display: block; } }
.site-nav__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  gap: .25rem;
}
.site-nav__inner a {
  padding: .625rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  color: #4b5563;
  border-bottom: 2px solid transparent;
  transition: all .15s;
}
.site-nav__inner a:hover,
.site-nav__inner a.current-menu-item { color: var(--color-primary); border-bottom-color: var(--color-amber); }
.nav-cta {
  margin-left: auto;
  background: var(--color-amber) !important;
  color: #fff !important;
  border-radius: 9999px !important;
  border-bottom: none !important;
  padding: .375rem 1rem !important;
  margin-block: .375rem;
}
.nav-cta:hover { background: var(--color-amber-dark) !important; }

/* Mobile menu toggle */
.mobile-menu-btn {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  color: var(--color-primary);
}
@media(min-width:768px){ .mobile-menu-btn { display: none; } }
.mobile-nav {
  background: #fff;
  border-top: 1px solid #f3f4f6;
  padding: .5rem 1rem 1rem;
}
.mobile-nav a {
  display: block;
  padding: .75rem 1rem;
  font-weight: 700;
  font-size: .875rem;
  color: #374151;
  border-radius: .5rem;
}
.mobile-nav a:hover { background: #f9fafb; color: var(--color-primary); }
.mobile-nav .mobile-cta {
  display: block;
  text-align: center;
  background: var(--color-amber);
  color: #fff !important;
  border-radius: .75rem;
  padding: .75rem;
  margin-top: .5rem;
  font-weight: 700;
}

/* ── HERO BANNER ─────────────────────────────────────────── */
.hero-banner {
  background: linear-gradient(135deg, #003b66 0%, #005a9e 60%, #003b66 100%);
  padding: 2.5rem 1rem;
}
@media(min-width:768px){ .hero-banner { padding: 4rem 1rem; } }
.hero-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}
.hero-left { flex: 1; min-width: 280px; color: #fff; }
.hero-left h1 { font-size: clamp(1.75rem,4vw,2.5rem); font-weight: 900; line-height: 1.15; margin-bottom: .5rem; }
.hero-subtitle { color: #fbbf24; font-weight: 700; font-size: 1.1rem; margin-bottom: 1.5rem; }
.hero-courses-label {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 2px solid var(--color-amber-lt);
  padding-bottom: .25rem;
  display: inline-block;
  margin-bottom: .75rem;
}
.course-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.course-pill {
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  font-size: .75rem;
  padding: .4rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.hero-right { width: 100%; max-width: 26rem; }
.hero-form-box {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,.2);
  padding: 1.75rem;
}
.hero-form-box h3 { color: var(--color-primary); font-weight: 800; text-align: center; font-size: 1.05rem; margin-bottom: .25rem; }
.hero-form-box p  { color: var(--color-amber); font-weight: 700; text-align: center; font-size: 1.05rem; margin-bottom: 1.25rem; }

/* ── ENQUIRY FORM ────────────────────────────────────────── */
.enquiry-form { display: flex; flex-direction: column; gap: .75rem; }
.enquiry-form input,
.enquiry-form select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: .375rem;
  padding: .625rem 1rem;
  font-size: .875rem;
  font-family: inherit;
  color: #111;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.enquiry-form input:focus,
.enquiry-form select:focus {
  border-color: var(--color-amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,.15);
}
.enquiry-form .form-note { font-size: .7rem; color: #6b7280; text-align: center; }
.enquiry-form .submit-btn {
  width: 100%;
  background: var(--color-amber);
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .75rem;
  border: none;
  border-radius: .375rem;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}
.enquiry-form .submit-btn:hover:not(:disabled) { background: var(--color-amber-dark); }
.enquiry-form .submit-btn:disabled { opacity: .55; cursor: not-allowed; }
.form-success { text-align: center; padding: 2rem 0; }
.form-success .check { font-size: 2.5rem; color: #16a34a; margin-bottom: .75rem; }
.form-success h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.form-success p  { font-size: .875rem; color: #4b5563; }
.form-success button { font-size: .8rem; color: var(--color-amber-dark); background: none; border: none; cursor: pointer; margin-top: 1rem; text-decoration: underline; }
.form-error { color: #dc2626; font-size: .75rem; }

/* ── COURSES SECTION ─────────────────────────────────────── */
.courses-section { padding: 3rem 1rem; background: #f9fafb; }
.course-grid-5 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
@media(min-width:640px)  { .course-grid-5 { grid-template-columns: repeat(3,1fr); } }
@media(min-width:1024px) { .course-grid-5 { grid-template-columns: repeat(5,1fr); } }
.course-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media(min-width:640px)  { .course-grid-3 { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px) { .course-grid-3 { grid-template-columns: repeat(3,1fr); } }
.course-card {
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.course-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); transform: translateY(-2px); }
.course-card-img { height: 9rem; overflow: hidden; }
@media(min-width:640px){ .course-card-img { height: 11rem; } }
.course-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.course-card:hover .course-card-img img { transform: scale(1.05); }
.course-card-body { padding: .75rem; display: flex; flex-direction: column; flex: 1; gap: .5rem; }
.course-card-body h3 { color: var(--color-primary); font-weight: 700; font-size: .8rem; line-height: 1.35; flex: 1; }
.course-learn-btn {
  display: block;
  text-align: center;
  background: var(--color-amber);
  color: #fff;
  font-weight: 600;
  font-size: .8rem;
  padding: .45rem .75rem;
  border-radius: .375rem;
  border: none;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
  width: 100%;
}
.course-learn-btn:hover { background: var(--color-amber-dark); }

/* ── MODAL ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.6);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-box {
  background: #fff; border-radius: 1rem;
  width: 100%; max-width: 36rem;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.modal-img { width: 100%; height: 12rem; object-fit: cover; border-radius: .75rem .75rem 0 0; }
.modal-content { padding: 1.5rem; }
.modal-content h2 { color: var(--color-primary); font-weight: 800; font-size: 1.1rem; margin-bottom: .75rem; }
.modal-content p  { color: #4b5563; font-size: .875rem; line-height: 1.7; margin-bottom: .75rem; }
.modal-content h4 { color: var(--color-primary); font-weight: 700; font-size: .875rem; margin-bottom: .5rem; }
.modal-content ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: .375rem; }
.modal-content li { color: #374151; font-size: .8rem; line-height: 1.6; }
.modal-close {
  display: block; width: calc(100% - 3rem); margin: 0 1.5rem 1.5rem;
  background: var(--color-primary); color: #fff; font-weight: 700;
  padding: .65rem; border: none; border-radius: .5rem; cursor: pointer;
  font-family: inherit; font-size: .875rem;
}

/* ── WHY CHOOSE US ───────────────────────────────────────── */
.why-section { padding: 3.5rem 1rem; background: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media(min-width:640px)  { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px) { .why-grid { grid-template-columns: repeat(3,1fr); } }
.why-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #f9fafb;
  border-radius: .75rem;
  padding: 1.25rem;
  border: 1px solid #f3f4f6;
  transition: border-color .2s, box-shadow .2s;
}
.why-card:hover { border-color: #fbbf24; box-shadow: 0 4px 12px rgba(0,0,0,.07); }
.why-card h3 { color: var(--color-primary); font-weight: 700; font-size: .875rem; margin-bottom: .375rem; }
.why-card p  { color: #4b5563; font-size: .8rem; line-height: 1.65; }

/* Stats bar */
.stats-bar {
  background: var(--color-primary);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
  text-align: center;
  margin-top: 3rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
@media(min-width:768px){ .stats-bar { grid-template-columns: repeat(4,1fr); } }
.stats-bar .stat-val { font-size: 2rem; font-weight: 900; color: #fbbf24; }
.stats-bar .stat-lbl { color: #fff; font-size: .8rem; margin-top: .25rem; font-weight: 500; }

/* ── RESULTS ─────────────────────────────────────────────── */
.results-section { padding: 3rem 1rem; background: #003b66; }
.results-section h2 { color: #fff; font-size: clamp(1.3rem,3vw,1.875rem); font-weight: 700; text-align: center; margin-bottom: 2rem; }
.results-section img { width: 100%; border-radius: .75rem; box-shadow: 0 8px 32px rgba(0,0,0,.3); }

/* ── TOPPERS ─────────────────────────────────────────────── */
.toppers-section { padding: 3.5rem 1rem; background: #f9fafb; }
.toppers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media(min-width:640px)  { .toppers-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px) { .toppers-grid { grid-template-columns: repeat(4,1fr); } }
.topper-card {
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: .75rem;
  border: 1px solid #f3f4f6;
  transition: box-shadow .2s, border-color .2s;
}
.topper-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); border-color: #fbbf24; }
.topper-avatar {
  width: 3.5rem; height: 3.5rem; border-radius: 9999px;
  background: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 1.1rem;
  flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.topper-score { font-weight: 900; color: #d97706; font-size: 1rem; }
blockquote { color: #6b7280; font-size: .75rem; line-height: 1.65; font-style: italic; border-left: 3px solid var(--color-amber-lt); padding-left: .75rem; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-section { padding: 3.5rem 1rem; background: #fff; }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media(min-width:640px)  { .testimonials-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px) { .testimonials-grid { grid-template-columns: repeat(3,1fr); } }
.testimonial-card {
  background: #f9fafb;
  border-radius: .75rem;
  padding: 1.25rem;
  border: 1px solid #f3f4f6;
  display: flex; flex-direction: column; gap: .75rem;
  transition: border-color .2s, box-shadow .2s;
}
.testimonial-card:hover { border-color: #fde68a; box-shadow: 0 4px 12px rgba(0,0,0,.07); }
.stars { display: flex; gap: 2px; }
.star-filled { color: #fbbf24; }
.star-empty  { color: #e5e7eb; }
.t-author { display: flex; align-items: center; gap: .75rem; padding-top: .5rem; border-top: 1px solid #e5e7eb; }
.t-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .8rem; flex-shrink: 0;
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about-section { padding: 3rem 1rem; background: #fff; }
.overview-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media(min-width:768px){ .overview-grid { grid-template-columns: repeat(4,1fr); } }
.overview-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #f9fafb; border-radius: .75rem; padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.overview-card img { width: 4rem; height: 4rem; object-fit: contain; margin-bottom: .75rem; }
.overview-card p { color: #374151; font-size: .875rem; line-height: 1.5; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-section { padding: 3rem 1rem; background: #f9fafb; }
.faq-section-card {
  background: #fff; border-radius: .75rem;
  border: 1px solid #e5e7eb;
  margin-bottom: 1rem; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.faq-section-header {
  width: 100%; text-align: left; padding: 1rem 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
  background: #f9fafb;
  border: none; cursor: pointer; font-family: inherit;
  transition: background .15s;
}
.faq-section-header:hover { background: #f3f4f6; }
.faq-section-header span { color: var(--color-primary); font-weight: 700; font-size: .875rem; }
.faq-section-body { padding: .5rem 1.25rem; }
.faq-item { border-bottom: 1px solid #f3f4f6; }
.faq-item:last-child { border-bottom: none; }
.faq-q-btn {
  width: 100%; text-align: left; padding: .75rem 0;
  display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem;
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.faq-q-btn span { color: #1f2937; font-weight: 500; font-size: .875rem; line-height: 1.45; }
.faq-icon {
  flex-shrink: 0; width: 1.25rem; height: 1.25rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .75rem; font-weight: 700; min-width: 1.25rem;
  background: var(--color-amber);
}
.faq-a { color: #4b5563; font-size: .8rem; line-height: 1.7; padding-bottom: .75rem; padding-right: 2rem; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer { background: var(--color-primary); color: #fff; }
.footer-inner { max-width: var(--max-w); margin-inline: auto; padding: 2.5rem 1rem; }
.footer-director { text-align: center; margin-bottom: 2rem; }
.footer-director h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.footer-director p  { color: #fbbf24; font-size: 1rem; font-weight: 600; }
.footer-body { display: flex; flex-direction: column; gap: 2rem; }
@media(min-width:768px){ .footer-body { flex-direction: row; } }
.footer-contact h3 { color: #fbbf24; font-weight: 700; font-size: 1rem; margin-bottom: .75rem; }
.footer-contact .contact-row { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .5rem; font-size: .875rem; color: #e5e7eb; }
.footer-contact .contact-row svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: .15rem; color: #fbbf24; }
.footer-contact a { color: #e5e7eb; } .footer-contact a:hover { color: #fbbf24; }
.footer-btns { display: flex; gap: .75rem; margin-top: 1rem; flex-wrap: wrap; }
.footer-btn {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .45rem 1rem; border-radius: 9999px; font-size: .75rem; font-weight: 600;
  color: #fff; border: none; cursor: pointer;
}
.footer-btn-wa   { background: #22c55e; }
.footer-btn-call { background: var(--color-amber); }
.footer-map { flex: 1; min-height: 15rem; }
.footer-map iframe { width: 100%; height: 15rem; border: 0; border-radius: .75rem; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.1); padding: 1rem; text-align: center; font-size: .75rem; color: #9ca3af; }
.footer-copy a { color: #9ca3af; } .footer-copy a:hover { color: #fbbf24; }

/* ── FLOATING BUTTONS ────────────────────────────────────── */
.floating-enquire {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 40;
  background: var(--color-primary); color: #fff; font-weight: 700; font-size: .7rem;
  padding: .75rem .4rem; border-radius: .375rem 0 0 .375rem;
  writing-mode: vertical-rl; text-orientation: mixed;
  cursor: pointer; border: none; font-family: inherit; letter-spacing: .05em;
  box-shadow: -2px 2px 8px rgba(0,0,0,.2);
}
.floating-call {
  position: fixed; right: 2rem; bottom: 5rem; z-index: 40;
  background: #2563eb; color: #fff; border-radius: 9999px;
  width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.2); border: none; cursor: pointer;
}
.floating-wa {
  position: fixed; right: 2rem; bottom: 9rem; z-index: 40;
  background: #22c55e; color: #fff; border-radius: 9999px;
  width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.floating-top {
  position: fixed; right: 2rem; bottom: 1.5rem; z-index: 40;
  background: var(--color-primary); color: #fff; border-radius: 9999px;
  width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.2); cursor: pointer; border: none;
}
.enquiry-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.6);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.enquiry-modal-box {
  background: #fff; border-radius: 1rem;
  width: 100%; max-width: 28rem; padding: 1.75rem; position: relative;
  max-height: 90vh; overflow-y: auto;
}
.enquiry-modal-close {
  position: absolute; top: .75rem; right: 1rem;
  background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #9ca3af; line-height: 1;
}

/* ── EXAM PAGES ──────────────────────────────────────────── */
.exam-hero { padding: 3rem 1rem; }
.exam-content { padding: 2rem 1rem; }

/* ── POLISHED ENQUIRY FORM ───────────────────────────────── */
.eq-form { display: flex; flex-direction: column; gap: .6rem; }

.eq-field {
  display: flex;
  align-items: center;
  gap: .6rem;
  border: 1.5px solid #e5e7eb;
  border-radius: .5rem;
  padding: .6rem .85rem;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.eq-field:focus-within {
  border-color: var(--color-amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,.12);
}
.eq-icon {
  width: 1rem; height: 1rem;
  color: #9ca3af;
  flex-shrink: 0;
  transition: color .2s;
}
.eq-field:focus-within .eq-icon { color: var(--color-amber); }

.eq-field input,
.eq-field select {
  flex: 1;
  border: none;
  outline: none;
  font-size: .85rem;
  font-family: inherit;
  color: #111827;
  background: transparent;
  padding: 0;
}
.eq-field input::placeholder { color: #9ca3af; }
.eq-field select { color: #9ca3af; cursor: pointer; }
.eq-field select:valid:not([value=""]) { color: #111827; }
/* Fix select when option chosen */
.eq-field select option { color: #111827; }

.eq-error {
  font-size: .75rem;
  color: #dc2626;
  padding: .25rem .5rem;
  background: #fef2f2;
  border-radius: .375rem;
  border: 1px solid #fecaca;
}
.eq-consent {
  font-size: .7rem;
  color: #9ca3af;
  text-align: center;
  line-height: 1.5;
}
.eq-submit {
  width: 100%;
  background: var(--color-amber);
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
  padding: .75rem;
  border: none;
  border-radius: .5rem;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, transform .1s;
  letter-spacing: .01em;
}
.eq-submit:hover:not(:disabled) {
  background: var(--color-amber-dark);
  transform: translateY(-1px);
}
.eq-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Success state */
.eq-success {
  text-align: center;
  padding: 1.5rem 0;
}
.eq-success-icon {
  width: 3.5rem; height: 3.5rem;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700;
  margin: 0 auto 1rem;
}
.eq-success h4 { color: #111827; font-size: 1rem; font-weight: 700; margin-bottom: .375rem; }
.eq-success p  { color: #4b5563; font-size: .875rem; margin-bottom: .75rem; }
.eq-again {
  font-size: .8rem; color: var(--color-amber-dark);
  background: none; border: none; cursor: pointer;
  text-decoration: underline; font-family: inherit;
}
