:root {
  --ink: #17231d;
  --muted: #667168;
  --paper: #fbfaf7;
  --soft: #f1ede5;
  --line: #ded7cc;
  --forest: #1f4938;
  --sage: #8fa08f;
  --copper: #b37a48;
  --stone: #d8d0c3;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 35, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.modal-open {
  overflow: hidden;
}

.holiday-notice {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 10px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: var(--copper);
  box-shadow: 0 8px 24px rgba(18, 31, 25, 0.18);
  text-align: center;
}

.holiday-notice[hidden] {
  display: none;
}

.holiday-notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.holiday-notice p > strong:first-child {
  margin-right: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.holiday-greeting {
  margin-left: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.holiday-notice-active .site-header {
  top: var(--holiday-notice-height, 44px);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 24, 20, 0.72), rgba(15, 24, 20, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 150px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 120px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.nav a:hover,
.header-cta:hover {
  color: var(--white);
}

.header-cta {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: max(92vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #16221d;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-hds-seo.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 21, 17, 0.84), rgba(12, 21, 17, 0.38) 48%, rgba(12, 21, 17, 0.12)),
    linear-gradient(0deg, rgba(12, 21, 17, 0.64), rgba(12, 21, 17, 0.04) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 40px));
  margin: 0 0 clamp(44px, 10vh, 96px) clamp(20px, 7vw, 96px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.cta h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button.primary.dark {
  background: var(--forest);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}


.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1fr;
  gap: clamp(30px, 6vw, 86px);
  align-items: end;
}

.intro h2,
.section-heading h2,
.benefits h2,
.form-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 500;
}

.intro p,
.form-copy p,
.cta p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.before-after-band {
  background: var(--soft);
}

.compare-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

.compare-story {
  display: grid;
  grid-template-columns: minmax(210px, 0.36fr) minmax(0, 1fr);
  column-gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: 0;
}

.compare-story h3 {
  max-width: 520px;
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1.12;
}

.compare-story .section-kicker {
  grid-row: 1 / span 2;
}

.compare-story p:not(.section-kicker),
.before-after-copy h3 {
  color: var(--muted);
}

.before-after-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 22px 64px rgba(23, 35, 29, 0.1);
}

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

.before-after-compare {
  position: relative;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ink);
}

.compare-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--ink);
}

.compare-after {
  position: absolute;
  inset: 0;
  width: var(--compare-position);
  overflow: hidden;
  border-right: 2px solid rgba(255, 255, 255, 0.92);
}

.compare-after .compare-image {
  width: calc(100% / (var(--compare-position-num, 0.52)));
  max-width: none;
}

.compare-label {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 8px 11px;
  background: rgba(15, 24, 20, 0.66);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-label.before {
  right: 16px;
}

.compare-label.after {
  left: 16px;
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: var(--compare-position);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: rgba(15, 24, 20, 0.62);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.compare-handle::before,
.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--white);
  border-left: 2px solid var(--white);
}

.compare-handle::before {
  left: 12px;
  transform: translateY(-50%) rotate(-45deg);
}

.compare-handle::after {
  right: 12px;
  transform: translateY(-50%) rotate(135deg);
}

.before-after-copy {
  padding: 18px;
}

.before-after-copy p {
  margin: 0 0 6px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.before-after-copy h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  margin-bottom: 34px;
}

.service-grid,
.project-grid,
.benefit-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-grid article {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.service-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 800;
}

.service-link:hover {
  color: var(--copper);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 46px;
  background: var(--soft);
  color: var(--forest);
  font-size: 13px;
  font-weight: 900;
}

h3 {
  margin: 0 0 10px;
  line-height: 1.22;
  font-size: 20px;
}

article p,
.benefit-grid p,
.method-list p {
  margin: 0;
  color: var(--muted);
}

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

.method .section-kicker {
  color: #d1a271;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.18);
}

.method-list li {
  display: grid;
  align-content: start;
  gap: 42px;
  min-height: 270px;
  padding: 28px;
  background: var(--ink);
}

.method-list span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #d1a271;
  font-weight: 900;
}

.method-list p {
  color: rgba(255, 255, 255, 0.68);
}

.project-grid {
  grid-template-columns: repeat(3, 1fr);
}

.horizontal-scroll-hint {
  display: none;
}

.projects-intro {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 73, 56, 0.3);
  box-shadow: 0 18px 46px rgba(23, 35, 29, 0.1);
}

.project-grid article p,
.project-grid article h3 {
  padding-inline: 22px;
}

.project-grid article p {
  margin: 22px 0 6px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-grid article h3 {
  margin-bottom: 26px;
}

.project-visual {
  position: relative;
  display: block;
  width: 100%;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--soft);
  color: var(--white);
  cursor: pointer;
}

.project-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 24, 20, 0.56), rgba(15, 24, 20, 0.02) 56%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.project-visual span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(15, 24, 20, 0.56);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-visual:hover img,
.project-visual:focus-visible img {
  transform: scale(1.04);
}

.project-visual:hover::after,
.project-visual:focus-visible::after,
.project-visual:hover span,
.project-visual:focus-visible span {
  opacity: 1;
}

.project-visual:hover span,
.project-visual:focus-visible span {
  transform: translateY(0);
}

.project-visual:focus-visible {
  outline: 3px solid rgba(179, 122, 72, 0.9);
  outline-offset: 4px;
}

.project-visual-focus-hds img {
  object-position: 52% 45%;
}

.benefits-band {
  background: var(--soft);
}

.benefits {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 88px);
}

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

.benefit-grid div {
  padding: 26px 0;
  border-top: 1px solid #cfc7b8;
}

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: clamp(70px, 9vw, 110px) auto;
  padding: clamp(34px, 5vw, 56px);
  color: var(--white);
  background: var(--forest);
}

.cta .section-kicker,
.cta p {
  color: rgba(255, 255, 255, 0.76);
}

.cta h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
}

.form-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  padding-top: 30px;
}

.form-copy {
  position: sticky;
  top: 110px;
}

.form-copy ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.form-copy li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.estimate-form {
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.field.two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #34423a;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfc7b8;
  background: #fffdfa;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 13px 14px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(31, 73, 56, 0.12);
}

.upload {
  padding: 18px;
  border: 1px dashed #bdb4a8;
  background: #fbf8f2;
}

.upload span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.captcha-field {
  padding: 18px;
  border: 1px solid var(--line);
  background: #fbf8f2;
}

.captcha-question {
  color: var(--forest);
  font-size: 16px;
  font-weight: 900;
}

.privacy {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.privacy input {
  width: 18px;
  margin-top: 4px;
}

.submit-button {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--forest);
  font-weight: 800;
}

.form-status.error {
  color: #9b332d;
}

.button.compact {
  min-height: 44px;
  padding: 12px 18px;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(760px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid rgba(214, 203, 190, 0.95);
  background: #fbfaf7;
  box-shadow: 0 22px 60px rgba(18, 31, 25, 0.18);
}


.cookie-banner[hidden] {
  display: none;
}

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

.cookie-title {
  margin-bottom: 6px !important;
  color: var(--ink) !important;
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-actions .secondary {
  border-color: rgba(18, 31, 25, 0.24);
  color: var(--ink);
  background: transparent;
}

.cookie-actions .secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 44px);
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 13, 0.82);
}

.gallery-panel {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(1040px, 100%);
  max-height: calc(100vh - 40px);
  padding: clamp(18px, 3vw, 28px);
  overflow: auto;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.gallery-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.gallery-header .section-kicker {
  margin-bottom: 8px;
}

.gallery-header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.1;
}

.gallery-close,
.gallery-button {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.gallery-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 1;
}

.gallery-stage {
  display: grid;
  gap: 12px;
  margin: 0;
}

.gallery-stage img {
  display: block;
  width: 100%;
  max-height: min(68vh, 720px);
  object-fit: contain;
  background: var(--soft);
}

.gallery-stage figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.gallery-stage figcaption p {
  margin: 0;
}

.gallery-stage-label {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.gallery-button {
  width: 44px;
  height: 44px;
  font-size: 28px;
}

.gallery-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.gallery-controls span {
  min-width: 58px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
  font-size: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 520px;
}

.footer-logo {
  display: block;
  width: auto;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer p {
  margin: 0;
}

.footer strong,
.footer-claim,
.footer a {
  color: var(--white);
}

.footer-claim {
  margin-bottom: 4px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.footer-links,
.footer-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact {
  justify-content: flex-end;
}

.mobile-shortcuts {
  display: none;
}

body.modal-open .mobile-shortcuts {
  display: none;
}

/* Pagine locali: ristrutturazioni e interior design nell'Alto Garda */
.seo-local-hero {
  min-height: max(100vh, 780px);
}

.seo-landing .site-header {
  padding-block: 12px;
  background: rgba(23, 35, 29, 0.92);
  box-shadow: 0 8px 28px rgba(12, 21, 17, 0.18);
  backdrop-filter: blur(12px);
}

.seo-landing .brand-logo {
  height: 86px;
}

.seo-local-hero .hero-media {
  background-image: url("assets/projects/galleries/appartamento-riva-centro/04-dopo-cover-emotional.jpg");
  background-position: center 58%;
}

.seo-arco .seo-local-hero .hero-media {
  background-image: url("assets/projects/galleries/locale-arco/06-dopo-sala.jpg");
  background-position: center 58%;
}

.seo-torbole .seo-local-hero .hero-media {
  background-image: url("assets/projects/attico-riva-emotional.jpg");
  background-position: center 55%;
}

.seo-chiavi .seo-local-hero .hero-media {
  background-color: #17231d;
  background-image: url("assets/projects/varignano-render.jpg");
  background-position: center 44%;
}

.seo-interior .seo-local-hero .hero-media {
  background-image: url("assets/projects/attico-riva-emotional.jpg");
  background-position: center 55%;
}

.seo-cucine .seo-local-hero .hero-media {
  background-image: url("assets/projects/cucina-su-misura.jpg");
  background-position: center 55%;
}

.seo-bagni .seo-local-hero .hero-media {
  background-image: url("assets/projects/prima-dopo/angelini-bagno-dopo.jpg");
  background-position: center 52%;
}

.seo-local-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 21, 17, 0.9), rgba(12, 21, 17, 0.48) 56%, rgba(12, 21, 17, 0.18)),
    linear-gradient(0deg, rgba(12, 21, 17, 0.68), rgba(12, 21, 17, 0.08) 50%);
}

.seo-local-hero .hero-content {
  width: min(900px, calc(100% - 40px));
}

.seo-local-hero h1 {
  max-width: 900px;
  font-size: clamp(40px, 5.2vw, 68px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

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

.seo-intro,
.seo-local-copy {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.seo-intro h2,
.seo-local-copy h2,
.seo-faq h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 500;
  line-height: 1.08;
}

.seo-prose {
  display: grid;
  gap: 20px;
}

.seo-prose p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.seo-band {
  background: var(--soft);
}

.seo-service-grid,
.seo-project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.seo-service-grid article {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.seo-service-grid article p {
  color: var(--muted);
}

.seo-project-grid {
  grid-template-columns: repeat(3, 1fr);
}

.seo-project-grid .project-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.location-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
}

.location-card p {
  color: var(--muted);
}

.location-card .service-link {
  margin-top: auto;
  padding-top: 18px;
}

.seo-center-link {
  margin: 28px 0 0;
  text-align: center;
}

.seo-center-link a {
  color: var(--forest);
  font-weight: 800;
}

.seo-center-link a:hover {
  color: var(--copper);
}

.seo-faq .section-heading {
  align-items: end;
}

.faq-list {
  border-top: 1px solid #cfc7b8;
}

.faq-list details {
  border-bottom: 1px solid #cfc7b8;
}

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
}

.faq-list summary::marker {
  color: var(--copper);
}

.faq-list details p {
  max-width: 820px;
  margin: -4px 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.seo-cta-actions {
  display: grid;
  gap: 12px;
  flex: 0 0 auto;
  text-align: center;
}

.seo-phone {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.seo-phone:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .seo-intro,
  .seo-local-copy {
    grid-template-columns: 1fr;
  }

  .seo-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-project-grid {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .seo-local-hero {
    min-height: 88vh;
  }

  .seo-local-hero .hero-content {
    margin-bottom: 76px;
  }

  .seo-local-hero h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .seo-service-grid {
    grid-template-columns: 1fr;
  }

  .seo-service-grid article {
    min-height: 0;
  }

  .seo-cta-actions {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: max(86vh, 760px);
  }

  .hero-content {
    margin: 0 auto 42px;
  }

  .intro,
  .section-heading,
  .compare-layout,
  .compare-story,
  .benefits,
  .form-section {
    grid-template-columns: 1fr;
  }

  .compare-story .section-kicker {
    grid-row: auto;
  }

  .service-grid,
  .method-list,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .form-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }

  .site-header {
    padding: 14px 18px;
  }

  .holiday-notice {
    padding: 9px 16px;
  }

  .holiday-notice p {
    font-size: 12px;
    line-height: 1.4;
  }

  .holiday-notice p > strong:first-child {
    display: block;
    margin: 0 0 2px;
  }

  .holiday-greeting {
    display: block;
    margin: 3px 0 0;
  }

  .mobile-shortcuts.is-visible {
    position: fixed;
    right: 16px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    left: 16px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(18, 31, 25, 0.94);
    box-shadow: 0 16px 42px rgba(10, 20, 15, 0.3);
    backdrop-filter: blur(14px);
  }

  .mobile-shortcuts a {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 11px;
    color: var(--white);
    font-size: 14px;
    font-weight: 850;
    letter-spacing: 0.02em;
  }

  .mobile-shortcuts a:active,
  .mobile-shortcuts a:focus-visible {
    background: rgba(255, 255, 255, 0.12);
  }

  .mobile-shortcuts a span {
    color: #d1a271;
    font-size: 18px;
    line-height: 1;
  }

  .mobile-shortcuts-contact {
    background: var(--copper);
  }

  .brand {
    min-width: 120px;
  }

  .brand-logo {
    height: 90px;
  }

  .hero {
    min-height: 780px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    width: min(100% - 32px, 1180px);
  }

  .before-after-compare {
    min-height: 0;
  }

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

  .compare-label {
    top: 12px;
    font-size: 11px;
  }

  .compare-label.before {
    right: 12px;
  }

  .compare-label.after {
    left: 12px;
  }

  .compare-handle {
    width: 40px;
    height: 40px;
  }

  .service-grid,
  .method-list,
  .project-grid,
  .benefit-grid,
  .field.two {
    grid-template-columns: 1fr;
  }

  .horizontal-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: -10px 0 12px;
    color: var(--copper);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .horizontal-scroll-hint span {
    font-size: 20px;
    line-height: 1;
  }

  .compare-grid,
  .project-grid {
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 360px);
    grid-template-columns: none;
    align-items: stretch;
    gap: 14px;
    margin-inline: -2px;
    padding: 2px 2px 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 2px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--copper) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .compare-grid > *,
  .project-grid > * {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .compare-grid::-webkit-scrollbar,
  .project-grid::-webkit-scrollbar {
    height: 5px;
  }

  .compare-grid::-webkit-scrollbar-thumb,
  .project-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--copper);
  }

  .service-grid article,
  .method-list li {
    min-height: 0;
  }

  .cta {
    width: calc(100% - 32px);
    flex-direction: column;
    align-items: stretch;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-logo {
    height: 40px;
  }

  .footer-links,
  .footer-contact {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .cookie-banner {
    right: 16px;
    bottom: 86px;
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
  }

  .cookie-actions {
    justify-content: flex-start;
  }

  .project-visual span {
    opacity: 1;
    transform: none;
  }

  .gallery-panel {
    max-height: calc(100vh - 24px);
  }

  .gallery-close,
  .gallery-button {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 520px) {
  .compare-grid {
    grid-template-columns: none;
  }
}
