:root {
  --bg: #fffaf2;
  --surface: #fffdf8;
  --surface-strong: #f7efe3;
  --ink: #391516;
  --muted: #6f625b;
  --primary: #6d2427;
  --primary-strong: #4f171a;
  --primary-deep: #370f11;
  --accent: #b88a3a;
  --accent-deep: #8a6425;
  --accent-soft: #ead8b3;
  --border: #e7dccd;
  --border-strong: #d9c7a5;
  --white: #ffffff;

  /* elevation */
  --shadow-sm: 0 3px 10px rgba(57, 21, 22, 0.06);
  --shadow-md: 0 16px 36px rgba(57, 21, 22, 0.1);
  --shadow-lg: 0 30px 70px rgba(57, 21, 22, 0.15);
  --shadow-gold: 0 14px 30px rgba(184, 138, 58, 0.22);
  --shadow: var(--shadow-md);

  /* radius scale — deliberately not uniform */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* fluid spacing scale */
  --space-3xs: clamp(0.4rem, 0.36rem + 0.18vw, 0.55rem);
  --space-2xs: clamp(0.55rem, 0.48rem + 0.3vw, 0.85rem);
  --space-xs: clamp(0.8rem, 0.7rem + 0.4vw, 1.1rem);
  --space-sm: clamp(1.05rem, 0.92rem + 0.55vw, 1.6rem);
  --space-md: clamp(1.6rem, 1.35rem + 1.1vw, 2.4rem);
  --space-lg: clamp(2.3rem, 1.8rem + 2.2vw, 3.75rem);
  --space-xl: clamp(3.1rem, 2.2rem + 3.8vw, 5.75rem);
  --space-2xl: clamp(4rem, 2.9rem + 4.8vw, 7.5rem);

  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 220ms;
  --dur-med: 480ms;
  --dur-slow: 720ms;

  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

p {
  margin: 0 0 1rem;
}

[id] {
  scroll-margin-top: 92px;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xs);
  transition: top var(--dur-fast) var(--ease-premium);
}

.skip-link:focus {
  top: 1rem;
}

/* ============ Header / nav ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 250, 242, 0.86);
  border-bottom: 1px solid rgba(231, 220, 205, 0.7);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  transition: box-shadow var(--dur-med) var(--ease-premium), border-color var(--dur-med) var(--ease-premium);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 12px 28px rgba(57, 21, 22, 0.07);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
}

.brand-logo {
  width: clamp(142px, 42vw, 188px);
  height: auto;
  transition: width var(--dur-med) var(--ease-premium);
}

.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.72rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--surface);
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}

.nav-toggle:hover {
  border-color: var(--accent);
}

.nav-menu {
  position: fixed;
  inset: 64px 1rem auto 1rem;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.nav-menu.is-open {
  display: flex;
}

.nav-menu a {
  padding: 0.78rem 0.85rem;
  border-radius: var(--radius-xs);
  color: var(--muted);
  font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-menu a[aria-current="page"] {
  color: var(--primary);
  background: #fbf3e8;
}

.nav-menu a.button-primary,
.nav-menu a.button-primary:hover,
.nav-menu a.button-primary:focus {
  color: var(--white);
  background: var(--primary);
}

.nav-menu a.button-primary:hover,
.nav-menu a.button-primary:focus {
  background: var(--primary-strong);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.language-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  min-height: 40px;
}

.language-switch a {
  padding: 0.55rem 0.85rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}

.language-switch a[aria-current="true"] {
  color: var(--white);
  background: var(--primary);
}

/* desktop nav underline micro-interaction */
@media (min-width: 720px) {
  .nav-menu > a {
    position: relative;
    padding-bottom: 0.4rem;
  }

  .nav-menu > a::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.28rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-fast) var(--ease-premium);
  }

  .nav-menu > a:hover::after,
  .nav-menu > a:focus-visible::after,
  .nav-menu > a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .nav-menu > a[aria-current="page"] {
    background: none;
    color: var(--primary);
  }
}

/* ============ Buttons ============ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-premium), box-shadow var(--dur-fast) var(--ease-premium),
    background var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}

.button-primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(109, 36, 39, 0.2);
}

.button-primary::after {
  content: "\2192";
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease-premium);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(180deg, var(--primary-strong) 0%, var(--primary-deep) 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(109, 36, 39, 0.26);
}

.button-primary:hover::after,
.button-primary:focus-visible::after {
  transform: translateX(3px);
}

.button-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-strong);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent);
  background: rgba(184, 138, 58, 0.07);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .button-primary,
  .button-secondary,
  .button-primary::after {
    transition: none;
  }

  .button-primary:hover,
  .button-secondary:hover {
    transform: none;
  }
}

/* ============ Typography ============ */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: 0 0 26px;
  background: var(--accent);
  border-radius: 2px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--primary-strong);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 560;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.2rem, 1.55rem + 3.4vw, 4.4rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.7rem, 1.42rem + 1.6vw, 2.7rem);
}

h3 {
  font-size: clamp(1.12rem, 1.06rem + 0.35vw, 1.3rem);
  font-weight: 600;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.14rem);
  line-height: 1.65;
  max-width: 62ch;
}

.hero .lead {
  margin-top: 1rem;
}

/* ============ Hero ============ */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-lg) 1rem var(--space-md);
  display: grid;
  gap: var(--space-md);
}

.hero-actions {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 1.2rem;
}

.trust-strip {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.94rem;
}

.trust-item::before,
.check-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-media {
  position: relative;
  isolation: isolate;
}

.hero-media picture {
  display: block;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 16px -14px -16px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  transform: rotate(1.1deg);
  z-index: -1;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.hero-note {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.93rem;
}

@media (prefers-reduced-motion: no-preference) {
  html.js .hero-media {
    animation: none;
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ Sections / layout ============ */

.section {
  padding: var(--space-xl) 1rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(247, 239, 227, 0.55) 0%, rgba(247, 239, 227, 0.28) 100%);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: var(--space-md);
}

.grid {
  display: grid;
  gap: var(--space-sm);
}

.split {
  display: grid;
  gap: var(--space-md);
}

.owner-profile {
  display: grid;
  gap: var(--space-md);
  align-items: center;
}

.owner-profile__media {
  position: relative;
  isolation: isolate;
  width: min(100%, 240px);
  aspect-ratio: 1 / 1;
  justify-self: center;
  margin: 0;
}

.owner-profile__media::before {
  content: "";
  position: absolute;
  inset: 10px -9px -10px 9px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  transform: rotate(-0.8deg);
  z-index: -1;
}

.owner-profile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.owner-profile__copy {
  max-width: 760px;
}

/* ============ Cards ============ */

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: transform var(--dur-med) var(--ease-premium), box-shadow var(--dur-med) var(--ease-premium),
    border-color var(--dur-med) var(--ease-premium);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--space-md);
  right: var(--space-md);
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-premium);
}

.card:hover,
.card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}

.card:hover::before,
.card:focus-within::before {
  transform: scaleX(1);
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card p,
.meta-text {
  color: var(--muted);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card a {
  position: relative;
  margin-top: auto;
  width: max-content;
  padding-bottom: 2px;
  color: var(--primary);
  font-weight: 650;
}

.service-card a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-premium);
}

.service-card a:hover::after,
.service-card a:focus-visible::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .card::before,
  .service-card a::after {
    transition: none;
  }

  .card:hover {
    transform: none;
  }
}

/* Signature: layered-paper panel, used sparingly for emphasis */

.panel {
  position: relative;
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  isolation: isolate;
}

.panel::before,
.google-map__card::before {
  content: "";
  position: absolute;
  inset: 12px -10px -12px 10px;
  border: 1px solid var(--border-strong);
  border-radius: inherit;
  background: var(--surface);
  transform: rotate(-0.9deg);
  z-index: -1;
}

.check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  color: var(--muted);
}

/* process: editorial numerals instead of filled badges (a genuine sequence) */

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
  padding-top: calc(var(--space-md) + 2.1rem);
}

.process .card::after {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: var(--space-2xs);
  left: var(--space-md);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 2.1rem;
  color: var(--accent);
  opacity: 0.85;
  line-height: 1;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--primary-strong) 0%, var(--primary-deep) 100%);
  color: var(--white);
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(234, 216, 179, 0.35);
  border-radius: 50%;
}

.cta-band .container {
  position: relative;
}

.cta-band h2,
.cta-band .eyebrow {
  color: var(--white);
}

.cta-band .eyebrow::before {
  background: var(--accent-soft);
}

.cta-band .lead,
.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band .button-primary {
  background: var(--accent);
  color: var(--primary-deep);
  box-shadow: none;
}

.cta-band .button-primary:hover,
.cta-band .button-primary:focus-visible {
  background: #a67a30;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-lg) 1rem var(--space-sm);
}

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

.contact-result {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding-block: var(--space-lg);
}

.contact-result h1,
.contact-result .lead {
  margin-inline: auto;
}

.contact-result .lead {
  max-width: 36rem;
}

.detail-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.detail-list > div {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.detail-list dt {
  color: var(--primary);
  font-weight: 700;
}

.detail-list dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.google-map {
  padding-top: 0;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0), rgba(247, 239, 227, 0.42));
}

.google-map__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(184, 138, 58, 0.24);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  margin-inline: auto;
}

.google-map__frame {
  width: 100%;
  height: 230px;
  display: block;
  border: 0;
  background: var(--surface-strong);
}

.google-map__body {
  display: grid;
  gap: 0.75rem;
  padding: var(--space-md);
  justify-items: center;
  text-align: center;
}

.google-map__body h2 {
  font-size: clamp(1.45rem, 5vw, 2rem);
}

.google-map__body p {
  color: var(--muted);
}

.google-map__place {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff7ec;
  color: var(--primary);
  font-size: 0.87rem;
  font-weight: 700;
}

.google-map__place::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.field {
  display: grid;
  gap: 0.35rem;
}

label {
  font-weight: 650;
  color: var(--primary-strong);
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0.82rem 0.9rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 138, 58, 0.22);
  border-color: var(--accent);
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  background: var(--surface);
  transition: border-color var(--dur-fast) ease;
}

.faq details[open] {
  border-color: var(--accent-soft);
}

.faq details + details {
  margin-top: 0.75rem;
}

.faq summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  font-weight: 700;
  color: var(--primary);
}

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

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 1.2rem;
  transition: transform var(--dur-fast) var(--ease-premium);
}

.faq details[open] summary::after {
  transform: rotate(135deg);
}

.faq p {
  margin-top: 0.75rem;
  color: var(--muted);
}

/* ============ Footer ============ */

.site-footer {
  background: linear-gradient(165deg, #2a1112 0%, #200d0e 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: var(--space-lg) 1rem 5.2rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: var(--space-md);
}

.site-footer h2,
.site-footer h3,
.site-footer .brand {
  color: var(--white);
}

.site-footer .brand {
  width: max-content;
  max-width: 100%;
}

.footer-logo {
  width: min(286px, 78vw);
  height: auto;
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 0.6rem;
}

.footer-links a,
.footer-meta a {
  position: relative;
  width: max-content;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--accent-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-premium);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent-soft);
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--accent-soft);
}

.site-footer .language-switch {
  border-color: rgba(255, 255, 255, 0.22);
}

.site-footer .language-switch a {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer .language-switch a[aria-current="true"] {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--max);
  margin: 1.9rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-credit {
  display: inline-block;
  margin-left: 0.5rem;
  padding-left: 0.65rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--dur-fast) ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--accent-soft);
}

/* ============ Floating actions ============ */

.sticky-cta {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 35;
  box-shadow: 0 16px 30px rgba(57, 21, 22, 0.24);
}

.floating-contact {
  position: fixed;
  right: 0.85rem;
  bottom: 1rem;
  z-index: 42;
  display: grid;
  gap: 0.62rem;
}

.floating-contact--with-sticky {
  bottom: 5.35rem;
}

.floating-contact__link {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(231, 220, 205, 0.92);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  transition: transform var(--dur-fast) var(--ease-premium), box-shadow var(--dur-fast) var(--ease-premium),
    border-color var(--dur-fast) ease;
}

.floating-contact__link:hover,
.floating-contact__link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-lg);
}

.floating-contact__link img {
  width: 27px;
  height: 27px;
}

.floating-contact__tooltip {
  position: absolute;
  right: calc(100% + 0.65rem);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 0.42rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--primary-strong);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 650;
  transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.floating-contact__link:hover .floating-contact__tooltip,
.floating-contact__link:focus-visible .floating-contact__tooltip {
  opacity: 1;
  transform: translate(-3px, -50%);
}

/* ============ Language gateway ============ */

.gateway {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.gateway-card {
  width: min(100%, 720px);
  padding: var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.gateway-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.gateway-credit {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  z-index: 5;
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.gateway-credit a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--dur-fast) ease;
}

.gateway-credit a:hover,
.gateway-credit a:focus-visible {
  color: var(--accent-deep);
}

/* ============ Scroll reveal (progressive enhancement) ============ */

@media (prefers-reduced-motion: no-preference) {
  html.js .section-head,
  html.js .grid > *,
  html.js .split > *,
  html.js .faq details,
  html.js .detail-list > div,
  html.js .google-map__card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--dur-slow) var(--ease-premium), transform var(--dur-slow) var(--ease-premium);
  }

  html.js .section-head.is-visible,
  html.js .grid > *.is-visible,
  html.js .split > *.is-visible,
  html.js .faq details.is-visible,
  html.js .detail-list > div.is-visible,
  html.js .google-map__card.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ Responsive ============ */

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

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .brand-logo {
    width: 214px;
  }

  .nav-actions {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: center;
    padding-block: 4.6rem 3.2rem;
  }

  .hero-actions,
  .gateway-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }

  .trust-item {
    padding-left: 1rem;
    border-left: 1px solid var(--border);
  }

  .trust-item:first-child {
    padding-left: 0;
    border-left: 0;
  }

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

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

  .split {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    align-items: start;
  }

  .owner-profile {
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr 0.8fr;
  }

  .sticky-cta {
    display: none;
  }

  .floating-contact {
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .floating-contact--with-sticky {
    bottom: 1.25rem;
  }
}

@media (min-width: 900px) {
  .google-map__card {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    max-width: 100%;
  }

  .google-map__frame {
    width: calc(100% - var(--space-md));
    height: 360px;
    margin-block: var(--space-sm);
    border-radius: var(--radius-md);
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: center;
  }

  .google-map__body {
    align-content: center;
    justify-items: start;
    text-align: left;
    padding: var(--space-lg);
    grid-column: 1;
    grid-row: 1;
  }
}

@media (min-width: 1024px) {
  .nav,
  .hero,
  .page-hero {
    padding-inline: 1.25rem;
  }

  .hero-media img {
    aspect-ratio: 5 / 4;
  }
}
