@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #173a66;
  --navy-dark: #0e2748;
  --green: #2f8f3b;
  --green-dark: #236b2c;
  --bg-blue: #eaf2fb;
  --bg-green: #eaf7ec;
  --gray: #57616d;
  --gray-dark: #333c46;
  --border: #e3e8ee;
  --white: #fff;
  --gold: #f5b400;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(15, 44, 82, 0.09);
  --shadow-sm: 0 3px 10px rgba(15, 44, 82, 0.07);
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-dark);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.18;
  margin: 0;
}
h2 { font-size: 1.75rem; }
h3 { font-size: 1.15rem; }
p { margin: 0; }

.icon {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-filled { fill: currentColor; stroke: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 900px) {
  .container { padding: 0 32px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid #90c3ff; outline-offset: 2px; }
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: default; }

.header-top { padding: 18px 0; border-bottom: 1px solid var(--border); }
.header-top .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 52px; }

.header-tagline {
  display: none;
  text-align: center;
  font-family: var(--font-heading);
  line-height: 1.35;
}
.header-tagline .l1 { color: var(--navy); font-weight: 700; font-style: italic; font-size: 1rem; }
.header-tagline .l2 { color: var(--green); font-weight: 700; font-style: italic; font-size: 1rem; }
.header-tagline .l3 { font-family: var(--font-body); color: var(--gray); font-size: 0.78rem; }

.header-right { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-left: auto; width: 100%; }
.header-phone { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.header-phone .icon { color: var(--navy); flex: none; }
.header-phone-text .num { display: block; font-weight: 800; color: var(--navy); font-size: 1.15rem; white-space: nowrap; }
.header-phone-text .tagline-small { display: block; font-size: 0.74rem; color: var(--gray); font-style: italic; white-space: nowrap; }

@media (max-width: 560px) {
  .header-right { justify-content: space-between; }
  .header-right .btn { flex: 1; }
}

@media (min-width: 980px) {
  .header-tagline { display: block; }
  .header-right { width: auto; }
}

.nav-bar { background: var(--navy); }
.nav-bar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.nav-toggle {
  background: none; border: none; color: #fff; padding: 14px 0; cursor: pointer;
  display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-list {
  list-style: none; margin: 0; padding: 0 0 12px; display: none; flex-direction: column; width: 100%;
}
.nav-list.open { display: flex; }
.nav-list li a {
  display: block; padding: 12px 4px; color: #fff; text-decoration: none; font-size: 0.95rem;
  font-weight: 600; border-top: 1px solid rgba(255,255,255,0.14);
}
.nav-list li a.active { color: #8fd37a; }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav-list { display: flex !important; flex-direction: row; padding: 0; width: auto; }
  .nav-list li a {
    border-top: none; padding: 16px 14px; position: relative;
  }
  .nav-list li a:hover, .nav-list li a.active { color: #8fd37a; }
  .nav-list li a.active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 2px; background: #8fd37a;
  }
}

.hero { padding: 40px 0 56px; }
.hero .container { display: grid; gap: 32px; align-items: center; }
.hero-text h1 {
  font-size: 2.1rem;
}
.hero-text h1 .green-line { color: var(--green); display: block; }
.hero-text p { color: var(--gray); margin: 20px 0 26px; font-size: 1.02rem; max-width: 46ch; }
.hero-text p strong { color: var(--gray-dark); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

@media (min-width: 960px) {
  .hero .container { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
  .hero-text h1 { font-size: 2.9rem; }
}

.section { padding: 56px 0; }
.section-title { margin-bottom: 32px; }
.section-title.centered { text-align: center; }
.section-title p { color: var(--gray); margin-top: 8px; max-width: 640px; }
.section-title.centered p { margin-inline: auto; }

.services-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: #fff; display: flex; flex-direction: column;
}
.service-card .photo {
  position: relative; aspect-ratio: 16/11; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex; align-items: center; justify-content: center;
}
.service-card .photo .photo-icon { width: 60px; height: 60px; color: rgba(255,255,255,0.3); }
.service-card .photo .badge {
  position: absolute; left: 18px; bottom: -22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); border: 3px solid #fff;
}
.service-card .card-body { padding: 32px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--gray); font-size: 0.9rem; flex: 1; margin-bottom: 16px; }

.split-strip { background: var(--bg-blue); padding: 48px 0; }
.split-strip .container { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 1020px) { .split-strip .container { grid-template-columns: 1fr 1fr; } }

.col-block h2 { margin-bottom: 8px; }
.col-block > p { color: var(--gray); margin-bottom: 20px; font-size: 0.92rem; }

.calendar-box {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px;
}
.calendar-box .calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.calendar-box .calendar-head h3 { font-size: 1.05rem; }
.calendar-box .calendar-head button { background: var(--bg-blue); border: none; border-radius: 6px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; }
.calendar-box .calendar-head button[disabled] { opacity: 0.4; cursor: default; }
.days-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 0.78rem; }
.days-grid span.day-label { color: var(--gray); font-weight: 700; padding-bottom: 6px; font-size: 0.72rem; }
.days-grid button {
  border: none; background: transparent; border-radius: 50%; aspect-ratio: 1; width: 100%; cursor: pointer; font-size: 0.82rem; color: var(--gray-dark); font-weight: 600;
}
.days-grid button.empty { visibility: hidden; cursor: default; }
.days-grid button.available { background: var(--bg-green); color: var(--green-dark); }
.days-grid button.available:hover { background: var(--green); color: #fff; }
.days-grid button.available.selected,
.days-grid button.available.selected:hover { background: var(--navy); color: #fff; }

.mini-times { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.mini-times h4 { font-size: 0.85rem; color: var(--navy); margin-bottom: 10px; font-family: var(--font-body); font-weight: 700; }
.mini-times-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-times-list button {
  border: 1px solid var(--border); background: #fff; border-radius: var(--radius-sm); padding: 9px 6px; cursor: pointer; font-size: 0.82rem; font-weight: 600; color: var(--gray-dark);
}
.mini-times-list button.selected { background: var(--navy); color: #fff; border-color: var(--navy); }

.small-offices-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .small-offices-grid { grid-template-columns: 1fr 1fr; } }

.small-office-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.small-office-card .office-photo {
  aspect-ratio: 16/10; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px;
}
.small-office-card .office-photo .icon { width: 30px; height: 30px; opacity: 0.9; }
.small-office-card .office-photo .office-name { font-family: var(--font-heading); font-weight: 700; font-size: 0.92rem; text-align: center; }
.small-office-card .card-body { padding: 16px; }
.small-office-card h4 { display: flex; align-items: center; gap: 6px; color: var(--navy); font-family: var(--font-body); font-weight: 700; font-size: 0.96rem; margin-bottom: 4px; }
.small-office-card h4 .icon { width: 16px; height: 16px; color: var(--green); }
.small-office-card address { font-style: normal; color: var(--gray); font-size: 0.84rem; margin-bottom: 10px; }
.small-office-card iframe { width: 100%; height: 130px; border: 0; border-radius: var(--radius-sm); margin-bottom: 12px; border: 1px solid var(--border); }
.info-line { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--gray); margin-bottom: 4px; }
.info-line .icon { width: 15px; height: 15px; color: var(--navy); }

.offices-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .offices-grid { grid-template-columns: 1fr 1fr; } }

.office-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff;
}
.office-card .office-photo {
  aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px;
}
.office-card .office-photo .icon { width: 38px; height: 38px; opacity: 0.9; }
.office-card .office-photo .office-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; text-align: center; }
.office-card .card-body { padding: 22px; }
.office-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin-bottom: 6px; }
.office-card h3 .icon { color: var(--green); }
.office-card address { font-style: normal; color: var(--gray); margin-bottom: 14px; }
.office-card iframe { width: 100%; height: 200px; border: 0; border-radius: var(--radius-sm); margin-bottom: 14px; border: 1px solid var(--border); }
.office-card .info-line { margin-bottom: 6px; }
.office-card .info-extra { margin-bottom: 16px; }

.why-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .why-grid { grid-template-columns: repeat(5, 1fr); } }
.why-item { text-align: center; }
.why-item .icon-circle {
  width: 52px; height: 52px; border-radius: 50%; background: var(--bg-blue); color: var(--navy);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.why-item.featured .icon-circle { background: var(--green); color: #fff; }
.why-item h4 { font-family: var(--font-body); color: var(--navy); font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.why-item p { color: var(--gray); font-size: 0.82rem; }

.testimonials-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 12px; }
.stars .icon { width: 17px; height: 17px; }
.testimonial-card p.quote { color: var(--gray-dark); font-size: 0.92rem; font-style: italic; line-height: 1.55; }
.testimonial-card p.name { color: var(--gray); font-weight: 700; margin-top: 14px; font-size: 0.86rem; font-style: normal; }

.closing-banner {
  position: relative; text-align: center; padding: 72px 20px; color: #fff; overflow: hidden;
  background: linear-gradient(180deg, rgba(14,39,72,0.55), rgba(14,39,72,0.72)), var(--navy);
  background-size: cover; background-position: center;
}
.closing-banner h2 { color: #fff; font-size: 1.5rem; font-style: italic; }
.closing-banner .sub { color: #a9e6ad; font-family: var(--font-heading); font-style: italic; font-weight: 700; font-size: 1.15rem; margin: 6px 0 24px; }
.closing-banner .hero-buttons { justify-content: center; }

.site-footer { background: var(--navy-dark); color: #c7d4e8; padding: 36px 0; font-size: 0.85rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.site-footer a { color: #fff; text-decoration: none; }

.consult-hero { padding: 40px 0 0; }
.consult-hero .container { display: grid; gap: 28px; align-items: center; }
.consult-hero h1 { font-size: 2rem; }
.consult-hero h1 .green-line { color: var(--green); display: block; }
.consult-hero p { color: var(--gray); margin-top: 14px; max-width: 50ch; }
.consult-hero-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/10; }
.consult-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

@media (min-width: 900px) {
  .consult-hero .container { grid-template-columns: 1fr 1fr; gap: 40px; }
  .consult-hero h1 { font-size: 2.6rem; }
}

.choose-strip { background: var(--bg-blue); padding: 40px 0; }
.choose-strip .container { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .choose-strip .container { grid-template-columns: 1fr 1fr; } }
.choose-strip h2 { font-size: 1.3rem; margin-bottom: 18px; }
.choose-strip .green-col h2 { color: var(--green); }

.options-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 540px) { .options-grid { grid-template-columns: repeat(4, 1fr); } }
.option {
  background: #fff; border: 2px solid transparent; border-radius: var(--radius); padding: 16px 10px; text-align: center;
  cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .15s ease;
}
.option.active { border-color: var(--green); }
.option .icon-circle {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff;
}
.option.active .icon-circle { background: var(--green); }
.option span { display: block; font-size: 0.82rem; font-weight: 700; color: var(--gray-dark); }

.numbered-steps { display: grid; gap: 20px; grid-template-columns: 1fr; margin: 48px 0 32px; }
@media (min-width: 760px) { .numbered-steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: flex; gap: 14px; }
.step .num {
  flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-heading);
}
.step h4 { font-family: var(--font-body); color: var(--navy); font-weight: 700; font-size: 0.96rem; margin-bottom: 4px; }
.step p { color: var(--gray); font-size: 0.84rem; }

.selects { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 36px; }
@media (min-width: 700px) { .selects { grid-template-columns: 1fr 1fr; } }
.select-field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.select-field select {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: 0.95rem;
  background: #fff; color: var(--gray-dark); font-family: inherit;
}

.calendar-block { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .calendar-block { grid-template-columns: 1.15fr 0.85fr; } }

.big-calendar { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); background: #fff; }
.big-calendar .calendar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.big-calendar .calendar-head button {
  border: none; background: var(--bg-blue); color: var(--navy); border-radius: var(--radius-sm); width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.big-calendar .calendar-head button[disabled] { opacity: 0.4; cursor: default; }
.big-calendar h3 { margin: 0; font-size: 1.2rem; }
.big-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.big-grid span.day-label { color: var(--gray); font-weight: 700; padding-bottom: 8px; font-size: 0.74rem; }
.big-grid button {
  border: none; background: transparent; border-radius: 50%; aspect-ratio: 1; width: 100%; cursor: pointer; font-size: 0.9rem; font-weight: 600; color: var(--gray-dark);
}
.big-grid button.empty { visibility: hidden; }
.big-grid button.available { background: var(--bg-green); color: var(--green-dark); }
.big-grid button.available:hover { background: var(--green); color: #fff; }
.big-grid button.available.selected,
.big-grid button.available.selected:hover { background: var(--navy); color: #fff; }

.times-panel { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); background: #fff; display: flex; flex-direction: column; }
.times-panel h3 { font-size: 1.05rem; margin-bottom: 4px; }
.times-panel .picked-date { color: var(--gray); font-size: 0.86rem; margin-bottom: 16px; }
.times-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.times-list button {
  border: 1px solid var(--border); background: #fff; border-radius: var(--radius-sm); padding: 12px 6px; cursor: pointer; font-size: 0.88rem; font-weight: 700; color: var(--gray-dark);
}
.times-list button.selected { background: var(--navy); color: #fff; border-color: var(--navy); }
.confirmation {
  margin-top: auto; padding: 14px; border-radius: var(--radius-sm); background: var(--bg-green); color: var(--green-dark);
  font-size: 0.86rem; display: none;
}
.confirmation.visible { display: block; }

.after-note {
  margin-top: 36px; background: var(--bg-green); border-radius: var(--radius); padding: 20px 22px;
  display: flex; gap: 14px; align-items: flex-start;
}
.after-note .icon { color: var(--green-dark); margin-top: 2px; }
.after-note strong { color: var(--green-dark); }
.after-note p { color: var(--gray-dark); font-size: 0.9rem; display: inline; }

.trust-strip { display: grid; gap: 24px; grid-template-columns: repeat(2,1fr); text-align: center; padding: 40px 0 10px; }
@media (min-width: 760px) { .trust-strip { grid-template-columns: repeat(5, 1fr); } }
.trust-strip .item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.trust-strip .icon-circle { width: 46px; height: 46px; border-radius: 50%; background: var(--bg-blue); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.trust-strip span { font-size: 0.8rem; font-weight: 700; color: var(--gray-dark); }
