/* ==========================================================================
   Troytec — styles.css
   Design tokens first. Mobile-first. No frameworks, no build step.
   The one bold element is the power button: the "o" in the logo, and the
   big switch in the home page hero. Everything else stays quiet.
   ========================================================================== */

:root {
  /* Colour */
  --white: #ffffff;
  --paper: #f7f8f6;
  --mint: #eef7ef;
  --mint-deep: #dcefdd;
  --dark: #1b1a19;
  --grey: #4d4d4d; /* the wordmark grey */
  --body: rgba(27, 26, 25, 0.86);
  --muted: rgba(27, 26, 25, 0.64);
  --line: rgba(27, 26, 25, 0.12);
  --green: #24a42c; /* backgrounds + graphics, dark label on top */
  --green-text: #1c8422; /* green text on white (4.81:1) */
  --green-bright: #2fbf39; /* green on charcoal (7.22:1) + button hover */
  --on-dark: rgba(255, 255, 255, 0.86);
  --on-dark-line: rgba(255, 255, 255, 0.14);
  --danger: #c53434;

  /* Type */
  --font-display: "Lato", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --maxw: 1120px;
  --gutter: 20px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --space-section: clamp(64px, 9vw, 112px);
}

/* --- Reset ---------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 720px) {
  body {
    font-size: 1.125rem;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--green-text);
  text-underline-offset: 0.18em;
}

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

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}

/* --- Buttons -------------------------------------------------------------- */
/* Every green button carries a dark label: white on #24A42C fails AA. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--green);
  color: var(--dark);
}

.btn--primary:hover {
  background: var(--green-bright);
  color: var(--dark);
}

.btn--outline {
  border-color: var(--dark);
  color: var(--dark);
  background: transparent;
}

.btn--outline:hover {
  background: var(--dark);
  color: var(--white);
}

.btn--sm {
  min-height: 42px;
  padding: 8px 18px;
  font-size: 0.98rem;
}

.btn--block {
  width: 100%;
}

.btn__icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.logo {
  display: inline-block;
  flex: none;
}

.logo img {
  height: 34px;
  width: auto;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav {
  display: none;
}

.nav.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 12px var(--gutter) 24px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(27, 26, 25, 0.08);
}

.nav__list {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.nav__link {
  display: block;
  padding: 12px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--green-text);
}

.nav .btn {
  width: 100%;
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .nav,
  .nav.is-open {
    display: flex;
    align-items: center;
    gap: 28px;
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
  }

  .nav__list {
    flex-direction: row;
    gap: 24px;
    margin: 0;
  }

  .nav__link {
    padding: 6px 0;
    font-size: 1rem;
    border: 0;
  }

  .nav__link[aria-current="page"] {
    box-shadow: inset 0 -3px 0 var(--green);
    color: var(--dark);
  }

  .nav .btn {
    width: auto;
  }
}

/* --- Sections ------------------------------------------------------------- */

.section {
  padding: var(--space-section) 0;
}

.section--paper {
  background: var(--paper);
}

.section--mint {
  background: var(--mint);
}

.section__head {
  max-width: 680px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.lead {
  font-size: 1.15em;
  color: var(--body);
}

.measure {
  max-width: 64ch;
}

/* --- Icons ---------------------------------------------------------------- */
/* Soft duotone: a mint blob, charcoal line work, one green accent. */

.icon {
  width: 64px;
  height: 64px;
  flex: none;
}

.icon--sm {
  width: 48px;
  height: 48px;
}

.icon .blob {
  fill: var(--mint);
}

.icon .ln {
  fill: none;
  stroke: var(--dark);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon .ac {
  fill: var(--green);
}

.icon .ac-ln {
  fill: none;
  stroke: var(--green);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section--mint .icon .blob {
  fill: var(--white);
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  max-width: 13ch;
}

.hero__sub {
  max-width: 34em;
  font-size: 1.15em;
}

.hero__area {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.95em;
}

.hero__area svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: var(--green-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.25fr 1fr;
    gap: 56px;
  }
}

/* The power switch ------------------------------------------------------- */

.switch {
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.switch__btn {
  position: relative;
  width: clamp(180px, 36vw, 380px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.switch__btn svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.switch__glow {
  fill: var(--mint);
  transform-origin: 100px 100px;
  transition: fill 0.4s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.2);
}

.switch__ring,
.switch__bar {
  fill: none;
  stroke: var(--green);
  stroke-width: 15;
  transition: stroke 0.3s ease;
}

.switch__bar {
  stroke-linecap: butt;
}

.switch__caption {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}

/* Off state (while the button is pressed off, and before load). */
.switch.is-off .switch__ring,
.switch.is-off .switch__bar {
  stroke: #c9ccc8;
}

.switch.is-off .switch__glow {
  fill: var(--paper);
  transform: scale(0.86);
}

/* Switch-on sequence: ring draws round, bar drops in, glow blooms. */
.switch.is-on .switch__ring {
  animation: ring-draw 0.9s cubic-bezier(0.6, 0, 0.2, 1) both;
}

.switch.is-on .switch__bar {
  animation: bar-drop 0.45s 0.55s cubic-bezier(0.3, 1.4, 0.5, 1) both;
}

.switch.is-on .switch__glow {
  animation: glow-bloom 0.9s 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes ring-draw {
  from {
    stroke-dashoffset: 400;
    stroke: #c9ccc8;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes bar-drop {
  from {
    transform: translateY(-26px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes glow-bloom {
  from {
    transform: scale(0.86);
    fill: var(--paper);
  }
  to {
    transform: scale(1);
  }
}

.switch__ring {
  stroke-dasharray: 400;
}

@media (prefers-reduced-motion: reduce) {
  .switch.is-on .switch__ring,
  .switch.is-on .switch__bar,
  .switch.is-on .switch__glow {
    animation: none;
  }

  .switch__glow {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --- Help list (services phrased as problems) ---------------------------- */

.help-list {
  border-top: 1px solid var(--line);
}

.help-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.15s ease;
}

.help-row:hover {
  background: var(--paper);
}

.help-row h2,
.help-row h3 {
  margin-bottom: 6px;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 900;
}

.help-row h2 a,
.help-row h3 a {
  color: var(--dark);
  text-decoration: none;
}

/* Stretch the heading link over the whole row. */
.help-row h2 a::after,
.help-row h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.help-row h2 a:focus-visible,
.help-row h3 a:focus-visible {
  outline: none;
}

.help-row:focus-within {
  outline: 3px solid var(--green);
  outline-offset: -3px;
  border-radius: var(--radius-sm);
}

.help-row p {
  margin: 0;
  max-width: 52ch;
}

.help-row > div {
  min-width: 0;
}

.help-row__meta {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  margin-top: 10px;
}

.price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--dark);
  white-space: nowrap;
}

.price small {
  font-weight: 700;
  font-size: 0.8em;
  color: var(--muted);
}

.help-row__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-text);
  white-space: nowrap;
}

.help-row__chev {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.15s ease;
}

.help-row:hover .help-row__chev {
  transform: translateX(4px);
}

@media (min-width: 820px) {
  .help-row {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 32px;
    padding: 32px 16px;
  }

  .help-row__meta {
    grid-column: 3;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin: 0;
    text-align: right;
  }

}

/* --- Steps (a real sequence, so numbered) -------------------------------- */

.steps {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 4px solid var(--green);
  border-radius: 50%;
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--dark);
  position: relative;
  z-index: 1;
}

.step p {
  margin: 0;
  max-width: 34ch;
}

@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  /* The dashed line that joins the three circles. */
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 26px;
    left: 60px;
    right: -32px;
    border-top: 3px dashed var(--mint-deep);
  }
}

/* --- About ---------------------------------------------------------------- */

.about {
  display: grid;
  gap: 40px;
}

.about__text p {
  max-width: 58ch;
}

.about__sign {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--dark);
}

.about__sign span {
  display: block;
  font-weight: 400;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
}

.area {
  align-self: start;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
}

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

.area__places {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}

.area__places li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--mint);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark);
}

.area p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 880px) {
  .about {
    grid-template-columns: 1.4fr 1fr;
    gap: 72px;
  }
}

/* --- Testimonials --------------------------------------------------------- */

.quotes {
  display: grid;
  gap: 40px;
}

.quote {
  margin: 0;
  padding-top: 24px;
  border-top: 4px solid var(--green);
}

.quote blockquote {
  margin: 0 0 18px;
  font-size: 1.1em;
  color: var(--dark);
}

.quote blockquote p {
  margin: 0;
}

.quote figcaption {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark);
}

.quote figcaption a {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
}

@media (min-width: 820px) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- FAQ ------------------------------------------------------------------ */

.faq {
  max-width: 760px;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
}

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

/* Plus that turns into a minus when open. */
.faq summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--dark), var(--dark)) center / 12px 2.5px no-repeat,
    linear-gradient(var(--dark), var(--dark)) center / 2.5px 12px no-repeat,
    var(--mint);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  background:
    linear-gradient(var(--dark), var(--dark)) center / 12px 2.5px no-repeat,
    var(--green);
}

.faq details p {
  margin: 0 0 22px;
  padding: 0 4px;
  max-width: 62ch;
}

/* --- Page intro (service pages) ------------------------------------------ */

.page-intro {
  padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
  background: var(--mint);
}

.page-intro__inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

.page-intro .icon {
  width: 88px;
  height: 88px;
}

.page-intro .icon .blob {
  fill: var(--white);
}

.page-intro h1 {
  max-width: 16ch;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.page-intro p {
  max-width: 40em;
  margin: 0;
  font-size: 1.15em;
}

.breadcrumb {
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.breadcrumb a {
  color: var(--dark);
}

@media (min-width: 820px) {
  .page-intro__inner {
    grid-template-columns: 1fr auto;
  }

  .page-intro .icon {
    width: 140px;
    height: 140px;
    grid-column: 2;
    grid-row: 1;
  }
}

/* --- What's included + price panel -------------------------------------- */

.offer {
  display: grid;
  gap: 40px;
  align-items: start;
}

.ticks {
  display: grid;
  gap: 14px;
}

.ticks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.ticks li::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c8422' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}

.ticks strong {
  color: var(--dark);
}

.ticks--cross li::before {
  background: var(--paper)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d4d4d' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m7 7 10 10M17 7 7 17'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.price-panel {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: var(--on-dark);
}

.price-panel h2,
.price-panel h3 {
  color: var(--white);
}

.price-panel h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.price-panel__amount {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.75rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--white);
}

.price-panel__amount small {
  font-size: 0.4em;
  font-weight: 700;
  color: var(--on-dark);
}

.price-panel__note {
  margin: 0 0 20px;
  color: var(--on-dark);
}

.price-panel__extra {
  margin: 0 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--on-dark-line);
}

.price-panel__extra p {
  margin: 0 0 6px;
}

.price-panel__extra strong {
  color: var(--white);
}

.price-panel .btn + .btn {
  margin-top: 10px;
}

.btn--on-dark {
  border-color: var(--on-dark-line);
  color: var(--white);
}

.btn--on-dark:hover {
  border-color: var(--white);
  color: var(--white);
}

@media (min-width: 880px) {
  .offer {
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
  }

  .price-panel {
    position: sticky;
    top: 100px;
  }
}

.split-lists {
  display: grid;
  gap: 40px;
}

@media (min-width: 820px) {
  .split-lists {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

/* Bigger projects: a table tucked into a disclosure. */
.more {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.more summary {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  cursor: pointer;
}

.more__body {
  padding: 0 24px 24px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.table th,
.table td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table th {
  font-family: var(--font-display);
  color: var(--dark);
}

.table td:last-child {
  white-space: nowrap;
  font-weight: 700;
  color: var(--dark);
}

.small-print {
  margin: 16px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* --- Related services (bottom of service pages) ------------------------- */

.related {
  display: grid;
  gap: 16px;
}

.related a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--dark);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  background: var(--white);
}

.related a:hover {
  border-color: var(--green);
}

@media (min-width: 820px) {
  .related {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Contact -------------------------------------------------------------- */

.contact__grid {
  display: grid;
  gap: 48px;
}

.ways {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.way {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--dark);
  text-decoration: none;
}

.way:hover {
  border-color: var(--green);
  color: var(--dark);
}

.way strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.way span {
  color: var(--muted);
  font-size: 0.95rem;
}

.way--whatsapp {
  background: var(--green);
  border-color: var(--green);
}

.way--whatsapp span {
  color: var(--dark);
}

.way--whatsapp:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
}

.way__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mint);
}

.way--whatsapp .way__icon {
  background: var(--white);
}

.way__icon svg {
  width: 22px;
  height: 22px;
}

.way__icon .fill {
  fill: var(--dark);
}

.way__icon .ln {
  fill: none;
  stroke: var(--dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}

.form h3 {
  margin-bottom: 20px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark);
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(27, 26, 25, 0.25);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--dark);
  background: var(--white);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(36, 164, 44, 0.25);
}

.field [aria-invalid="true"] {
  border-color: var(--danger);
}

.field__error {
  display: block;
  min-height: 0;
  margin-top: 4px;
  font-size: 0.92rem;
  color: var(--danger);
}

.form__note {
  margin: 12px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.form__status {
  margin: 8px 0 0;
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
    align-items: start;
  }
}

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  padding: 64px 0 28px;
  background: var(--dark);
  color: var(--on-dark);
}

.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green-bright);
}

.footer__grid {
  display: grid;
  gap: 36px;
}

.footer__grid .logo img {
  height: 32px;
  margin-bottom: 16px;
}

.footer__grid p {
  max-width: 34ch;
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0;
}

.footer__list li {
  margin-bottom: 8px;
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--on-dark-line);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 820px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

/* --- Floating WhatsApp ---------------------------------------------------- */

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--green);
  color: var(--dark);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(27, 26, 25, 0.22);
}

.whatsapp-float:hover {
  background: var(--green-bright);
  color: var(--dark);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.whatsapp-float__label {
  display: none;
}

@media (min-width: 720px) {
  .whatsapp-float {
    right: 24px;
    bottom: 24px;
    padding: 0 22px 0 18px;
  }

  .whatsapp-float__label {
    display: inline;
  }
}

.offer__sub {
  margin-top: 40px;
}

.page-intro__area {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px !important;
  font-size: 0.95rem !important;
  color: var(--muted);
}

.page-intro__area svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--green-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
