/* ============================================================
   CLARITY HEART CLINIC — Zoho Sites CSS
   Paste this into: Settings → CSS Editor (Global CSS)
   ============================================================ */

/* ---- 1. FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

/* ---- 2. DESIGN TOKENS (CSS Variables) ---- */
:root {
  /* Backgrounds */
  --background: #faf9f7;        /* 0 0% 98% — warm white */
  --foreground: #142339;        /* 215 45% 14% — dark navy */
  --card: #faf9f7;
  --card-foreground: #142339;

  /* Primary (dark navy) */
  --primary: #142339;           /* 215 45% 14% */
  --primary-foreground: #ffffff;

  /* Accent (gold) */
  --accent: #c9a165;            /* 35 38% 63% */
  --accent-foreground: #142339;

  /* Secondary */
  --secondary: #ededed;         /* 0 0% 93% */
  --secondary-foreground: #142339;

  /* Muted */
  --muted: #ededed;
  --muted-foreground: #6b6b6b;  /* 0 0% 42% */

  /* Borders */
  --border: #e6e6e6;            /* 0 0% 90% */
  --input: #e6e6e6;
  --ring: #c9a165;

  /* Radius — your site uses sharp corners */
  --radius: 0rem;

  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Source Sans 3', system-ui, sans-serif;
}

/* ---- 3. BASE STYLES ---- */
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--primary);
  font-weight: 400;
  line-height: 1.2;
}

/* ---- 4. TYPOGRAPHY SCALE ---- */
h1 {
  font-size: clamp(1.875rem, 5vw, 3rem);     /* 30px → 48px */
  color: #ffffff;                            /* white on dark hero */
}

h2.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.875rem;                       /* 14px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem); /* 24px → 36px */
  color: var(--primary);
}

h4 {
  font-size: clamp(1.125rem, 2vw, 1.25rem); /* 18px → 20px */
  color: var(--primary);
}

p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: rgba(20, 35, 57, 0.8);
}

p.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(20, 35, 57, 0.7);
}

/* ---- 5. BUTTONS ---- */
.btn,
.zp-button,
button.btn-gold {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Gold primary button */
.btn-gold {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-gold:hover {
  background-color: rgba(201, 161, 101, 0.9);
  box-shadow: 0 6px 20px rgba(201, 161, 101, 0.4);
  transform: translateY(-2px);
}

/* Outline / secondary button */
.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ---- 6. HEADER / NAVBAR ---- */
.clarity-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: none;
  transition: box-shadow 0.3s ease;
}

.clarity-header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.clarity-header .nav-link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--foreground);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.clarity-header .nav-link:hover,
.clarity-header .nav-link.active {
  color: var(--accent);
}

.clarity-header .phone-link {
  font-size: 0.875rem;
  color: var(--foreground);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.clarity-header .phone-link:hover {
  color: var(--accent);
}

/* ---- 7. FOOTER ---- */
.clarity-footer {
  background-color: var(--primary);
  color: #ffffff;
  padding: 4rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.clarity-footer h4 {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.clarity-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 300;
  text-decoration: none;
  transition: color 0.3s ease;
}

.clarity-footer a:hover {
  color: var(--accent);
}

.clarity-footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.6;
}

.clarity-footer .footer-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.clarity-footer .bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

/* ---- 8. CARDS ---- */
.clarity-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: all 0.3s ease;
  border-radius: var(--radius);
}

.clarity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
  border-color: rgba(201, 161, 101, 0.5);
}

.clarity-card h4 {
  margin-bottom: 0.75rem;
}

.clarity-card p {
  font-size: 0.875rem;
  color: rgba(20, 35, 57, 0.7);
}

/* ---- 9. SECTIONS ---- */
.section-muted {
  background-color: rgba(237, 237, 237, 0.3);
  padding: 4rem 0;
}

.section-white {
  background-color: #ffffff;
  padding: 4rem 0;
}

.section-dark {
  background-color: var(--primary);
  color: #ffffff;
  padding: 4rem 0;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

/* ---- 10. CONTAINER ---- */
.clarity-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .clarity-container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .clarity-container {
    padding: 0 3rem;
  }
}

/* ---- 11. HERO ---- */
.clarity-hero {
  background-color: var(--primary);
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.clarity-hero .hero-content {
  position: relative;
  z-index: 10;
  color: #ffffff;
  padding: 4rem 0;
}

.clarity-hero h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.clarity-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

/* ---- 12. UTILITIES ---- */
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-white { color: #ffffff; }
.text-muted { color: var(--muted-foreground); }
.bg-primary { background-color: var(--primary); }
.bg-accent { background-color: var(--accent); }
.bg-muted { background-color: var(--muted); }
.border-accent { border-color: var(--accent); }

.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }
.font-light { font-weight: 300; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }

/* ---- 13. LOGO ---- */
.clarity-logo {
  height: auto;
  width: 150px;
}

@media (max-width: 768px) {
  .clarity-logo {
    width: 130px;
  }
}

/* ---- 14. RESPONSIVE ---- */
@media (max-width: 1024px) {
  .clarity-header .nav-desktop {
    display: none;
  }
  .clarity-header .nav-mobile-toggle {
    display: flex;
  }
}

/* ---- 15. LINKS ---- */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
}

/* ---- 16. FORMS ---- */
input,
textarea,
select {
  font-family: var(--font-sans);
  border: 1px solid var(--input);
  border-radius: var(--radius);
  padding: 0.625rem 0.875rem;
  width: 100%;
  font-size: 1rem;
  color: var(--foreground);
  background-color: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(201, 161, 101, 0.2);
}

label {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  display: block;
}