/* ===== Brand tokens ===== */
:root {
  --navy: #1b2b4b;
  --navy-dark: #13203a;
  --red: #b8212f;
  --red-dark: #971a26;
  --ink: #1e2533;
  --muted: #545d6e;
  --paper: #ffffff;
  --paper-alt: #f3f4f7;
  --line: #dde0e6;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(19, 32, 58, 0.15);
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-script: "Dancing Script", cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 .5em;
  color: var(--navy);
}

.container {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

.navy { color: var(--navy); }
.red { color: var(--red); }
.script { font-family: var(--font-script); text-transform: none; font-weight: 700; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: .85em 1.6em;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; }
.btn-block { width: 100%; font-size: 1rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}
.logo-mark { width: 74px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.logo-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--red);
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--navy);
}
.site-nav a:not(.btn):hover { color: var(--red); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  padding: 64px 0 80px;
  background:
    linear-gradient(90deg, var(--paper) 0%, var(--paper) 45%, var(--paper-alt) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.tagline {
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--red);
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
.hero h1 span { display: block; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 34em; }
.lead strong { color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}
.badge {
  position: absolute;
  top: -36px;
  right: -12px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--navy);
  border: 4px solid #fff;
  box-shadow: var(--shadow);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  font-weight: 600;
  font-size: .95rem;
}
.badge-icon { width: 28px; height: 28px; margin-bottom: 4px; }
.badge .script { font-size: 1.25rem; }
.badge-red {
  margin-top: 4px;
  font-family: var(--font-head);
  text-transform: uppercase;
  color: #ff5a66;
  font-size: .95rem;
  letter-spacing: .03em;
}

/* ===== Section titles ===== */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 1.6rem;
  letter-spacing: .12em;
  margin-bottom: 40px;
  text-align: center;
}
.section-title::before,
.section-title::after {
  content: "";
  flex: 0 1 120px;
  height: 3px;
  background: var(--red);
}
.section-title.light { color: #fff; }

/* ===== Services ===== */
.services {
  background: var(--navy);
  color: #fff;
  padding: 72px 0;
}
.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.service {
  padding: 8px 22px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .25);
}
.service:first-child { border-left: 0; }
.service svg {
  width: 60px;
  height: 60px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin: 0 auto 14px;
}
.service h3 { color: #fff; font-size: 1.1rem; letter-spacing: .04em; }
.service p { font-size: .88rem; color: #c9d0de; margin: 0; }

/* ===== Why us ===== */
.why-us { padding: 80px 0; background: var(--paper-alt); }
.why-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.why-copy h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.why-copy > p { color: var(--muted); font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li {
  position: relative;
  padding: 10px 0 10px 40px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.proud {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 32px;
  text-align: center;
  border-top: 6px solid var(--red);
}
.stars { color: var(--red); letter-spacing: .3em; font-size: 1.2rem; }
.proud-title {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--navy);
  margin: 8px 0 0;
  line-height: 1;
}
.proud-script { font-size: 2.4rem; color: var(--red); margin: 4px 0 12px; line-height: 1.1; }
.proud-area {
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  color: var(--muted);
}

/* ===== Work gallery ===== */
.work { padding: 80px 0; }
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}
.gallery figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 320px;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 12px;
  background: linear-gradient(transparent, rgba(19, 32, 58, .9));
  color: #fff;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1.05rem;
}

/* ===== Contact ===== */
.contact { background: var(--red); padding: 80px 0; color: #fff; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.cal-icon {
  width: 84px;
  height: 84px;
  padding: 16px;
  border-radius: 50%;
  background: var(--navy);
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  margin-bottom: 20px;
}
.cal-icon .dots rect { fill: #fff; stroke: none; }
.contact-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.6rem); }
.contact-cta h2 .script { display: block; font-size: 1.35em; margin-top: 6px; }
.contact-cta > p { color: #fde6e8; font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; font-weight: 600; }
.contact-list li { padding: 6px 0; }
.contact-list a { text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, .4); }
.contact-list a:hover { border-color: #fff; }

.contact-form {
  background: #fff;
  color: var(--ink);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .85rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: .95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-alt);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  background: #fff;
}
.field .invalid { border-color: var(--red); background: #fff5f5; }
.form-status { margin: 12px 0 0; font-weight: 600; font-size: .92rem; text-align: center; min-height: 1.2em; }
.form-status.ok { color: #1c7a3f; }
.form-status.err { color: var(--red); }

/* ===== Footer ===== */
.site-footer { background: var(--navy-dark); color: #fff; padding: 28px 0 20px; }
.footer-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 1.1rem;
  text-decoration: none;
}
.footer-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.footer-icon svg { width: 20px; height: 20px; }
.copyright {
  text-align: center;
  font-size: .8rem;
  color: #9aa4b8;
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .service:nth-child(4) { border-left: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: 1 / -1; height: 360px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px rgba(0, 0, 0, .08);
    padding: 8px 16px 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; text-align: center; }

  .hero { padding: 40px 0 56px; }
  .hero-inner,
  .why-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { margin-top: 24px; }
  .hero-media img { clip-path: none; }
  .badge { width: 136px; height: 136px; top: -44px; right: -4px; font-size: .8rem; }
  .badge .script { font-size: 1.05rem; }
  .badge-red { font-size: .8rem; }
}

@media (max-width: 600px) {
  .logo-mark { width: 58px; }
  .logo-name { font-size: 1.3rem; }
  .logo-sub { font-size: .7rem; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service { border-left: 0; padding: 8px 10px; }
  .service:last-child { grid-column: 1 / -1; }
  .section-title { font-size: 1.3rem; gap: 12px; }
  .section-title::before, .section-title::after { flex-basis: 40px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure, .gallery figure:first-child { height: 260px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 18px; }
  .footer-bar { flex-direction: column; }
  .footer-item { font-size: 1rem; }
}
