/* Dynamic Duo TCs website — built on the Dynamic Duo TCs design system
   (tokens: teal / teal-mid / teal-light / gray / gray-dark / white; Montserrat;
   8px corners; no shadows or gradients; teal is for shapes, never text). */
:root {
  --teal: #76B1B9;
  --teal-mid: #87B9C0;
  --teal-light: #B0D2D6;
  --gray: #7E8183;
  --gray-dark: #66696C;
  --white: #FFFFFF;
  --surface: var(--white);
  --ink: var(--gray-dark);
  --hairline: var(--teal-light);
  --tint: #EEF5F6;            /* teal-light at ~40% on white: quiet panel behind ink text (5.0:1) */
  --space-2: 8px; --space-4: 16px; --space-6: 24px; --space-10: 40px;
  --radius-sm: 4px; --radius-md: 8px; --radius-full: 9999px;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/24px var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type (design-system styles) ---------- */
.tagline { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 var(--space-4); }
.display { font-size: clamp(34px, 6vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; margin: 0 0 var(--space-6); }
h1, h2 { font-weight: 700; margin: 0; }
h1 { font-size: 32px; line-height: 40px; }
h2 { font-size: 24px; line-height: 32px; font-weight: 600; }
h3 { font-size: 18px; line-height: 26px; font-weight: 600; margin: 0; }
.small { font-size: 14px; line-height: 20px; }
/* section heading: tagline eyebrow, heading, short teal rule (from the horizontal logo) */
.head { text-align: center; margin-bottom: var(--space-10); }
.head h1, .head h2 { font-size: clamp(26px, 4vw, 32px); line-height: 1.25; font-weight: 700; }
.head::after { content: ""; display: block; width: 64px; height: 4px; border-radius: var(--radius-full); background: var(--teal); margin: var(--space-4) auto 0; }
.head p { max-width: 640px; margin: var(--space-4) auto 0; }

section { padding: 80px 0; }
section.tint { background: var(--tint); }
.rule { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

/* ---------- header ---------- */
header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--hairline); }
nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--teal); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-block; background: var(--gray-dark); color: var(--white); border: 2px solid var(--gray-dark); border-radius: var(--radius-md); padding: 12px 28px; font: 600 13px/16px var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: #57595C; border-color: #57595C; }
.btn.secondary { background: var(--white); color: var(--ink); border-color: var(--teal); }
.btn.secondary:hover { background: var(--tint); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ---------- the open ring (logo motif): a teal circle with a gap ---------- */
.ring { position: relative; display: inline-block; padding: 14px; }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 5px solid var(--teal); border-top-color: transparent; transform: rotate(30deg); }
.ring img { border-radius: 50%; object-fit: cover; }

/* ---------- home hero ---------- */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 18px; line-height: 28px; max-width: 520px; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-mark { justify-self: center; width: min(420px, 100%); }

/* ---------- home: three circles ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.feature { display: block; text-decoration: none; color: var(--ink); }
.feature .ring img { width: 220px; height: 220px; transition: transform .2s; }
.feature:hover .ring img { transform: scale(1.03); }
.feature h3 { margin: var(--space-4) 0 var(--space-2); }
.feature:hover h3 { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.feature p { margin: 0 auto; max-width: 320px; }

/* ---------- services / price cards ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.price-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 840px; margin: 0 auto; }
.card { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.card-img { width: 100%; aspect-ratio: 800 / 520; object-fit: cover; border-bottom: 1px solid var(--hairline); }
.card-body { padding: var(--space-6); }
.price { font-size: 32px; line-height: 40px; font-weight: 700; margin: var(--space-2) 0 0; }
.price small { font-size: 14px; font-weight: 400; }
.card ul { list-style: none; padding: 0; margin: var(--space-4) 0 0; }
.card li { position: relative; padding: 8px 0 8px 28px; border-top: 1px solid #E3EEF0; font-size: 15px; line-height: 22px; }
.card li::before { content: ""; position: absolute; left: 0; top: 12px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--teal); border-top-color: transparent; transform: rotate(30deg); }
.card .note { margin: var(--space-4) 0 0; font-size: 14px; line-height: 20px; font-style: italic; }
.sub-head { margin-top: 72px; }
.callout { max-width: 720px; margin: 0 auto; text-align: center; font-size: 18px; line-height: 28px; }
.pay-note { text-align: center; margin: var(--space-10) auto 0; max-width: 680px; }

/* ---------- about ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; max-width: 940px; margin: 0 auto; }
.person { text-align: center; }
.person .ring img { width: 220px; height: 220px; }
.person h3 { margin: var(--space-4) 0 var(--space-4); }
.person p { text-align: left; }
.duo { display: flex; justify-content: center; gap: 24px; margin-bottom: var(--space-6); }
.duo .ring img { width: 150px; height: 150px; }
.about-teaser { text-align: center; max-width: 640px; margin: 0 auto; }
.about-teaser p { margin: 0 0 var(--space-6); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.review { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: var(--space-6); margin: 0; text-align: center; }
.avatar { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--teal); border-top-color: transparent; display: grid; place-items: center; margin: 0 auto 10px; font-size: 20px; font-weight: 600; }
.stars { color: var(--teal); letter-spacing: 3px; margin-bottom: 12px; font-size: 18px; }
.review blockquote { margin: 0 0 14px; font-size: 15px; line-height: 22px; }
.review cite { font-style: normal; font-weight: 600; font-size: 14px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 48px; }
.logos img { height: 60px; width: auto; max-width: 230px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logos img:hover { filter: none; opacity: 1; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
form .field { margin-bottom: var(--space-4); }
form label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: var(--space-2); }
form input, form textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--gray); padding: 12px 14px; border-radius: var(--radius-sm); }
form input:focus, form textarea:focus { border-color: var(--gray-dark); }
form textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 14px; font-weight: 600; min-height: 1.5em; }
.form-msg.err { color: #A3261E; }
.hours-card { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: var(--space-6); }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 6px 0; border-bottom: 1px solid #E3EEF0; }
.hours tr:last-child td { border-bottom: 0; }
.hours td:first-child { width: 64px; font-weight: 600; }
.after-hours { margin: var(--space-4) 0 0; }

/* ---------- FAQs ---------- */
.faqs { max-width: 820px; margin: 0 auto; }
details { border-bottom: 1px solid var(--hairline); }
details:first-of-type { border-top: 1px solid var(--hairline); }
summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 600; font-size: 18px; line-height: 26px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 12px; height: 12px; border-right: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); top: 32px; }
details .answer { padding: 0 0 22px; }
details .answer p { margin: 0 0 12px; }
details .answer ul { margin: 0 0 12px; padding-left: 22px; }
.holidays { columns: 2; column-gap: 32px; }
.holidays h4 { margin: 0 0 6px; break-after: avoid; }
.holidays ul { list-style: none; padding: 0 !important; margin: 0 0 16px; break-inside: avoid; }

/* ---------- footer (gray-dark band, reversed logo) ---------- */
footer { background: var(--gray-dark); color: var(--white); padding: 72px 0 40px; }
footer a { color: var(--white); }
.foot-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.foot-logo img { width: min(320px, 80%); }
.refer h2 { font-size: 24px; line-height: 32px; margin: 0 0 var(--space-2); }
.refer p { margin: 0 0 var(--space-6); }
.social { display: flex; gap: 12px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--teal); display: grid; place-items: center; transition: background .15s; }
.social a:hover { background: rgba(255,255,255,.12); }
.social svg { width: 20px; height: 20px; fill: var(--white); }
.legal { border-top: 1px solid rgba(255,255,255,.25); margin-top: 48px; padding-top: 24px; font-size: 14px; line-height: 20px; text-align: center; }
.legal p { margin: 4px 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .contact-grid, .team, .foot-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-mark { width: min(300px, 80%); order: -1; }
  .hero { text-align: center; padding-top: 48px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .actions { justify-content: center; }
  .features, .price-grid, .reviews, .price-grid.two { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .foot-grid { text-align: center; }
  .foot-logo img { margin: 0 auto; }
  .social { justify-content: center; }
  .holidays { columns: 1; }
}
@media (max-width: 720px) {
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  nav { height: 64px; }
  .brand img { height: 32px; }
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; border-bottom: 1px solid var(--hairline); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px; border-bottom: 1px solid #E3EEF0; }
  .nav-links a[aria-current="page"] { border-bottom-color: #E3EEF0; box-shadow: inset 4px 0 0 var(--teal); }
  .person .ring img { width: 180px; height: 180px; }
  .duo .ring img { width: 116px; height: 116px; }
  .logos img { height: 44px; max-width: 140px; }
}
