:root {
  --color-primary: #2C4A6E;
  --color-secondary: #F0E8D8;
  --color-accent: #B86B33;
  --color-neutral-dark: #162033;
  --color-neutral-light: #FBF8F0;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --maxw: 1180px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Typography === */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); margin: 0 0 1rem; font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 .75rem; }
p  { margin: 0 0 1rem; }

/* === Header === */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-neutral-dark);
  width: 26px;
}
.primary-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: .5rem;
  padding: .5rem 0 1rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-neutral-dark);
  padding: .5rem 0;
}
.primary-nav a[aria-current="page"] { color: var(--color-accent); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: auto;
    padding: 0;
  }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .9rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn--primary:hover { background: var(--color-neutral-dark); text-decoration: none; transform: translateY(-1px); }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-light); }
.btn--accent:hover { background: var(--color-neutral-dark); text-decoration: none; transform: translateY(-1px); }

/* === Hero centered === */
.hero-centered {
  text-align: center;
  padding: 3rem 1.25rem 4rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-centered h1 { max-width: 28ch; margin-inline: auto; }
.hero__sub {
  max-width: 48ch;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  color: var(--color-primary);
}
.hero__cta { margin-bottom: 3rem; }
.hero__figure { margin: 0; }
.hero__figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
}
@media (min-width: 768px) {
  .hero-centered { padding: 6rem 2rem 5rem; }
}

/* === Intro === */
.intro { background: var(--color-secondary); padding: 4rem 1.25rem; }
.intro__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.intro__inner p { font-size: 1.05rem; }
.intro__figure { margin: 2rem 0 0; }
.intro__figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
}

/* === Grid sections === */
.grid-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.grid-section__head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 2.5rem;
}
.grid-section__head p { color: var(--color-primary); font-size: 1.05rem; }
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(22, 32, 51, 0.1);
  padding: 1.75rem;
  border-radius: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
  display: block;
  color: inherit;
}
.card__icon {
  display: inline-block;
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: .75rem;
}
.card-link { text-decoration: none; }
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -20px rgba(22, 32, 51, 0.35);
  text-decoration: none;
}
.card h3 { color: var(--color-primary); }
.card p { font-size: .98rem; }

/* === Testimonial === */
.testimonial {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 4rem 1.25rem;
  text-align: center;
}
.testimonial blockquote {
  max-width: 760px;
  margin: 0 auto;
}
.testimonial p {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.45;
  margin-bottom: 1.5rem;
}
.testimonial cite {
  font-style: normal;
  font-size: .95rem;
  letter-spacing: .03em;
  opacity: .85;
}

/* === CTA band === */
.cta-band {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 4rem 1.25rem;
  text-align: center;
}
.cta-band__inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(251, 248, 240, 0.85); }

/* === FAQ === */
.faq {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.faq__head { text-align: center; margin-bottom: 2.5rem; }
.faq__list details {
  border-bottom: 1px solid rgba(22, 32, 51, 0.15);
  padding: 1.1rem 0;
}
.faq__list summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-primary);
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-accent);
}
.faq__list details[open] summary::after { content: "−"; }
.faq__list p { padding-top: .75rem; }

/* === Gallery === */
.gallery-section { max-width: var(--maxw); margin: 0 auto; padding: 4rem 1.25rem; }
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}

/* === Contact block === */
.contact-block { background: var(--color-secondary); padding: 4rem 1.25rem; }
.contact-block__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .contact-block__inner { grid-template-columns: 2fr 1fr; }
}
.contact-block__hours dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem 1rem;
  margin: 0;
}
.contact-block__hours dt { font-weight: 600; color: var(--color-primary); }
.contact-block__hours dd { margin: 0; }

/* === Form === */
.form-section { max-width: 720px; margin: 0 auto; padding: 4rem 1.25rem; }
.contact-form { display: grid; gap: .75rem; }
.contact-form label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-primary);
}
.contact-form input,
.contact-form textarea {
  padding: .75rem .9rem;
  border: 1px solid rgba(22, 32, 51, 0.2);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-neutral-light);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}
.contact-form button { justify-self: start; margin-top: .5rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 2rem;
}
.site-footer__cols {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .site-footer__cols { grid-template-columns: 1.2fr 1fr 1.3fr; }
}
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-neutral-light);
  margin-bottom: .5rem;
}
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a { color: var(--color-neutral-light); opacity: .85; }
.footer-nav a:hover { opacity: 1; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-legal { margin-top: 1rem; font-size: .9rem; }
.footer-legal a { color: var(--color-secondary); }
.copyright {
  max-width: var(--maxw);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(251, 248, 240, 0.15);
  font-size: .85rem;
  opacity: .7;
  text-align: center;
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: flex-start;
  z-index: 100;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.45);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner p { margin: 0; font-size: .92rem; }
.cookie-banner button {
  background: var(--color-accent);
  color: var(--color-neutral-light);
  border: 0;
  padding: .6rem 1.2rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
}
body.cookies-accepted .cookie-banner { display: none; }
@media (min-width: 600px) {
  .cookie-banner { flex-direction: row; align-items: center; }
}
