/* ==========================================================================
   Notaría Francisco Javier Sémelas García-Urgelés — hoja de estilos principal
   ========================================================================== */

:root {
  --navy-900: #0f1b2d;
  --navy-800: #16263d;
  --navy-700: #1f3452;
  --navy-100: #e8edf4;
  --gold-500: #b08d57;
  --gold-400: #c4a574;
  --gold-100: #f4ede2;
  --ink: #1d2533;
  --muted: #5b6575;
  --line: #dfe3ea;
  --bg: #ffffff;
  --bg-soft: #f7f6f3;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1rem;
}

.section { padding: 110px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: #d5dce7; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--dark .section-head p { color: #aab5c5; }

.rule {
  width: 56px; height: 1px; background: var(--gold-500);
  margin: 1.4rem auto;
  border: 0;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn--gold { background: var(--gold-500); color: #fff; }
.btn--gold:hover { background: #9a7a48; }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-900); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--navy-900);
  color: #aab5c5;
  font-size: .8rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 42px; gap: 16px;
}
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; color: var(--gold-400); }
.topbar a:hover { color: #fff; }

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(15,27,45,.06); }
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px;
}

.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand__mark { flex: none; }
.brand__mark {
  width: 46px; height: 46px;
  border: 1px solid var(--gold-500);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
  color: var(--navy-900); letter-spacing: .04em;
}
.brand__text { line-height: 1.1; max-width: 300px; }
.brand__sub { margin-top: 4px; }
.brand__name {
  display: block;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  color: var(--navy-900);
  line-height: 1.15;
}
.brand__sub {
  display: block;
  font-size: .66rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted);
}

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; align-items: center; }
.nav a {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-800);
  position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold-500);
  transition: width .25s;
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav .btn { padding: 12px 22px; color: #fff; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer;
  color: var(--navy-900);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(115deg, rgba(15,27,45,.96) 0%, rgba(22,38,61,.9) 55%, rgba(31,52,82,.82) 100%),
    url("../img/hero-pattern.svg");
  background-size: cover, 320px;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -120px; top: 50%;
  width: 620px; height: 620px;
  transform: translateY(-50%);
  border: 1px solid rgba(196,165,116,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(196,165,116,.04), 0 0 0 130px rgba(196,165,116,.03);
  pointer-events: none;
}
.hero .container {
  position: relative; z-index: 1;
  padding-top: 140px; padding-bottom: 150px;
}
.hero__content { max-width: 720px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero p { font-size: 1.15rem; color: #c3ccd9; max-width: 580px; margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__facts {
  position: relative; z-index: 2;
  margin-top: -64px;
}
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold-500);
}
.fact {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 34px 32px;
}
.fact + .fact { border-left: 1px solid var(--line); }
.fact__icon {
  flex: none; width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--gold-100); color: var(--gold-500);
  border-radius: 50%;
}
.fact__icon svg { width: 22px; height: 22px; }
.fact h3 { font-size: 1.25rem; margin-bottom: .25rem; }
.fact p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* ---------- La notaría ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.about__visual {
  position: relative;
  margin: 0;
  background: #fff;
  padding: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.about__visual::after {
  content: ""; position: absolute;
  right: -18px; bottom: -18px;
  width: 55%; height: 60%;
  border: 1px solid var(--gold-500);
  z-index: -1;
}
.about__visual img { width: 100%; height: auto; display: block; }
.about h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.about p { color: var(--muted); }
.about .lead { font-size: 1.15rem; color: var(--ink); }

.values { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 18px; }
.values li { display: flex; gap: 16px; }
.values svg { flex: none; width: 22px; height: 22px; color: var(--gold-500); margin-top: 3px; }
.values strong { display: block; color: var(--navy-900); font-weight: 600; }
.values span { color: var(--muted); font-size: .95rem; }

.langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; }
.langs span {
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 14px; border: 1px solid var(--line); color: var(--navy-700);
}

/* ---------- Servicios ---------- */
.services {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: #fff;
  padding: 40px 30px;
  transition: background .3s, transform .3s;
  position: relative;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 100%; height: 2px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s;
}
.service:hover { background: #fdfcfa; }
.service:hover::before { transform: scaleX(1); }
.service svg { width: 38px; height: 38px; color: var(--gold-500); margin-bottom: 22px; stroke-width: 1.3; }
.service h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.service p { color: var(--muted); font-size: .9rem; line-height: 1.6; margin: 0; }

/* ---------- Cómo llegar / Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; }
.contact__info h2 { font-size: clamp(2rem, 4vw, 2.7rem); }
.contact__info > p { color: var(--muted); }

.info-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 24px; }
.info-list li { display: flex; gap: 18px; }
.info-list .fact__icon { width: 42px; height: 42px; }
.info-list .fact__icon svg { width: 19px; height: 19px; }
.info-list strong {
  display: block;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy-900); margin-bottom: 2px;
}
.info-list span, .info-list a { color: var(--muted); font-size: .96rem; }
.info-list a:hover { color: var(--gold-500); }

.transport {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  font-size: .9rem; color: var(--muted);
}
.transport div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.transport strong { color: var(--navy-900); display: block; font-size: .85rem; }

.form {
  background: #fff;
  padding: 44px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold-500);
}
.form h3 { font-size: 1.7rem; }
.form > p { color: var(--muted); font-size: .92rem; margin-bottom: 1.6rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-800); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: .95rem;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfbfc;
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: 6px 0 24px; }
.check input { margin-top: 5px; accent-color: var(--gold-500); }
.check a { color: var(--navy-700); text-decoration: underline; }
.form .btn { width: 100%; justify-content: center; }

.map {
  margin-top: 80px;
  height: 420px;
  filter: grayscale(.85) contrast(1.05);
  border: 0; width: 100%; display: block;
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #97a3b6; font-size: .9rem; }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding: 80px 0 60px;
}
.footer .brand__mark { color: #fff; }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: #7f8ba0; }
.footer h4 {
  font-family: var(--sans);
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.2rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold-400); }
.footer__about { margin-top: 1.2rem; max-width: 320px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .8rem;
}
.footer__bottom ul { display: flex; gap: 24px; }

/* ---------- Páginas legales ---------- */
.page-hero {
  background: var(--navy-900); color: #fff;
  padding: 80px 0 70px;
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 500; margin: 0; }
.legal { max-width: 820px; padding: 80px 24px 110px; }
.legal h2 { font-size: 1.7rem; margin-top: 2.4rem; }
.legal p, .legal li { color: var(--muted); }

/* ---------- Selector de idioma ---------- */
.lang-switch { display: flex; gap: 2px; }
.lang-switch a {
  padding: 3px 7px;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  color: #aab5c5; border-radius: 2px;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] { color: var(--navy-900); background: var(--gold-400); }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  background: #fff;
  padding: 34px 30px 30px;
  border-top: 2px solid var(--gold-500);
  box-shadow: 0 4px 18px rgba(15,27,45,.05);
  display: flex; flex-direction: column;
  transition: box-shadow .3s, transform .3s;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card__meta {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: .9rem;
}
.post-card h3 { font-size: 1.55rem; margin-bottom: .7rem; }
.post-card h3 a:hover { color: var(--navy-700); }
.post-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.post-card__link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-800);
}
.post-card__link:hover { color: var(--gold-500); }
.posts__more { text-align: center; margin: 56px 0 0; }

.page-hero p { color: #aab5c5; max-width: 640px; margin: 1rem 0 0; font-size: 1.05rem; }
.page-hero--post h1 { max-width: 860px; }
.page-hero--post .eyebrow { display: block; }
.page-hero__back {
  display: table; margin-bottom: 1.6rem;
  font-size: .8rem; color: #aab5c5;
}
.page-hero__back:hover { color: #fff; }

.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.9rem; margin-top: 2.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.4em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--navy-700); text-decoration: underline; }
.post-note {
  margin: 3rem 0 2.4rem;
  padding: 26px 30px;
  background: var(--bg-soft);
  border-left: 3px solid var(--gold-500);
  font-size: .95rem;
}
.post-note p:last-child { margin: 0; }
.prose .btn { text-decoration: none; color: #fff; }

/* ---------- Servicios: tarjetas con enlace ---------- */
a.service { display: flex; flex-direction: column; color: inherit; }
a.service p { flex: 1; }
.service__more {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.2rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-800);
  transition: color .2s, gap .2s;
}
a.service:hover .service__more { color: var(--gold-500); gap: .7rem; }
.service .service__more svg { width: 14px; height: 14px; margin: 0; stroke-width: 1.8; color: currentColor; }

/* ---------- Servicios: ficha de detalle ---------- */
.page-hero--service .page-hero__title { display: flex; align-items: center; gap: 22px; }
.page-hero__icon {
  flex: none; width: 72px; height: 72px;
  display: grid; place-items: center;
  border: 1px solid rgba(196,165,116,.5);
  color: var(--gold-400);
}
.page-hero__icon svg { width: 36px; height: 36px; stroke-width: 1.3; }
.page-hero--service .eyebrow { margin-bottom: .4rem; }

.service-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px;
  padding-top: 72px; padding-bottom: 110px;
  align-items: start;
}
.service-body > p:first-child { font-size: 1.15rem; color: var(--ink); }
.service-body h2 {
  font-size: 2rem; margin-top: 3rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.service-body h2:first-of-type { border-top: 0; padding-top: 0; }
.service-body h3 {
  font-size: 1.45rem; margin-top: 2.2rem;
  padding-left: 14px; border-left: 3px solid var(--gold-500);
}
.doc-label {
  margin: 1.4rem 0 .5rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-500);
}
.service-body ul li::marker { color: var(--gold-500); }
.service-body .post-note { margin-top: 2.6rem; }

.service-aside { position: sticky; top: 110px; display: grid; gap: 24px; }
.aside-card {
  background: #fff; border: 1px solid var(--line);
  padding: 28px 26px;
}
.aside-card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.aside-card p { color: var(--muted); font-size: .92rem; }
.aside-card--cta { background: var(--navy-900); border-color: var(--navy-900); }
.aside-card--cta h3 { color: #fff; }
.aside-card--cta p { color: #aab5c5; }
.aside-card__contact { display: flex; align-items: center; gap: 10px; margin: 0 0 .6rem; }
.aside-card__contact svg { width: 16px; height: 16px; color: var(--gold-400); flex: none; }
.aside-card--cta a:not(.btn) { color: #fff; }
.aside-card--cta .btn { width: 100%; justify-content: center; margin-top: 1rem; }
.aside-services { list-style: none; margin: 0; padding: 0; }
.aside-services a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; font-size: .92rem; color: var(--navy-800);
  border-bottom: 1px solid var(--line);
}
.aside-services li:last-child a { border-bottom: 0; }
.aside-services svg { width: 18px; height: 18px; color: var(--gold-500); stroke-width: 1.4; flex: none; }
.aside-services a:hover, .aside-services a[aria-current="page"] { color: var(--gold-500); }
.aside-services a[aria-current="page"] { font-weight: 600; }

/* ---------- Opiniones ---------- */
.stars {
  --rating: 5;
  display: inline-block;
  font-size: 1.4rem; letter-spacing: 3px; line-height: 1;
  background: linear-gradient(90deg, var(--gold-500) calc(var(--rating) / 5 * 100%), #d9dde4 0);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.rating {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px 32px;
  max-width: 820px; margin: 0 auto;
  padding: 34px 40px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold-500);
  box-shadow: var(--shadow);
}
.rating__score { font-family: var(--serif); font-size: 4rem; font-weight: 600; line-height: 1; color: var(--navy-900); }
.rating__count { display: flex; align-items: center; gap: 8px; margin: .5rem 0 0; color: var(--muted); font-size: .92rem; }
.rating__g { width: 18px; height: 18px; }
.rating__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.review { margin: 0; background: var(--bg-soft); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.review .stars { font-size: 1rem; }
.review blockquote { margin: 0; flex: 1; color: var(--ink); font-size: .95rem; }
.review figcaption { font-size: .85rem; font-weight: 600; color: var(--navy-900); display: flex; flex-direction: column; }
.review figcaption span { font-weight: 400; color: var(--muted); }
.reviews__source { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 18px; }

/* ---------- WhatsApp ---------- */
.whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 18px; border-radius: 28px;
  background: #25d366; color: #fff; text-decoration: none;
  font-weight: 600; font-size: .95rem;
  box-shadow: 0 10px 30px rgba(15,27,45,.25);
  transition: transform .2s, background .2s;
}
.whatsapp:hover { transform: translateY(-2px); background: #1ebe5b; color: #fff; }
.whatsapp svg { width: 26px; height: 26px; flex: none; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav.is-open { max-height: 480px; box-shadow: 0 12px 24px rgba(15,27,45,.08); }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; }
  .nav li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav li a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; justify-content: center; }
}

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .topbar .topbar__hours { display: none; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .about, .contact { grid-template-columns: 1fr; gap: 56px; }
  .about__visual { max-width: 620px; margin-right: 18px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .service-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .service-aside { position: static; }
  .reviews { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
  .topbar ul { gap: 16px; }
  .topbar .topbar__mail { display: none; }
  .header .container { min-height: 72px; }
  .brand__name { font-size: 1.05rem; }
  .brand__sub { font-size: .58rem; letter-spacing: .18em; }
  .brand__mark { width: 40px; height: 40px; font-size: 1rem; }
  .hero .container { padding-top: 90px; padding-bottom: 120px; }
  .services { grid-template-columns: 1fr; }
  .form { padding: 30px 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .transport { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .map { height: 320px; margin-top: 56px; }
  .page-hero__icon { width: 56px; height: 56px; }
  .page-hero__icon svg { width: 28px; height: 28px; }
  .rating { padding: 28px 22px; }
  .whatsapp { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center; }
  .whatsapp__label { display: none; }
}
