/* ============================================
   A2P Client Site — Stylesheet
   Clean, professional wellness/medical practice
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

a {
  color: #b08d57;
  text-decoration: none;
}
a:hover {
  color: #8a6d3b;
}

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

/* --- Layout Helpers --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: #f8f7f5;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  color: #1a1a2e;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* --- Header --- */
.site-header {
  background: #1a1a2e;
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.site-header__brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-header__brand a {
  color: #fff;
}

/* Nav */
.site-nav {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #ccc;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: color .2s, background .2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: #c8c8d8;
  margin-bottom: 1.5rem;
}

.hero .cta-phone {
  display: inline-block;
  background: #b08d57;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background .2s;
}

.hero .cta-phone:hover {
  background: #8a6d3b;
  color: #fff;
}

/* --- Cards Grid --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid #e8e6e1;
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow .2s;
}

.card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

/* --- SMS / Consent Box --- */
.consent-box {
  background: #f0ede8;
  border-left: 4px solid #b08d57;
  padding: 1.5rem 2rem;
  border-radius: 4px;
  max-width: 800px;
  margin: 0 auto;
}

.consent-box h3 {
  margin-bottom: 0.5rem;
}

.consent-box p, .consent-box ul {
  font-size: 0.92rem;
  color: #444;
}

.consent-box ul {
  margin: 0.5rem 0 0.5rem 1.25rem;
}

/* --- Contact Bar --- */
.contact-bar {
  background: #1a1a2e;
  color: #ccc;
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.95rem;
}

.contact-bar a {
  color: #b08d57;
}

.contact-bar span {
  margin: 0 1rem;
}

/* --- Footer --- */
.site-footer {
  background: #141428;
  color: #999;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: #ddd;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-grid p {
  margin-bottom: 0.4rem;
}

.footer-grid a {
  color: #999;
  display: block;
  margin-bottom: 0.35rem;
}

.footer-grid a:hover {
  color: #b08d57;
}

.footer-bottom {
  border-top: 1px solid #2a2a44;
  padding-top: 1rem;
  text-align: center;
  color: #666;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}

.page-header h1 {
  color: #fff;
  margin-bottom: 0.25rem;
}

.page-header p {
  color: #b8b8c8;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
  color: #1a1a2e;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color .2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #b08d57;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn {
  display: inline-block;
  background: #b08d57;
  color: #fff;
  padding: 0.7rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.btn:hover {
  background: #8a6d3b;
  color: #fff;
}

/* --- Two-column layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* --- Contact Info Block --- */
.contact-info dt {
  font-weight: 600;
  color: #1a1a2e;
  margin-top: 0.75rem;
}

.contact-info dd {
  margin-left: 0;
  color: #555;
}

/* --- Map placeholder --- */
.map-placeholder {
  background: #e8e6e1;
  border-radius: 6px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

/* --- Legal Pages --- */
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.legal h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.legal h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.legal ul, .legal ol {
  margin: 0.5rem 0 1rem 1.5rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

.legal p {
  color: #444;
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #1a1a2e;
  color: #fff;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.92rem;
  color: #555;
}

/* --- Service Detail Blocks --- */
.service-detail {
  margin-bottom: 2.5rem;
}

.service-detail h2 {
  border-bottom: 2px solid #b08d57;
  padding-bottom: 0.4rem;
  display: inline-block;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #1a1a2e;
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.6rem 0.5rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }

  .two-col {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-bar span {
    display: block;
    margin: 0.25rem 0;
  }
}
