:root {
  --bg: #fbf6f0;
  --bg-alt: #f4eadf;
  --fg: #2d2622;
  --muted: #6b5f57;
  --accent: #b05a3a;
  --accent-fg: #fffaf5;
  --sea: #2b7a80;
  --card: #fffdfa;
  --border: #eaddd0;
  --radius: 20px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1816;
    --bg-alt: #241f1c;
    --fg: #f1e9e2;
    --muted: #b9aca2;
    --accent: #e49b7a;
    --accent-fg: #1c1816;
    --sea: #7ec3c7;
    --card: #2a2420;
    --border: #3b332e;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    17px/1.65 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

p {
  margin: 0 0 16px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--sea);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  padding: 13px 26px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent);
}

.button.ghost {
  background: transparent;
  color: var(--accent);
}

.button.small {
  padding: 7px 18px;
  font-size: 0.95rem;
}

.icon {
  width: 28px;
  height: 28px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--fg);
}

.lang-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-switch button {
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang-switch button:hover {
  color: var(--fg);
}

.lang-switch button[aria-pressed='true'] {
  background: var(--fg);
  color: var(--bg);
}

.header-cta {
  display: inline-flex;
  align-items: center;
}

.header-cta .icon {
  display: none;
  width: 20px;
  height: 20px;
}

@media (max-width: 760px) {
  nav {
    gap: 12px;
  }

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

  .button.header-cta {
    padding: 8px;
  }

  .header-cta .icon {
    display: block;
  }
}

@media (max-width: 400px) {
  .header-row {
    gap: 8px;
  }

  .brand {
    gap: 8px;
    font-size: 1.25rem;
  }
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
  padding-block: 64px 48px;
}

.lead {
  max-width: 34em;
  color: var(--muted);
  font-size: 1.2rem;
}

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

.hero-photo {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(100%, 420px);
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 24px -24px -24px 24px;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.hero-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 40px;
  }

  .hero-photo {
    width: min(100% - 24px, 340px);
    justify-self: start;
  }
}

/* Facts */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 22px 24px;
  background: var(--card);
}

.facts strong {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  font-variant-numeric: lining-nums;
  line-height: 1;
}

.facts span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

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

  .facts li {
    padding: 18px;
  }
}

/* Sections */

.section {
  padding-block: 88px;
}

.section-alt {
  background: var(--bg-alt);
}

.section-lead {
  max-width: 40em;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 64px;
}

.split.reverse > figure {
  order: 2;
}

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

  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split.reverse > figure {
    order: 0;
  }
}

.photo-card {
  margin: 0;
}

.photo-card img {
  width: 100%;
  border-radius: var(--radius);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 32px;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sea) 18%, transparent);
  box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--sea) 18%, transparent);
}

.checklist li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: calc(0.3em + 6px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sea);
}

/* Services */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.cards article {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.cards .icon {
  margin-bottom: 16px;
  color: var(--accent);
}

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

/* Galleries */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 860px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Contacts */

.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 56px;
  border-radius: 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.location {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.contact-links a:hover {
  border-color: var(--accent);
}

.contact-links .icon {
  color: var(--accent);
}

.contact-links small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
}

@media (max-width: 860px) {
  .contact-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
    border-radius: 24px;
  }
}

/* Footer */

.site-footer {
  padding-block: 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}
