/* =========================================================
   BlueRaiin Cleaning Services — main stylesheet
   Colours and fonts live in :root so they're easy to change.
   ========================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-opsz-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-opsz-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B2F5E;
  --navy-deep: #0A2447;
  --navy-soft: #123C72;
  --blue: #1A5FD0;
  --blue-hover: #154DAA;
  --sky: #8CCBF5;
  --pink: #F4A7C1;        /* on dark backgrounds */
  --pink-deep: #C23B6C;   /* on light backgrounds */
  --pink-tint: #FCEEF3;
  --ink: #0F1D2E;
  --muted: #4A5B70;
  --muted-2: #5B6B7E;
  --on-dark: #C9DBEF;
  --line: #DCE5EF;
  --mist: #EEF4FB;
  --ground: #F7F9FC;
  --white: #fff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --max: 1200px;
  --radius: 18px;
  --radius-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 84px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }

.ic {
  width: 22px; height: 22px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 6px; height: 9px; background: #E0588A;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}
.eyebrow--light { color: var(--pink); }

.section-title { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(30px, 5vw, 50px); line-height: 1.1; }
.lead { font-size: 17px; line-height: 1.65; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0;
  font-family: inherit; font-weight: 700; font-size: 16px; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, transform .2s;
}
.btn .ic { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--mist); color: var(--navy); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.45); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }
.text-link .ic { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.brand:hover { color: var(--white); }
.brand svg { width: 24px; height: 24px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.brand__name span { font-weight: 400; color: var(--sky); }
.brand__tag { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; color: #B9D3EE; margin-top: 5px; }

.nav { display: none; }
.nav a { color: var(--on-dark); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: 15px; color: var(--navy); }

.menu-toggle {
  width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: var(--white);
}
.menu-toggle .ic-close { display: none; }
.menu-open .menu-toggle .ic-open { display: none; }
.menu-open .menu-toggle .ic-close { display: block; }

.mobile-menu {
  position: fixed; inset: 68px 0 0 0; z-index: 49; background: var(--navy); color: var(--white);
  padding: 24px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: 36px; color: var(--white); min-height: 64px;
  display: flex; align-items: center; border-bottom: 1px solid rgba(201,219,239,.15);
}
.mobile-menu nav a:hover { color: var(--pink); }
.mobile-menu__actions { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu__row { display: flex; gap: 10px; }
.mobile-menu__row a {
  flex: 1; min-height: 52px; border-radius: 999px; border: 1px solid rgba(140,203,245,.4);
  display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--white); font-weight: 600;
}
.mobile-menu__row .ic { width: 18px; height: 18px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; padding: 40px 0 96px; }
.hero__rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.drop { animation: fall 5.5s linear infinite; }
@keyframes fall { from { transform: translateY(-120px); opacity: 0; } 15% { opacity: 1; } to { transform: translateY(760px); opacity: 0; } }
.hero__grid { position: relative; display: grid; gap: 40px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #CFE3F6;
  background: rgba(140,203,245,.12); border: 1px solid rgba(140,203,245,.3);
}
.badge .ic { width: 18px; height: 18px; color: var(--pink); }
.hero h1 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(42px, 7.4vw, 78px); line-height: 1.03; }
.hero h1 em { color: var(--pink); }
.hero__lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: var(--on-dark); max-width: 540px; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.hero__media { position: relative; display: flex; justify-content: center; }
.hero__media img {
  width: 100%; max-width: 460px; height: auto; aspect-ratio: 460 / 560; object-fit: cover; object-position: center 70%;
  border-radius: 230px 230px 28px 28px; border: 1px solid rgba(140,203,245,.35);
}
.hero__card {
  position: absolute; left: 0; bottom: 28px; width: min(280px, 80%);
  padding: 20px 22px; border-radius: 20px; background: rgba(255,255,255,.94); color: var(--ink);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.45); display: none; flex-direction: column; gap: 12px;
}
.hero__card-title { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-deep); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; font-weight: 600; }
.chips span { padding: 6px 12px; border-radius: 999px; background: var(--mist); }
.hero__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; }

/* ---------- Property strip ---------- */
.strip { padding: 28px 0 8px; }
.strip .container { display: flex; flex-direction: column; gap: 18px; }
.strip p { font-size: 15px; font-weight: 600; color: var(--muted); max-width: 300px; line-height: 1.5; }
.strip ul { display: flex; flex-wrap: wrap; gap: 14px 28px; color: var(--navy); font-weight: 700; font-size: 15px; }
.strip li { display: flex; align-items: center; gap: 10px; }
.strip .ic { color: var(--blue); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--white { background: var(--white); border-top: 1px solid #E6EDF5; border-bottom: 1px solid #E6EDF5; }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.section-head__text { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }

/* Services */
.service-group { display: flex; flex-direction: column; gap: 18px; }
.service-group + .service-group { margin-top: 44px; }
.service-group h3 { display: flex; align-items: center; gap: 14px; font-size: 19px; font-weight: 800; }
.service-group h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: #F0B3C8; transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(11,47,94,.35); }
.icobox { width: 46px; height: 46px; border-radius: 14px; background: var(--mist); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.card h4 { font-size: 17px; font-weight: 700; margin-top: 4px; }
.card p { font-size: 15px; line-height: 1.55; color: var(--muted); flex-grow: 1; }
.card .text-link { font-size: 14px; min-height: 32px; }
.card .text-link .ic { width: 16px; height: 16px; }
.card--cta { background: var(--navy); border-color: var(--navy); color: var(--white); justify-content: space-between; gap: 16px; }
.card--cta:hover { border-color: var(--navy); }
.card--cta .serif { font-size: 24px; line-height: 1.25; }
.card--cta .text-link { color: var(--pink); font-size: 15px; }

/* Specialist panels */
.panels { display: grid; gap: 20px; }
.panel { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 32px 24px; display: flex; flex-direction: column; gap: 18px; }
.panel > * { position: relative; }
.panel h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; }
.panel p { font-size: 17px; line-height: 1.65; max-width: 480px; }
.panel .btn { align-self: flex-start; margin-top: 6px; }
.panel--light { background: var(--mist); }
.panel--light p { color: var(--muted); }
.panel--light .panel__drop { position: absolute; right: -30px; top: -30px; width: 220px; height: 264px; }
.panel--light .icobox { width: 56px; height: 56px; background: var(--white); }
.panel--light .icobox .ic { width: 26px; height: 26px; }
.ticks { display: flex; flex-direction: column; gap: 12px; font-weight: 600; }
.ticks li { display: flex; gap: 12px; align-items: center; }
.ticks .ic { width: 20px; height: 20px; color: var(--blue); }
.panel--dark { background: var(--navy); color: var(--white); }
.panel--dark p { color: var(--on-dark); }
.panel--dark .panel__wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 160px; }
.panel__photo { width: 100%; height: 220px; object-fit: cover; border-radius: 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; font-weight: 600; font-size: 15px; }
.pills span { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(244,167,193,.55); }

/* Gallery */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery figure { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 7px 13px; border-radius: 999px;
  background: rgba(255,255,255,.94); font-size: 13.5px; font-weight: 700; color: var(--navy);
}

/* Why */
.why { display: grid; gap: 40px; }
.why__intro { display: flex; flex-direction: column; gap: 18px; }
.why__intro .btn { align-self: flex-start; margin-top: 6px; }
.why__list { display: grid; gap: 28px; }
.why__item { display: flex; gap: 18px; }
.why__item .icobox { flex-shrink: 0; }
.why__item h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.why__item p { font-size: 15px; color: var(--muted); }

/* About */
.about { display: grid; gap: 36px; align-items: center; }
.about__photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.about__copy { display: flex; flex-direction: column; gap: 18px; }
.about__copy p { font-size: 17px; line-height: 1.7; color: var(--muted); }

/* Contact */
.contact { border-radius: 32px; background: var(--white); border: 1px solid var(--line); overflow: hidden; display: grid; }
.contact__info {
  position: relative; color: var(--white); padding: 40px 24px; display: flex; flex-direction: column; gap: 20px;
  background: linear-gradient(rgba(11,47,94,.82), rgba(11,47,94,.93)), url("../img/rain-glass.webp") center / cover;
}
.contact__info h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(34px, 4vw, 46px); line-height: 1.1; }
.contact__info > p { font-size: 17px; line-height: 1.65; color: var(--on-dark); }
.contact__links { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.contact__link {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; min-height: 52px; padding: 10px 18px; border-radius: 14px;
  background: rgba(255,255,255,.09); color: var(--white); font-weight: 600; font-size: 16px;
}
.contact__link a { color: var(--white); }
a.contact__link:hover, .contact__link a:hover { color: var(--pink); }
.contact__link .ic { color: var(--sky); }
.contact__link .sep { color: var(--sky); }
@media (max-width: 599px) { .contact__link .sep { display: none; } }
.contact__meta { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.55; color: var(--on-dark); padding: 4px 4px 0; }
.contact__meta span { display: flex; gap: 12px; align-items: flex-start; }
.contact__meta .ic { width: 20px; height: 20px; color: var(--sky); margin-top: 1px; }

.form { padding: 32px 22px 36px; display: grid; gap: 18px; grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 500; color: var(--muted-2); }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 500; font-size: 16px; width: 100%;
  min-height: 52px; border: 1px solid #CBD8E6; border-radius: 12px; padding: 0 16px; background: var(--white); color: var(--ink);
}
.field select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6B7E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field textarea { min-height: 130px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,95,208,.18); }
.field--full, .form fieldset, .form__foot { grid-column: 1 / -1; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 10px; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 1px solid #CBD8E6; font-size: 15px; font-weight: 600; cursor: pointer;
}
.radios label:has(input:checked) { border: 1.5px solid var(--blue); background: var(--mist); color: var(--navy); }
.radios input { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }
.form__foot { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }
.form__foot p { font-size: 13.5px; color: var(--muted-2); line-height: 1.5; }
.form__status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.form__status[hidden] { display: none; }
.form__status--ok { background: #E8F6EE; color: #1B6B3E; }
.form__status--err { background: var(--pink-tint); color: #9B2551; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark); padding: 56px 0 120px; font-size: 15px; }
.footer__grid { display: grid; gap: 36px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand p { max-width: 320px; line-height: 1.65; }
.footer__brand .btn { align-self: flex-start; min-height: 48px; font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h2 { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.footer__col a { color: var(--on-dark); }
.footer__col a:hover { color: var(--white); }
.footer__legal {
  border-top: 1px solid rgba(201,219,239,.18); margin-top: 40px; padding-top: 24px;
  display: flex; flex-direction: column; gap: 14px; font-size: 13.5px; color: #9FB7D2; line-height: 1.6;
}
.footer__legal nav { display: flex; gap: 24px; }
.footer__legal a { color: var(--on-dark); }

/* Mobile quick-action bar */
.quick-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: flex; gap: 8px; padding: 8px; border-radius: 20px;
  background: rgba(255,255,255,.97); box-shadow: 0 14px 34px -12px rgba(11,47,94,.45);
}
.quick-bar__call { width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.quick-bar .btn { flex: 1; min-height: 48px; border-radius: 14px; padding: 0 16px; }

/* ---------- Legal pages ---------- */
.page-hero { background: var(--navy); color: var(--white); padding: 56px 0 64px; }
.page-hero h1 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(36px, 6vw, 56px); line-height: 1.1; margin-top: 14px; }
.page-hero p { color: var(--on-dark); margin-top: 12px; }
.prose { max-width: 760px; padding: 56px 0 88px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -0.01em; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.prose p + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: flex; flex-direction: column; gap: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .hero__ctas { flex-direction: row; flex-wrap: wrap; }
  .hero__card { display: flex; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 44px 40px 48px; }
  .form__foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
  .panel { padding: 44px 40px; }
}

@media (min-width: 960px) {
  :root { --gutter: 48px; }
  .site-header .container { height: 84px; }
  [id] { scroll-margin-top: 100px; }
  .nav { display: flex; align-items: center; gap: 36px; }
  .menu-toggle, .mobile-menu, .quick-bar { display: none; }
  .brand svg { width: 26px; height: 26px; }
  .brand__name { font-size: 22px; }
  .brand__tag { font-size: 10px; }

  .hero { padding: 72px 0 150px; }
  .hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .hero__media { justify-content: flex-end; }
  .hero__card { left: 20px; bottom: 44px; }
  .hero__wave { height: 90px; }

  .strip .container { flex-direction: row; align-items: center; justify-content: space-between; }
  .strip ul { gap: 36px; }

  .section { padding: 104px 0; }
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 56px; }
  .section-head > .lead { max-width: 420px; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .card { padding: 26px; }

  .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .panel { padding: 52px; }

  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .gallery figure { aspect-ratio: auto; height: 360px; }

  .why { grid-template-columns: 400px minmax(0, 1fr); gap: 80px; }
  .why__list { gap: 44px 48px; }

  .about { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
  .about__photo { aspect-ratio: auto; height: 460px; }

  .contact { grid-template-columns: 440px minmax(0, 1fr); }
  .contact__info { padding: 56px 48px; }
  .form { padding: 56px; gap: 22px; }

  .site-footer { padding: 80px 0 40px; }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 48px; }
  .footer__legal { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 32px; }
}


/* Compact service cards on phones */
@media (max-width: 599px) {
  .cards { gap: 10px; }
  .card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 18px; align-items: start; }
  .card .icobox { grid-row: 1 / span 3; width: 44px; height: 44px; }
  .card h4 { margin-top: 0; }
  .card p { font-size: 14.5px; }
  .card .text-link { min-height: 32px; }
  .card--cta { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drop { animation: none; display: none; }
  .card, .gallery img, .btn, .mobile-menu { transition: none; }
}
