:root {
  --ink: #161718;
  --muted: #6f7479;
  --paper: #ffffff;
  --cloud: #f3f4f6;
  --line: #e2e4e7;
  --charcoal: #090b0d;
  --red: #ed1c24;
  --red-dark: #b90f16;
  --green: #147a61;
  --yellow: #f0c44f;
  --steel: #8d98a6;
  --shadow: 0 18px 50px rgba(9, 11, 13, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 86px;
  padding: 0 32px;
  background:
    linear-gradient(180deg, rgba(237, 28, 36, 0.13), rgba(237, 28, 36, 0) 62%),
    rgba(9, 11, 13, 0.98);
  border-bottom: 1px solid #2a2d31;
  backdrop-filter: blur(16px);
}

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

.brand-sign {
  width: clamp(210px, 24vw, 330px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(237, 28, 36, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  background: #090b0d;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 12px;
  color: #f6f7f8;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--paper);
  background: rgba(237, 28, 36, 0.16);
  box-shadow: inset 3px 0 0 var(--red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.header-cta {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--paper);
  background: linear-gradient(180deg, #ff2730, var(--red-dark));
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(237, 28, 36, 0.18);
}

.header-cta:hover,
.btn-primary:hover {
  background: var(--red-dark);
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background-image: url("assets/hero-gommista.png");
  background-size: cover;
  background-position: center;
}

.hero-home {
  min-height: 640px;
}

.hero-booking {
  min-height: 430px;
  background-position: center 42%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 15, 0.88) 0%, rgba(10, 12, 15, 0.66) 44%, rgba(10, 12, 15, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 12, 15, 0.35), rgba(10, 12, 15, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 690px;
  padding: 86px 0 94px;
}

.hero-content.compact {
  max-width: 760px;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 4.3rem;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.55rem;
}

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

.hero-copy {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

.hero-actions,
.contact-actions,
.agenda-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.btn-primary {
  color: var(--paper);
  background: linear-gradient(180deg, #ff2730, var(--red-dark));
  box-shadow: 0 8px 20px rgba(237, 28, 36, 0.18);
}

.btn-light {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

.btn-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.btn-wide {
  width: 100%;
}

.hero .btn-light {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.44);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-points span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 750;
  font-size: 0.9rem;
}

.service-strip {
  background: var(--ink);
  color: var(--paper);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.strip-grid span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 850;
}

.section {
  padding: 92px 0;
}

.section-light {
  background: var(--cloud);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.split-grid p,
.cta-band p,
.location-grid p,
.page-intro p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 250px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card .service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--paper);
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
}

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

.service-meta {
  display: inline-flex;
  margin-top: 10px;
  padding: 5px 9px;
  color: var(--red-dark);
  background: #fff0f1;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 850;
}

.split-section {
  background: var(--paper);
}

.split-grid,
.booking-grid,
.location-grid,
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 46px;
  align-items: center;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.metrics div,
.agenda-metrics div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.metrics strong,
.agenda-metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
}

.metrics span,
.agenda-metrics span {
  color: var(--muted);
  font-weight: 700;
}

.process-panel {
  display: grid;
  gap: 14px;
}

.process-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.process-step span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 900;
}

.process-step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.73);
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius);
}

.cta-band .eyebrow {
  color: var(--yellow);
}

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

.quote-section {
  background: var(--paper);
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
}

.quote-form {
  padding: 28px;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.location-section {
  background: var(--paper);
}

.contact-line {
  margin-bottom: 10px;
}

.contact-line a {
  color: var(--red);
  font-weight: 800;
}

.map-panel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #e8ecef;
}

.map-grid {
  position: absolute;
  inset: -40px;
  background:
    linear-gradient(90deg, rgba(21, 25, 31, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(21, 25, 31, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: rotate(-8deg) scale(1.1);
}

.map-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(300px, calc(100% - 48px));
  padding: 18px;
  color: var(--paper);
  background: var(--ink);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-card strong,
.map-card span {
  display: block;
}

.map-card span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.booking-surface {
  padding-top: 54px;
  background: var(--cloud);
}

.booking-grid {
  align-items: start;
}

.booking-form,
.booking-summary,
.agenda-board,
.agenda-toolbar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(20, 25, 31, 0.07);
}

.booking-form {
  padding: 28px;
}

.form-header {
  margin-bottom: 22px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #cfd6db;
  border-radius: 8px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217, 50, 46, 0.14);
}

.full-field {
  margin-top: 16px;
}

.check-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  color: var(--muted);
  font-weight: 700;
}

.check-row input {
  width: 18px;
  min-height: 18px;
}

.booking-summary {
  position: sticky;
  top: 96px;
  padding: 28px;
}

.summary-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.summary-list span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.summary-list em {
  color: var(--red);
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.confirmation {
  margin-top: 24px;
  padding: 18px;
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  background: rgba(20, 122, 97, 0.08);
}

.confirmation h3 {
  margin-bottom: 8px;
}

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

.confirmation-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.page-intro {
  padding: 72px 0 52px;
  color: var(--paper);
  background: var(--ink);
}

.page-intro .eyebrow {
  color: var(--yellow);
}

.page-intro p {
  color: rgba(255, 255, 255, 0.74);
}

.agenda-actions {
  justify-content: end;
}

.agenda-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.agenda-toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  padding: 18px;
  margin-bottom: 22px;
}

.agenda-board {
  overflow: hidden;
}

.agenda-empty {
  padding: 32px;
  color: var(--muted);
}

.appointment-table {
  width: 100%;
  border-collapse: collapse;
}

.appointment-table th,
.appointment-table td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.appointment-table th {
  color: var(--muted);
  background: #fbfcfc;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.appointment-table td strong,
.appointment-table td span {
  display: block;
}

.appointment-table td span {
  color: var(--muted);
  font-size: 0.92rem;
}

.status-pill {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.status-new {
  color: #765b00;
  background: rgba(240, 196, 79, 0.28);
}

.status-confirmed {
  color: var(--green);
  background: rgba(20, 122, 97, 0.11);
}

.status-done {
  color: #444b54;
  background: #edf1f3;
}

.status-cancelled {
  color: var(--red-dark);
  background: rgba(217, 50, 46, 0.11);
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.row-actions button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  font-weight: 800;
  font-size: 0.82rem;
}

.row-actions button:hover {
  border-color: var(--red);
  color: var(--red);
}

.site-footer {
  padding: 32px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #111419;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid strong,
.footer-grid span,
.footer-grid a {
  display: block;
}

.footer-grid strong {
  color: var(--paper);
}

.footer-grid div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: end;
}

.footer-grid a {
  color: var(--paper);
  font-weight: 800;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 16px 8px 8px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-weight: 900;
}

.chat-launcher-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--paper);
  background: var(--red);
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 900;
}

.chat-panel {
  width: min(390px, calc(100vw - 28px));
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(20, 25, 31, 0.28);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  color: var(--paper);
  background: var(--ink);
}

.chat-header strong,
.chat-header span {
  display: block;
}

.chat-header span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
}

.chat-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  cursor: pointer;
  font-weight: 900;
}

.chat-messages {
  display: grid;
  gap: 10px;
  max-height: 320px;
  padding: 16px;
  overflow-y: auto;
  background: #f8fafb;
}

.chat-message {
  width: fit-content;
  max-width: 86%;
  padding: 11px 13px;
  border-radius: 8px;
  white-space: pre-line;
  font-size: 0.92rem;
  line-height: 1.4;
}

.chat-message-bot {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.chat-message-user {
  justify-self: end;
  color: var(--paper);
  background: var(--red);
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 0;
  background: var(--paper);
}

.chat-quick button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.82rem;
}

.chat-quick button:hover {
  color: var(--red);
  border-color: rgba(217, 50, 46, 0.38);
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px 16px 16px;
  background: var(--paper);
}

.chat-form input {
  min-height: 44px;
}

.chat-form button {
  min-height: 44px;
  padding: 0 14px;
  color: var(--paper);
  background: var(--red);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.chat-form button:hover {
  background: var(--red-dark);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 14px;
    min-height: 70px;
    padding: 0 20px;
  }

  .brand-sign {
    width: 214px;
    max-height: 50px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--charcoal);
    border: 1px solid #2a2d31;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    color: #f6f7f8;
    border-radius: 8px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .hero-home {
    min-height: 560px;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.12rem;
  }

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

  .split-grid,
  .booking-grid,
  .quote-grid,
  .location-grid,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
  }

  .agenda-actions {
    justify-content: start;
  }

  .appointment-table,
  .appointment-table thead,
  .appointment-table tbody,
  .appointment-table th,
  .appointment-table td,
  .appointment-table tr {
    display: block;
  }

  .appointment-table thead {
    display: none;
  }

  .appointment-table tr {
    border-bottom: 1px solid var(--line);
  }

  .appointment-table td {
    border-bottom: 0;
    padding: 12px 16px;
  }

  .appointment-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero,
  .hero-home {
    min-height: 520px;
  }

  .hero-content,
  .hero-content.compact {
    padding: 60px 0;
  }

  h1 {
    font-size: 2.72rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .section {
    padding: 66px 0;
  }

  .strip-grid,
  .card-grid,
  .metrics,
  .field-grid,
  .agenda-metrics,
  .agenda-toolbar,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .booking-form,
  .booking-summary,
  .quote-form,
  .cta-band {
    padding: 22px;
  }

  .footer-grid {
    display: grid;
  }

  .footer-grid div:last-child {
    justify-content: start;
  }

  .chat-widget {
    right: 14px;
    bottom: 14px;
  }

  .chat-panel {
    width: calc(100vw - 28px);
  }

  .chat-messages {
    max-height: 300px;
  }
}
