:root {
  --ink: #0b1d30;
  --ink-2: #16324d;
  --blue: #1e4f73;
  --gold: #c88a35;
  --gold-2: #e8bd78;
  --cream: #f6f2ea;
  --paper: #fffdf9;
  --white: #ffffff;
  --line: #dfe5ea;
  --muted: #5b6876;
  --muted-light: #aab6c1;
  --success: #257459;
  --shadow-sm: 0 12px 30px rgba(11, 29, 48, 0.08);
  --shadow-lg: 0 30px 80px rgba(11, 29, 48, 0.16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(200, 138, 53, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

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

.section--dark {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(232, 189, 120, 0.13), transparent 28%),
    linear-gradient(145deg, #091b2c, #112e48 65%, #173c59);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  content: "";
  background: var(--gold);
}

.section--dark .eyebrow,
.cta-band .eyebrow {
  color: var(--gold-2);
}

.display,
.section-title,
.page-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.display {
  max-width: 760px;
  font-size: clamp(46px, 6.2vw, 80px);
}

.section-title {
  max-width: 820px;
  font-size: clamp(34px, 4.6vw, 58px);
}

.page-title {
  max-width: 900px;
  font-size: clamp(42px, 5.6vw, 72px);
}

.lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

.section--dark .lead {
  color: #cbd6df;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
}

.section--dark .section-heading > p {
  color: #c9d5df;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 15px 34px rgba(11, 29, 48, 0.22);
}

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

.btn--gold {
  color: var(--ink);
  background: var(--gold-2);
  box-shadow: 0 15px 34px rgba(200, 138, 53, 0.22);
}

.btn--gold:hover {
  background: #f2ca89;
}

.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: var(--white);
  border-color: #bfcbd5;
}

.btn--white {
  color: var(--ink);
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.text-link::after {
  content: "\2192";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(223, 229, 234, 0.88);
  background: rgba(255, 253, 249, 0.93);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: block;
  width: 238px;
  height: 66px;
  background: transparent url("../logo-studio-tecnico-dandrea.png") no-repeat center / contain;
}

.brand-mark svg {
  display: none;
}

.brand-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-copy small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav a {
  color: #354453;
  font-size: 13px;
  font-weight: 750;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 70px;
  background:
    radial-gradient(circle at 10% 5%, rgba(200, 138, 53, 0.12), transparent 23%),
    linear-gradient(180deg, var(--paper), #f7fafb);
}

.hero::after {
  position: absolute;
  z-index: 0;
  right: -140px;
  bottom: -230px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(30, 79, 115, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(30, 79, 115, 0.025), 0 0 0 96px rgba(30, 79, 115, 0.02);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  align-items: center;
  gap: 72px;
}

.hero-copy strong.accent {
  color: var(--blue);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.trust-row span,
.trust-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row span::before,
.trust-row a::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.trust-row a {
  color: var(--blue);
}

.trust-row a:hover {
  color: var(--gold);
}

.hero-visual {
  position: relative;
  min-height: 590px;
}

.hero-photo {
  position: absolute;
  inset: 0 0 52px 38px;
  overflow: hidden;
  background: var(--cream);
  border-radius: 180px 28px 28px 28px;
  box-shadow: var(--shadow-lg);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.03);
}

.hero-note {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(92%, 390px);
  padding: 25px 27px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.hero-note small {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-note strong {
  display: block;
  margin-top: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.22;
}

.hero-note p {
  margin: 10px 0 0;
  color: #c9d5df;
  font-size: 14px;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.intent-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.intent-card:hover {
  transform: translateY(-5px);
  border-color: #b9c6d0;
  box-shadow: var(--shadow-lg);
}

.intent-number {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-style: italic;
}

.intent-card h3 {
  margin: 26px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
}

.intent-card p {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.intent-card .text-link {
  margin-top: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  min-height: 308px;
  flex-direction: column;
  padding: 30px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  transition: transform 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.085);
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--ink);
  background: var(--gold-2);
  border-radius: 16px;
}

.service-icon svg {
  width: 27px;
  height: 27px;
}

.service-card h3 {
  margin: 25px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.18;
}

.service-card p {
  margin: 13px 0 24px;
  color: #c9d5df;
  font-size: 14px;
}

.service-card .text-link {
  margin-top: auto;
  color: var(--gold-2);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  gap: 54px;
}

.profile-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--ink);
  border-radius: 30px 30px 180px 30px;
}

.profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-stamp {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 20px 22px;
  color: var(--white);
  background: rgba(11, 29, 48, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(9px);
}

.profile-stamp strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.profile-stamp span {
  display: block;
  margin-top: 5px;
  color: #cbd6df;
  font-size: 13px;
}

.profile-content {
  align-self: center;
}

.profile-content > p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.credential {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.credential strong {
  display: block;
  font-size: 14px;
}

.credential span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.media-section {
  background:
    radial-gradient(circle at 8% 90%, rgba(30, 79, 115, 0.08), transparent 28%),
    var(--paper);
}

.media-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.media-feature__brand {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(232, 189, 120, 0.17), transparent 36%),
    linear-gradient(145deg, #091b2c, #173c59);
}

.media-feature__brand span,
.media-kicker {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.media-feature__brand strong {
  margin-top: 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 74px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.media-feature__brand small {
  margin-top: 24px;
  color: #c5d2dc;
  font-size: 13px;
}

.media-feature__content {
  align-self: center;
  padding: 48px 54px;
}

.media-feature__content h3 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.media-feature__content p {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.media-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 23px;
  margin-top: 29px;
}

.media-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.media-highlight {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.media-highlight:hover {
  border-color: rgba(200, 138, 53, 0.55);
  box-shadow: 0 18px 38px rgba(11, 29, 48, 0.11);
  transform: translateY(-3px);
}

.media-highlight small {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-highlight strong {
  margin-top: 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 600;
}

.media-highlight span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.reviews-heading {
  align-items: center;
}

.google-rating {
  display: flex;
  min-width: 280px;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.google-rating > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.google-rating div {
  display: grid;
  gap: 4px;
}

.google-rating div > span:last-child {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.review-stars {
  color: var(--gold);
  font-size: 17px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  margin: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.review-card blockquote {
  position: relative;
  margin: 28px 0 26px;
  color: var(--ink-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.5;
}

.review-card blockquote::before {
  position: absolute;
  top: -31px;
  left: -3px;
  color: rgba(200, 138, 53, 0.24);
  content: "\201C";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  line-height: 1;
}

.review-card figcaption {
  display: grid;
  gap: 3px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.review-card figcaption strong {
  font-size: 14px;
}

.review-card figcaption span {
  color: var(--muted);
  font-size: 12px;
}

.reviews-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
}

.reviews-footer p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.process-step {
  position: relative;
  padding: 38px 28px 0 0;
}

.process-step::before {
  position: absolute;
  top: -7px;
  left: 0;
  width: 13px;
  height: 13px;
  content: "";
  background: var(--gold-2);
  border: 4px solid var(--ink-2);
  border-radius: 50%;
}

.process-step small {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process-step h3 {
  margin: 13px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 600;
}

.process-step p {
  margin: 10px 0 0;
  color: #c9d5df;
  font-size: 14px;
}

.online-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.68fr);
  align-items: center;
  gap: 50px;
  padding: 52px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(11, 29, 48, 0.94), rgba(22, 50, 77, 0.93)),
    url("../dettagli-tecnici.webp") center/cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.online-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.7vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.online-card p {
  margin: 20px 0 0;
  color: #d3dde5;
}

.online-points {
  display: grid;
  gap: 12px;
}

.online-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}

.online-point::before {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  content: "\2713";
  color: var(--ink);
  background: var(--gold-2);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  max-width: 900px;
  gap: 12px;
  margin-top: 42px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 0;
  padding: 0 22px 21px;
  color: var(--muted);
  font-size: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: 30px;
}

.contact-panel,
.form-panel {
  padding: 38px;
  border-radius: var(--radius-md);
}

.contact-panel {
  color: var(--white);
  background: var(--ink);
}

.contact-panel h2,
.form-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.08;
}

.contact-panel > p {
  margin: 18px 0 0;
  color: #c9d5df;
}

.contact-list {
  display: grid;
  gap: 11px;
  margin-top: 30px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
}

.contact-link svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--gold-2);
}

.contact-link small {
  display: block;
  color: #9fb0be;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-link strong,
.contact-link span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.form-panel > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field label {
  display: block;
  margin: 0 0 7px;
  font-size: 12px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid #cfd8df;
  border-radius: 12px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30, 79, 115, 0.09);
}

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

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
}

.consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-top: 2px;
}

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

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  padding: 10px 12px;
  color: var(--muted);
  background: #f5f7f8;
  border-radius: 10px;
  font-size: 12px;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="success"] {
  color: #15543f;
  background: #eaf7f1;
}

.form-status[data-state="error"] {
  color: #8b2e2e;
  background: #fff0f0;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  color: #c7d2dc;
  background: #071421;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 50px;
  padding: 64px 0 42px;
}

.footer-brand .brand-mark {
  width: 280px;
  height: 104px;
  background-color: var(--white);
  background-size: calc(100% - 24px) auto;
  border-radius: 16px;
}

.footer-brand .brand-copy small {
  color: #8fa0af;
}

.footer-brand .brand-copy strong {
  color: var(--white);
}

.footer-brand > p {
  max-width: 390px;
  margin: 20px 0 0;
  color: #93a4b3;
  font-size: 13px;
}

.footer-col h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  margin: 9px 0;
  color: #aebbc6;
  font-size: 13px;
}

.footer-col a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 28px;
  color: #7f919f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

.footer-bottom a {
  text-decoration: underline;
}

.cookie-notice {
  position: fixed;
  z-index: 3000;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: min(calc(100% - 44px), 460px);
  gap: 14px;
  padding: 20px;
  color: var(--white);
  background: #071421;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.cookie-notice h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.cookie-notice p {
  margin: 0;
  color: #c7d2dc;
  font-size: 12px;
}

.cookie-notice a {
  color: var(--gold-2);
  text-decoration: underline;
}

.cookie-notice__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.cookie-notice__actions .btn {
  min-height: 42px;
  padding: 10px 17px;
}

.mobile-cta {
  position: fixed;
  z-index: 990;
  right: 16px;
  bottom: 16px;
  display: none;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--white);
  background: #178b57;
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 14px 35px rgba(11, 29, 48, 0.25);
}

.mobile-cta svg {
  width: 27px;
  height: 27px;
}

/* Inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 78px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(232, 189, 120, 0.17), transparent 26%),
    linear-gradient(145deg, #091b2c, #173c59);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
  color: #acbdca;
  font-size: 12px;
}

.breadcrumbs a:hover {
  color: var(--gold-2);
}

.page-hero .lead {
  color: #d2dde5;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 64px;
}

.prose h2 {
  margin: 46px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li {
  margin: 8px 0;
}

.prose .notice {
  margin: 30px 0;
  padding: 22px 24px;
  color: var(--ink);
  background: #f8efe0;
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
}

.prose .notice p {
  margin: 0;
  color: inherit;
}

.sidebar-card {
  position: sticky;
  top: 110px;
  padding: 26px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.sidebar-card small {
  color: var(--gold-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sidebar-card h2 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.12;
}

.sidebar-card p {
  margin: 14px 0 20px;
  color: #c8d4de;
  font-size: 13px;
}

.sidebar-card .btn {
  width: 100%;
}

.sidebar-card .mini-contact {
  display: block;
  margin-top: 14px;
  color: #c8d4de;
  font-size: 12px;
  text-align: center;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.feature-box {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.feature-box strong {
  display: block;
  font-size: 14px;
}

.feature-box span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.media-intro {
  max-width: 790px;
  margin: 0 auto 52px;
  text-align: center;
}

.media-intro p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.media-timeline {
  display: grid;
  gap: 18px;
}

.media-entry {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 30px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 120px;
}

.media-entry__meta {
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.media-entry__meta strong {
  display: block;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.media-entry__meta span {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-entry__content h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.15;
}

.media-entry__content p {
  margin: 13px 0 0;
  color: var(--muted);
}

.media-entry__links {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 19px;
}

.media-source-note {
  margin-top: 28px;
  padding: 22px 24px;
  color: var(--muted);
  background: #f8efe0;
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  font-size: 13px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 42px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-lg);
}

.cta-band h2 {
  max-width: 650px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.1;
}

.appointment-band {
  margin-top: 54px;
}

.appointment-band__copy > p:last-child {
  max-width: 650px;
  margin: 13px 0 0;
  color: #c9d5df;
}

.appointment-band > .btn {
  flex: 0 0 auto;
}

.legal h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
}

.legal h2 {
  margin: 34px 0 10px;
  font-size: 22px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.error-page {
  display: grid;
  min-height: 72vh;
  place-items: center;
  padding: 60px 20px;
  text-align: center;
}

.error-page strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 90px;
  line-height: 1;
}

.error-page h1 {
  margin: 16px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
}

.error-page p {
  max-width: 560px;
  color: var(--muted);
}

.error-page .hero-actions {
  justify-content: center;
}

@media (max-width: 1080px) {
  .brand-mark {
    width: 208px;
  }

  .desktop-nav {
    gap: 16px;
  }

  .desktop-nav a:nth-last-child(-n+2) {
    display: none;
  }

  .hero-grid {
    gap: 42px;
  }

  .intent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-grid {
    gap: 36px;
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
  }

  .online-card {
    grid-template-columns: 1fr;
  }

  .media-feature__content {
    padding: 42px;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 76px 0;
  }

  .desktop-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    z-index: 999;
    inset: 88px 0 auto;
    display: grid;
    gap: 3px;
    max-height: calc(100vh - 88px);
    padding: 18px 20px 26px;
    overflow-y: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .mobile-menu[data-open="true"] {
    transform: translateY(0);
    visibility: visible;
  }

  .mobile-menu a:not(.btn) {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    font-weight: 750;
  }

  .mobile-menu .btn {
    margin-top: 12px;
  }

  .hero {
    padding: 60px 0 54px;
  }

  .hero-grid,
  .profile-grid,
  .contact-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .media-feature {
    grid-template-columns: 1fr;
  }

  .media-feature__brand {
    min-height: auto;
    padding: 38px 42px;
  }

  .media-highlights {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-photo {
    inset: 0 28px 44px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 18px;
  }

  .google-rating {
    width: fit-content;
    margin-top: 26px;
  }

  .profile-media {
    min-height: 520px;
  }

  .contact-grid {
    gap: 18px;
  }

  .sidebar-card {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .mobile-cta {
    display: grid;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--max));
  }

  .section {
    padding: 62px 0;
  }

  .header-inner {
    min-height: 76px;
  }

  .mobile-menu {
    inset: 76px 0 auto;
    max-height: calc(100vh - 76px);
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .brand-mark {
    width: 188px;
    height: 58px;
  }

  .display {
    font-size: clamp(41px, 13vw, 58px);
  }

  .page-title {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-actions,
  .page-actions {
    display: grid;
  }

  .hero-actions .btn,
  .page-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-photo {
    inset: 0 14px 48px 0;
    border-radius: 115px 22px 22px 22px;
  }

  .hero-note {
    padding: 19px 20px;
  }

  .hero-note strong {
    font-size: 20px;
  }

  .intent-grid,
  .services-grid,
  .reviews-grid,
  .credentials,
  .feature-list,
  .form-row,
  .process {
    grid-template-columns: 1fr;
  }

  .media-feature__brand,
  .media-feature__content {
    padding: 30px 24px;
  }

  .media-actions {
    display: grid;
  }

  .media-actions .btn {
    width: 100%;
  }

  .media-entry {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px 22px;
  }

  .media-entry__meta {
    padding: 0 0 17px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .review-card {
    min-height: auto;
  }

  .reviews-footer {
    display: grid;
  }

  .reviews-footer .btn {
    width: 100%;
  }

  .intent-card,
  .service-card {
    min-height: auto;
  }

  .process {
    gap: 28px;
    border-top: 0;
  }

  .process-step {
    padding: 0 0 0 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .process-step::before {
    top: 4px;
    left: -7px;
  }

  .profile-media {
    min-height: 430px;
    border-radius: 24px 24px 110px 24px;
  }

  .online-card,
  .contact-panel,
  .form-panel,
  .cta-band {
    padding: 28px 22px;
  }

  .cta-band {
    display: grid;
  }

  .contact-link strong,
  .contact-link span {
    font-size: 12px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }

  .footer-brand .brand-mark {
    width: min(100%, 280px);
  }

  .cookie-notice {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }

  .cookie-notice__actions {
    display: grid;
    justify-content: stretch;
  }

  .cookie-notice__actions .btn {
    width: 100%;
  }

  .page-hero {
    padding: 64px 0 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
