/* components.css — Shared components */

/* === Layout === */

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-py);
}

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

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

.section--tight {
  padding-block: 64px;
}

/* === Tag / Eyebrow === */

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.tag--light {
  color: var(--accent);
}

/* === Buttons === */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  padding: 14px 24px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-cta);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--secondary {
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn--secondary:hover {
  background: var(--bg-soft);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

/* === Cards === */

.card {
  background: var(--bg);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
}

.card--pad-lg {
  padding: 32px;
}

.card--dark {
  background: var(--ink);
  color: #fff;
}

.card--dark h3 {
  color: #fff;
}

/* === Grid utilities === */

.grid {
  display: grid;
  gap: var(--gutter);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }

/* Two-column layout with ratio */
.cols-7-5 { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter); }
.cols-5-7 { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gutter); }
.cols-6-6 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }

/* === SVG Placeholder === */

.ph {
  background: var(--bg-soft);
  border-radius: 12px;
  overflow: hidden;
}

.ph svg {
  width: 100%;
  height: 100%;
}

.ph--ar-4-3 { aspect-ratio: 4 / 3; }
.ph--ar-16-9 { aspect-ratio: 16 / 9; }
.ph--ar-3-4 { aspect-ratio: 3 / 4; }

/* === Forms === */

.form-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 32px;
}

.form-card label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.form-card input,
.form-card textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  margin-bottom: 20px;
}

.form-card input:focus,
.form-card textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

.form-card textarea {
  min-height: 100px;
  resize: vertical;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.form-consent input {
  width: auto;
  margin-top: 4px;
  margin-bottom: 0;
}

.form-consent label {
  margin-bottom: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.form-consent a {
  color: var(--ink);
  text-decoration: underline;
}

.form-help {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

/* === Header === */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
}

.header__inner {
  max-width: var(--max-width);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__monogram {
  width: 40px;
  height: 40px;
  background: var(--ink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}

.header__brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.header__brand-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.1;
}

.header__nav {
  display: flex;
  gap: 32px;
}

.header__nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding-block: 28px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.header__nav a:hover,
.header__nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__phone {
  text-align: right;
}

.header__phone-number {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.header__phone-hours {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.2;
}

.header__burger {
  display: none;
}

/* === Footer === */

.footer {
  background: var(--ink-2);
  color: #fff;
  padding-top: 64px;
  padding-bottom: 24px;
}

.footer__grid {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--gutter);
}

.footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

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

.footer__brand-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.5;
}

.footer__contacts p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer__socials {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.footer__bottom {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  font-size: 13px;
  text-decoration: underline;
}

/* === Bullet list with icons === */

.bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.bullets li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.bullets--light li {
  color: rgba(255, 255, 255, 0.8);
}

.bullets--light li svg {
  color: var(--accent);
}

/* === Stats row === */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

.stats__item {
  text-align: center;
}

.stats__num {
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stats__label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

/* === Section heading === */

.section-head {
  margin-bottom: 48px;
}

.section-head h2 {
  margin-top: 12px;
}

.section-head__sub {
  font-size: 16px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 600px;
}

/* === FAQ Details/Summary === */

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details > p {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* === Link with arrow === */

.link-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-arrow:hover {
  color: var(--accent-hover);
}
