@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2");
  font-weight: 500 700; font-style: normal; font-display: swap;
}

:root {
  --rose: #ab8585;
  --rose-dark: #8f6a6a;
  --ink: #1b1b1b;
  --text: #5e5e5e;
  --muted: #8a8a8a;
  --light: #f5f5f5;
  --white: #ffffff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Barlow", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rose-dark); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.bg-light { background: var(--light); }
.bg-dark { background: var(--ink); color: #cfcfcf; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--rose);
  text-align: center;
  margin: 0 0 32px;
}
h3 { font-family: var(--sans); font-weight: 400; font-size: 26px; color: var(--ink); margin: 0 0 16px; }
h4 { font-family: var(--sans); font-weight: 400; font-size: 22px; color: var(--ink); margin: 0 0 16px; }
p { margin: 0 0 18px; }

/* Header */
.site-header { padding: 32px 0; text-align: center; background: var(--white); }
.site-header img { width: 280px; margin: 0 auto; }

/* Hero */
.hero {
  min-height: 78vh;
  background: url("../images/hero-banner.jpg") center / cover no-repeat;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 0 64px;
}
.hero-box {
  background: rgba(255, 255, 255, .92);
  padding: 32px 40px;
  text-align: center;
  max-width: 640px;
  margin: 0 24px;
}
.hero-box h1 { margin-bottom: 20px; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  background: #e6e6e6;
  border: 0;
  padding: 16px 32px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: #d4d4d4; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #333; }

/* Two column rows */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.row + .row { margin-top: 72px; }
.row .text { text-align: left; }
.row .text h2 { text-align: left; }
.row.reverse .media { order: 2; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Slider */
.slider { position: relative; overflow: hidden; }
.slider img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.slider .slide { display: none; }
.slider .slide.active { display: block; animation: fade .6s; }
.slider button {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.8); border: 0; width: 44px; height: 44px;
  font-size: 22px; cursor: pointer; color: var(--ink);
}
.slider .prev { left: 12px; }
.slider .next { right: 12px; }
@keyframes fade { from { opacity: .3; } to { opacity: 1; } }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.intro { max-width: 720px; margin: 0 auto; }
.intro .btn { display: table; margin: 12px auto 0; }

/* Team */
.team img { width: 100%; }

/* Contact */
.contact h4 { text-align: center; max-width: 640px; margin: 0 auto 32px; }
form { max-width: 640px; margin: 0 auto; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 16px; border: 1px solid #d0d0d0; background: var(--white); border-radius: 0;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--rose); border-color: var(--rose); }
.field input[type=file] { padding: 10px; font-size: 14px; }
.hidden { position: absolute; left: -9999px; }
form .btn { width: 100%; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }

/* Story / blog teaser */
.story {
  background: linear-gradient(rgba(27,27,27,.7), rgba(27,27,27,.7)), url("../images/blog-banner.jpg") center / cover no-repeat;
  color: #e8e8e8;
}
.story h2 { color: var(--white); }
.story .intro p { color: #e8e8e8; }
.card {
  background: var(--white); color: var(--text); max-width: 440px; margin: 40px auto 0;
  text-decoration: none; display: block;
}
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card .body { padding: 20px 24px 24px; }
.card .date { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.card h4 { margin-bottom: 10px; }
.card p { font-size: 15px; margin-bottom: 10px; }
.card .more { font-size: 15px; color: var(--rose-dark); }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article h1 { text-align: left; color: var(--ink); font-family: var(--sans); font-size: 36px; }
.article h4 { margin-top: 40px; }
.article h4 small { display: block; font-size: 18px; color: var(--muted); margin-top: 4px; }
.article img { margin: 32px 0; width: 100%; }
.back { display: inline-block; margin-bottom: 24px; font-size: 15px; }

/* Footer */
.site-footer { background: var(--light); padding: 48px 0; text-align: center; font-size: 15px; color: var(--ink); }
.site-footer p { margin: 0 0 10px; }
.site-footer .small { font-size: 12px; color: var(--text); margin: 0 0 4px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.socials { display: flex; gap: 12px; justify-content: center; margin: 24px 0; }
.socials a { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.socials svg { width: 15px; height: 15px; fill: #fff; }
.fb { background: #1877f2; } .ig { background: #e1306c; } .li { background: #0a66c2; } .pi { background: #e60023; }
.footer-links { margin-bottom: 8px; }

@media (max-width: 760px) {
  section { padding: 48px 0; }
  .row { grid-template-columns: 1fr; gap: 24px; }
  .row.reverse .media { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .pair { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; }
  .site-header img { width: 220px; }
}

/* Language switch */
.site-header .bar {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.site-header .bar > a { grid-column: 2; }
.lang {
  grid-column: 3; justify-self: end;
  display: inline-flex; border: 1px solid #d6d6d6; border-radius: 999px; padding: 3px;
  font-size: 12px; font-weight: 500; letter-spacing: .08em;
}
.lang a {
  color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 999px;
  line-height: 1; transition: color .2s, background .2s;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--ink); color: var(--white); }
.lang span { display: none; }
@media (max-width: 760px) {
  .site-header { padding: 44px 0 20px; }
  .site-header .bar { display: block; padding: 0; }
  .lang { position: absolute; top: 10px; right: 12px; font-size: 11px; }
  .lang a { padding: 5px 9px; }
}

/* Specs */
.specs { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; border-top: 1px solid #e2e2e2; }
.specs li { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid #e2e2e2; font-size: 16px; }
.specs span { color: var(--muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.row .text h3 { font-family: var(--serif); font-weight: 400; color: var(--rose); font-size: 26px; }
@media (max-width: 760px) { .specs li { grid-template-columns: 1fr; gap: 2px; } }

/* Hero tagline */
.tagline { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.row .text h2.h-left { margin-bottom: 16px; }

/* Key figures */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; text-align: center; }
.stats div { background: var(--white); padding: 24px 12px; }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--rose); line-height: 1.2; }
.stats span { display: block; font-size: 13px; color: var(--muted); letter-spacing: .04em; margin-top: 6px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--white); margin-bottom: 8px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 20px; font-size: 17px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--rose); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; margin: 0; font-size: 16px; }

/* Contact subtitle */
.contact .sub { font-size: 20px; text-align: center; max-width: 640px; margin: 0 auto 32px; line-height: 1.4; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } .stats strong { font-size: 26px; } }

/* Absorption chart */
.chart { margin: 56px 0 0; background: var(--white); padding: 32px 32px 24px; }
.chart h3 { font-family: var(--serif); font-weight: 400; color: var(--rose); font-size: 26px; text-align: center; margin: 0 0 20px; }
.chart svg { display: block; width: 100%; height: auto; font-family: var(--sans); font-size: 13px; fill: var(--muted); }
.chart .g { stroke: #e6e6e6; stroke-width: 1; }
.chart .ax { font-size: 13px; fill: var(--text); }
.chart polyline { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart .ko { stroke: var(--rose-dark); }
.chart .md { stroke: #9c9c9c; stroke-dasharray: 7 6; stroke-width: 2.5; }
.chart .lk { fill: var(--rose-dark); font-weight: 500; font-size: 15px; }
.chart .lm { fill: #7a7a7a; font-weight: 500; font-size: 15px; }
.chart .pk { fill: var(--rose-dark); }
.chart .pm { fill: var(--white); stroke: #9c9c9c; stroke-width: 2.5; }
.chart figcaption { font-size: 15px; color: var(--text); max-width: 640px; margin: 16px auto 0; text-align: center; }

@media (max-width: 760px) {
  h1, h2 { font-size: 28px; }
  .row .text h2 { text-align: center; }
  .chart { padding: 20px 12px 16px; }
  .chart svg { font-size: 24px; }
  .chart .lk, .chart .lm, .chart .ax { font-size: 24px; }
}
