:root {
  --navy: #1a3a5c;
  --navy-dark: #122840;
  --tan: #c4a882;
  --gold: #c9a227;
  --gold-light: #f0d98a;
  --cream: #faf7f2;
  --white: #ffffff;
  --muted-bg: #f3eee6;
  --text: #2c3440;
  --text-soft: #5c6672;
  --line: rgba(196, 168, 130, 0.28);
  --shadow: 0 14px 40px rgba(26, 58, 92, 0.1);
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.12;
  color: var(--navy);
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  min-height: 72px;
  margin-inline: auto;
}

.header__logo img {
  width: clamp(108px, 16vw, 128px);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header__nav a {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.header__call {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white) !important;
}

.header__call:hover {
  background: var(--navy-dark);
  color: var(--white) !important;
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(26, 58, 92, 0.15);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.header__menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--navy);
}

/* Hero */

.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, var(--white), var(--cream));
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4rem);
}

.hero__motto {
  margin: 0.65rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--tan);
}

.hero__text {
  max-width: 34rem;
  margin: 0 0 1.75rem;
  color: var(--text-soft);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__photo {
  margin: 0;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.facts__item {
  padding: 1.2rem 1.3rem;
  border-right: 1px solid var(--line);
}

.facts__item:last-child {
  border-right: none;
}

.facts dt {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--fill {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(26, 58, 92, 0.2);
}

.button--fill:hover {
  background: var(--navy-dark);
  color: var(--white);
}

.button--outline {
  border: 1px solid rgba(26, 58, 92, 0.16);
  background: var(--white);
  color: var(--navy);
}

.button--light {
  margin-top: 1.25rem;
  background: var(--white);
  color: var(--navy);
}

.button--light:hover {
  color: var(--navy-dark);
}

/* Sections */

.section {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.section--muted {
  background: var(--muted-bg);
}

.section--dark {
  background: linear-gradient(180deg, var(--navy-dark), var(--navy));
  color: var(--white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.88);
}

.section--dark a:not(.button--light) {
  color: var(--gold-light);
}

.section--dark a:not(.button--light):hover {
  color: var(--white);
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-intro--center {
  margin-inline: auto;
  text-align: center;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.section-intro p {
  margin: 1rem 0 0;
  color: var(--text-soft);
}

/* About */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.about__copy p {
  color: var(--text-soft);
}

.about__copy p:first-of-type {
  margin-top: 0;
}

.about__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.card {
  padding: 1.4rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.28rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* Gallery — div-based grid, no list bullets */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 130px;
  gap: 0.85rem;
}

.gallery__item {
  grid-column: span 3;
  grid-row: span 2;
  padding: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #ddd;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.gallery__item:hover,
.gallery__item:focus-visible {
  transform: translateY(-2px);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery__item--wide {
  grid-column: span 6;
}

.gallery__item--tall {
  grid-row: span 3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services */

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service {
  padding: 1.4rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
}

.service h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.service p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* Quote */

.quote-block {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.quote-block__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.quote-block__photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.quote {
  margin: 0;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  background: linear-gradient(155deg, var(--navy), var(--navy-dark));
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.35;
}

.quote footer {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--gold-light);
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 4vw, 3rem);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.contact__item {
  padding: 1.15rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.contact__item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: var(--gold-light);
}

.contact__item p {
  margin: 0;
}

/* Footer */

.footer {
  padding: 2.5rem 0 3rem;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer a {
  color: var(--gold-light);
  text-decoration: none;
}

.footer a:hover {
  color: var(--white);
}

.footer__name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--white);
}

.footer__motto {
  margin: 0;
  font-family: var(--serif);
  color: var(--gold-light);
}

.footer__info {
  margin: 0.15rem 0 0;
  font-size: 0.94rem;
}

.footer__legal {
  margin: 0.65rem 0 0;
  font-size: 0.86rem;
  opacity: 0.72;
}

/* Lightbox viewer */

.viewer {
  width: min(960px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: none;
  background: transparent;
}

.viewer::backdrop {
  background: rgba(18, 40, 64, 0.92);
}

.viewer__frame {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.viewer__img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  border-radius: 12px;
  object-fit: contain;
}

.viewer__caption {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 0.95rem;
}

.viewer__close,
.viewer__prev,
.viewer__next {
  position: fixed;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
}

.viewer__close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  font-size: 1.75rem;
  line-height: 1;
}

.viewer__prev,
.viewer__next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
}

.viewer__prev {
  left: 1rem;
}

.viewer__next {
  right: 1rem;
}

/* Responsive */

@media (max-width: 960px) {
  .hero__layout,
  .about,
  .quote-block,
  .contact,
  .cards,
  .services {
    grid-template-columns: 1fr;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts__item:nth-child(2) {
    border-right: none;
  }

  .facts__item:nth-child(1),
  .facts__item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 160px;
  }

  .gallery__item,
  .gallery__item--wide,
  .gallery__item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hero__photo {
    order: -1;
  }
}

@media (max-width: 720px) {
  .header__menu-btn {
    display: flex;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1.25rem;
    background: rgba(250, 247, 242, 0.98);
    border-bottom: 1px solid var(--line);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .header__nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .header__nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(196, 168, 130, 0.18);
  }

  .header__nav a:last-child {
    border-bottom: none;
  }

  .header__call {
    margin-top: 0.75rem;
    text-align: center;
  }

  .header__inner {
    position: relative;
    flex-wrap: wrap;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .facts {
    grid-template-columns: 1fr;
  }

  .facts__item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .facts__item:last-child {
    border-bottom: none;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
}
