:root {
  --ink: #151719;
  --cream: #f4f2ed;
  --muted: #6c7070;
  --accent: #e53935;
  --line: #deddd8;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

/* Header and navigation */
.site-header { background: var(--ink); color: #fff; border-bottom: 1px solid #353839; }
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; margin-right: auto; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 42px; overflow: hidden; }
.brand-mark img { width: 42px; height: 42px; object-fit: contain; }
.brand strong, .brand small { display: block; line-height: 1; }
.brand strong { font-size: 15px; letter-spacing: .04em; }
.brand small { margin-top: 5px; color: #aeb1b0; font-size: 9px; letter-spacing: .2em; }
.main-nav { display: flex; flex-wrap: wrap; gap: 22px; color: #b9bcbb; font-size: 13px; }
.main-nav a, .header-phone { min-height: 44px; display: inline-flex; align-items: center; }
.main-nav a:hover, .header-phone:hover, .text-link:hover { color: var(--accent); }
.header-phone { flex: 0 0 auto; font-size: 14px; font-weight: 700; white-space: nowrap; }

/* Hero */
.hero { overflow: hidden; background: var(--ink); color: #fff; }
.hero-grid { min-height: 570px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.hero-content { min-width: 0; padding: 58px 0 74px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow span { width: 24px; height: 2px; flex: 0 0 24px; background: var(--accent); }
h1, h2, h3 { margin: 0; font-family: 'Barlow Condensed', sans-serif; line-height: .95; text-transform: uppercase; }
h1 { font-size: clamp(52px, 7vw, 92px); letter-spacing: -.02em; }
h1 em, h2 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 500px; margin: 28px 0; color: #b8bbba; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 23px;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background .2s, transform .2s;
}
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: #ef5350; transform: translateY(-2px); }
.phone-icon { margin-right: 9px; font-size: 18px; }
.text-link { color: #fff; font-size: 13px; font-weight: 700; }
.text-link span { margin-left: 7px; color: var(--accent); font-size: 20px; }
.hero-note { margin-top: 34px; color: #8e9492; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #85c760; }
.hero-visual { min-width: 0; min-height: 420px; display: grid; place-items: center; }
.hero-rim-photo { width: min(100%, 490px); transform: translate(12px, -6px) rotate(-3deg); }

/* General sections */
.section { padding: 100px 0; }
.section-alt { background: #ebe9e3; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading h2 { font-size: 58px; }
.section-heading > p { max-width: 340px; margin: 0 0 5px; color: var(--muted); font-size: 13px; }

/* Price tables */
.price-tables { display: grid; gap: 22px; }
.price-table-wrap { min-width: 0; overflow: hidden; padding: 25px 28px; border-top: 3px solid var(--accent); background: #fff; }
.price-table-wrap h3 { margin-bottom: 18px; font-size: 28px; }
.price-table { width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.price-table th { padding: 0 12px 10px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-align: left; text-transform: uppercase; }
.price-table th:first-child, .price-table td:first-child { width: 64%; }
.price-table th:last-child, .price-table td:last-child { width: 36%; text-align: right; }
.price-table td { padding: 12px; border-top: 1px solid #ecebe7; color: var(--ink); overflow-wrap: anywhere; vertical-align: top; }
.price-table td:last-child { color: var(--accent); font-weight: 700; white-space: nowrap; overflow-wrap: normal; }
.price-note { margin: 16px 0 0; color: #d32f2f; font-size: 14px; font-weight: 700; }

/* Gallery */
.gallery { background: #1d2021; color: #fff; }
.gallery .section-heading > p { color: #929896; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.gallery-item { position: relative; min-width: 0; overflow: hidden; background: #303536; }
.gallery-item img { width: 100%; height: auto; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.015); }
.gallery-caption { position: absolute; inset: auto 0 0; min-height: 86px; display: flex; flex-direction: column; justify-content: end; padding: 18px; background: linear-gradient(transparent, rgba(17,17,17,.92)); }
.gallery-caption span { color: var(--accent); font: 700 13px 'Barlow Condensed'; letter-spacing: .14em; }
.gallery-caption strong { font: 600 25px 'Barlow Condensed'; text-transform: uppercase; }
.gallery-caption small { color: #e0e2df; font-size: 11px; }

/* Contact and footer */
.contact { background: var(--accent); color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1.2fr); gap: 55px; align-items: center; }
.contact .eyebrow { color: #fff; }
.contact .eyebrow span { background: #fff; }
.contact h2 { font-size: 55px; }
.contact h2 em { color: #fff; }
.contact-copy > p:not(.eyebrow) { max-width: 400px; margin: 25px 0; color: #ffe5da; font-size: 14px; }
.contact .button { margin-top: 5px; background: var(--ink); }
.contact .button:hover { background: #34383a; }
.detail { display: flex; gap: 16px; margin: 22px 0; }
.detail-icon { color: #fff; font-size: 26px; }
.detail small { display: block; margin-bottom: 5px; color: #ffd0be; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.detail strong, .detail a { font-size: 16px; line-height: 1.4; }
.detail a { font-weight: 700; }
.map-wrap { position: relative; min-width: 0; height: 260px; padding: 7px; background: #fff; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1); }
.map-link { position: absolute; bottom: 17px; left: 17px; max-width: calc(100% - 34px); padding: 10px 14px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; }
.site-footer { padding: 24px 0; background: var(--ink); color: #808584; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.site-footer .container { display: flex; justify-content: space-between; gap: 16px; }

/* Tablet */
@media (max-width: 1000px) {
  .main-nav { gap: 14px; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .map-wrap { grid-column: 1 / -1; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile */
@media (max-width: 700px) {
  .container { width: min(100% - 32px, 1160px); }
  .nav-wrap { min-height: 0; flex-wrap: wrap; gap: 0 12px; padding: 10px 0; }
  .brand { min-height: 44px; }
  .header-phone { min-height: 44px; font-size: 12px; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 4px; padding-top: 8px; border-top: 1px solid #353839; font-size: 11px; }
  .main-nav a { min-height: 38px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 52px 0 30px; }
  .hero-visual { min-height: 330px; }
  .hero-rim-photo { width: min(100%, 360px); transform: none; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .hero-actions .button, .hero-actions .text-link { width: 100%; }
  .hero-actions .text-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .section { padding: 70px 0; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: 18px; font-size: 50px; }
  .contact h2 { font-size: clamp(42px, 12vw, 52px); }
  .price-table-wrap { padding: 20px 14px; }
  .price-table { font-size: 12px; }
  .price-table th, .price-table td { padding: 10px 5px; }
  .price-table th:first-child, .price-table td:first-child { width: 61%; }
  .price-table th:last-child, .price-table td:last-child { width: 39%; }
  .price-table td:last-child { font-size: 11px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-caption { min-height: 72px; padding: 14px; }
  .gallery-caption strong { font-size: 21px; }
  .contact-grid { display: block; }
  .contact-details { margin: 35px 0; }
  .contact-copy .button { width: 100%; min-height: 54px; }
  .map-wrap { height: 250px; }
  .site-footer .container { display: block; }
  .site-footer span { display: block; margin: 6px 0; }
}

@media (max-width: 430px) {
  h1 { font-size: clamp(48px, 15vw, 61px); }
  .brand strong { font-size: 13px; }
  .brand small { font-size: 8px; }
  .header-phone { font-size: 11px; }
  .main-nav { font-size: 10px; }
  .price-table { font-size: 11px; }
  .price-table td:last-child { font-size: 10px; }
}
