:root {
  --brand: #b1222f;
  --brand-strong: #8d1522;
  --brand-soft: #f7e7e9;
  --text: #0f172a;
  --muted: #4b5565;
  --surface: #ffffff;
  --surface-alt: #f6f7fb;
  --shadow: 0 18px 45px rgba(16, 24, 40, 0.14);
  --radius-lg: 18px;
  --radius-sm: 10px;
  --container: min(1200px, 92vw);
}

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

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--surface-alt);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.top-bar {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff;
  font-size: 0.95rem;
}

.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
  overflow: hidden;
  padding: 0.75rem 0;
}

.bar-contact {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  opacity: 0.95;
}

.contact-link img {
  width: 16px;
  height: 16px;
  filter: invert(1);
}

.bar-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.bar-actions .btn {
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  box-shadow: 0 10px 22px rgba(177, 34, 47, 0.18);
}

.text-link {
  font-weight: 600;
  color: #fff;
  opacity: 0.8;
}

.main-nav {
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 0;
  z-index: 5;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 140px;
  height: auto;
}

.brand-text {
  display: none;
  color: var(--muted);
  font-weight: 600;
}

.brand-kicker {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-name {
  margin: 0.2rem 0 0;
  font-size: 1.1rem;
  color: var(--text);
}

.mobile-nav-links {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.nav-links a,
.mobile-nav-links a {
  padding: 0.4rem 0.6rem;
  color: var(--muted);
}

.nav-links a:hover,
.mobile-nav-links a:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: 1px solid #e5e7ef;
  border-radius: 10px;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle-line {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
  transition: transform 180ms ease, opacity 180ms ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.3rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 200ms ease;
  box-shadow: 0 14px 30px rgba(177, 34, 47, 0.25);
}

.btn:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-light {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 12px 25px rgba(255, 255, 255, 0.15);
}

.btn-ghost {
  background: rgba(177, 34, 47, 0.1);
  color: var(--brand);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  border: 1px solid #fff;
  box-shadow: none;
  color: #fff;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(
      120deg,
      rgba(15, 23, 42, 0.6),
      rgba(15, 23, 42, 0.2)
    ),
    url("../assets/hero.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(16, 24, 40, 0.85),
    rgba(16, 24, 40, 0.6)
  );
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  padding: 4.5rem 0;
  z-index: 1;
}

.hero-copy h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 0.3rem 0 0.75rem;
  line-height: 1.2;
}

.hero-copy .lead {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 0.85rem;
  color: #f4d4d7;
  margin: 0;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.55rem;
}

.hero-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.hero-list li::before {
  content: "•";
  color: #f4d4d7;
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.trust {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.trust .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f4d4d7;
  display: inline-block;
}

.hero-form-card {
  background: #fff;
  color: var(--text);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(177, 34, 47, 0.1);
  color: var(--brand-strong);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

.hero-form-card h3 {
  margin: 0.7rem 0 0.1rem;
  font-size: 1.35rem;
}

.form-sub {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

form {
  display: grid;
  gap: 0.9rem;
}

.form-group {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid #d8dde8;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(177, 34, 47, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.service-intro {
  background: #fff;
  padding: 2.8rem 0;
  margin-top: -2rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.intro-card {
  background: var(--surface-alt);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid #e9ecf5;
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-strong);
  margin: 0;
}

.intro-card h3 {
  margin: 0.4rem 0 0.35rem;
}

.gallery-section {
  padding: 3.2rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.section-header h2 {
  margin: 0.4rem 0;
  font-size: clamp(2rem, 3vw, 2.4rem);
}

.section-sub {
  margin: 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.img-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.85rem;
}

.img-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.img-card:hover .img-frame img {
  transform: scale(1.04);
}

.chip {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  background: rgba(15, 23, 42, 0.76);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.img-card p {
  margin: 0 1rem 1.2rem;
  color: var(--muted);
}

.cta-section {
  background: linear-gradient(120deg, var(--brand-strong), #2a0c12);
  color: #fff;
  padding: 3.5rem 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  align-items: center;
  gap: 1.5rem;
}

.cta-inner h3 {
  margin: 0.4rem 0;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.cta-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 20;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  width: min(520px, 100%);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow);
}

.modal-header {
  margin-bottom: 1.2rem;
}

.modal .close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 25;
}

.lightbox-inner {
  position: relative;
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.lightbox .close {
  position: absolute;
  right: -10px;
  top: -10px;
  background: #fff;
  color: var(--text);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.footer {
  background: #0f172a;
  color: #e7e9ef;
  padding-top: 2.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.footer h4 {
  margin: 0 0 0.6rem;
  color: #fff;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
  color: #d1d5db;
}

.footer a:hover {
  color: #fff;
}

.footer-brand img {
  width: 150px;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding: 1.25rem 0;
  text-align: center;
  color: #cdd2dd;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .brand-text {
    display: block;
  }
}

@media (max-width: 880px) {
  /* .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  } */

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    display: none;
    padding: 0.5rem;
  }

  .main-nav.open .mobile-nav-links {
    display: flex;
  }

  .main-nav.open .nav-toggle-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .main-nav.open .nav-toggle-line:nth-child(2) {
    opacity: 0;
  }
  .main-nav.open .nav-toggle-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-form-card {
    order: -1;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }

  .bar-actions {
    width: 100%;
  }

  .nav-links {
    gap: 0.5rem;
  }

  .hero-list li {
    background: rgba(255, 255, 255, 0.14);
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .top-bar {
    font-size: 0.9rem;
  }

  .bar-inner {
    gap: 0.7rem;
  }
}

@media (max-width: 980px) {
  .bar-contact,
  .text-link {
    display: none;
  }

  .bar-inner {
    justify-content: flex-end;
  }

  .bar-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
