/* ===================================================================
   Clinic Plus — design tokens
   Color   #000000 near-black (night sections), #FBF8F2 warm ivory (day
           section), #F4C11D gold (from the logo cross), #8C8888 warm
           grey (from the logo crescent), #1C1B19 ink (body text on ivory)
   Type    Fraunces (headlines), Manrope (body/UI), Caveat (signature line,
           echoing the script used for "By Dr. Mohiuddin" on the mark)
   Layout  Hero (night) -> Reach us (day) -> Inquiry form (day) -> Footer
           (night) — a deliberate night/day/night rhythm that echoes the
           crescent moon in the mark and the clinic's round-the-clock idea
   =================================================================== */

:root {
  --night: #000000;
  --night-soft: #101010;
  --ivory: #FBF8F2;
  --ivory-line: #E7E1D4;
  --gold: #F4C11D;
  --gold-deep: #C99A0E;
  --grey: #8C8888;
  --ink: #1C1B19;
  --ink-soft: #55524C;

  --serif: "Fraunces", serif;
  --sans: "Manrope", sans-serif;
  --script: "Caveat", cursive;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

a { color: inherit; text-decoration: none; }

/* ---------- header ---------- */

.site-header {
  background: var(--night);
  padding: 18px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  height: 34px;
  width: auto;
}

.header-cta {
  display: none;
}

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn--gold {
  background: var(--gold);
  color: var(--night);
}

.btn--gold:hover {
  background: var(--gold-deep);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 14px;
  padding: 10px 20px;
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- hero (night) ---------- */

.hero {
  background: var(--night);
  color: #ffffff;
  padding: 92px 0 96px;
}

.hero-inner {
  max-width: 720px;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--gold);
  margin: 0 0 22px;
}

.hero-eyebrow .signature {
  font-family: var(--script);
  font-weight: 600;
  color: var(--grey);
  font-size: 19px;
  margin-left: 6px;
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 58px);
  color: #ffffff;
  max-width: 14ch;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.65;
  color: #C9C7C2;
  max-width: 46ch;
  margin: 26px 0 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 6px;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 3px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hero-phone + .hero-phone {
  margin-left: 26px;
}

.hero-phone svg { color: var(--gold); flex-shrink: 0; }

.hero-phone:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- reach us (day) ---------- */

.reach {
  padding: 88px 0;
  border-bottom: 1px solid var(--ivory-line);
}

.reach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 800px) {
  .reach-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 90px;
  }
}

.reach h2 {
  font-size: 26px;
  margin-bottom: 22px;
}

.address {
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 34ch;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ivory-line);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ivory-line);
  font-size: 16px;
  font-weight: 500;
}

.contact-icon {
  display: inline-flex;
  color: var(--gold-deep);
  flex-shrink: 0;
}

.contact-list a {
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: var(--gold-deep);
}

/* ---------- services (day) ---------- */

.services {
  padding: 88px 0;
  border-bottom: 1px solid var(--ivory-line);
}

.services h2 {
  font-size: 30px;
  max-width: 18ch;
}

.services-lede {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 16px 0 48px;
}

.service-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 800px) {
  .service-groups {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.service-group h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-deep);
  margin: 0 0 16px;
}

.service-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-group li {
  font-size: 16px;
  color: var(--ink);
  padding: 10px 0;
  border-top: 1px solid var(--ivory-line);
}

.service-group li:last-child {
  border-bottom: 1px solid var(--ivory-line);
}

/* ---------- area served (night) ---------- */

.area {
  background: var(--night);
  color: #ffffff;
  padding: 80px 0;
}

.area-inner {
  max-width: 640px;
}

.area h2 {
  color: #ffffff;
  font-size: 28px;
  margin-bottom: 20px;
}

.area p {
  font-size: 17px;
  line-height: 1.8;
  color: #C9C7C2;
  margin: 0;
}

/* ---------- contact form (day) ---------- */

.contact {
  padding: 88px 0 100px;
}

.contact-inner {
  max-width: 640px;
}

.contact h2 {
  font-size: 26px;
}

.contact-lede {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 12px 0 36px;
}

.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.field .optional {
  font-weight: 400;
  color: var(--grey);
}

.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--ivory-line);
  border-radius: 2px;
  padding: 13px 14px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
}

@media (max-width: 640px) {
  .inquiry-form {
    grid-template-columns: 1fr;
  }
}

.field--submit button {
  align-self: flex-start;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  background: var(--night);
  color: #ffffff;
  border: none;
  border-radius: 2px;
  padding: 15px 34px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.field--submit button:hover {
  background: var(--gold-deep);
  color: var(--night);
}

.field--submit button:disabled {
  opacity: 0.6;
  cursor: default;
}

/* ---------- find us / map (day) ---------- */

.map-section {
  padding: 88px 0 0;
  border-bottom: 1px solid var(--ivory-line);
}

.map-section h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.map-address {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 32px;
}

.map-embed {
  width: 100%;
  height: 400px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- footer (night) ---------- */

.site-footer {
  background: var(--night);
  color: #8f8d89;
  padding: 52px 0;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  height: 30px;
  margin: 0 auto 20px;
}

.footer-address {
  font-size: 14px;
  max-width: 46ch;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.footer-social {
  font-size: 14px;
  margin-bottom: 20px;
}

.footer-social a { transition: color 0.2s ease; }
.footer-social a:hover { color: var(--gold); }
.footer-social span { margin: 0 10px; color: #4a4946; }

.footer-copy {
  font-size: 13px;
  color: #5c5a56;
  margin: 0;
}

/* ---------- confirmation / error page (mail.php) ---------- */

.status-page {
  background: var(--night);
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.status-card {
  max-width: 480px;
  text-align: center;
}

.status-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 26px;
  color: var(--gold);
}

.status-card h1 {
  font-size: 30px;
  color: #ffffff;
  margin-bottom: 16px;
}

.status-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #C9C7C2;
  margin: 0 0 34px;
}

.status-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.status-actions .btn { width: 100%; max-width: 280px; justify-content: center; }

.status-back {
  font-size: 14px;
  color: #8f8d89;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.status-back:hover {
  color: var(--gold);
  border-color: var(--gold);
}
