:root {
  --molten-lava: #780000ff;
  --brick-red: #c1121fff;
  --papaya-whip: #fdf0d5ff;
  --deep-space-blue: #003049ff;
  --steel-blue: #669bbcff;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 48, 73, 0.18);
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Chivo", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--deep-space-blue);
  background: var(--papaya-whip);
}

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

input, select, textarea { max-width: 100%; }

.split > *, .contact-grid > * { min-width: 0; }

h1, h2, h3, h4 {
  font-family: "Bodoni Moda", serif;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--deep-space-blue);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--brick-red); text-underline-offset: 3px; }
a:hover { color: var(--molten-lava); }

:focus-visible { outline: 3px solid var(--steel-blue); outline-offset: 3px; }

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

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brick-red); color: var(--white); padding: 10px 16px; z-index: 300;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--deep-space-blue);
  border-bottom: 4px solid var(--brick-red);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }

.brand {
  font-family: "Bodoni Moda", serif; font-weight: 800; font-size: 1.6rem;
  color: var(--papaya-whip); text-decoration: none; letter-spacing: -0.5px;
}
.brand span { color: var(--steel-blue); font-style: italic; }
.brand:hover { color: var(--white); }

.nav-list { display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--papaya-whip); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { background: var(--brick-red); color: var(--white); }

.nav-toggle {
  display: none; background: transparent; border: 2px solid var(--papaya-whip);
  color: var(--papaya-whip); border-radius: 8px; padding: 8px 14px;
  font: inherit; font-weight: 700; cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block; padding: 14px 30px; border: 3px solid var(--brick-red);
  background: var(--brick-red); color: var(--white); border-radius: 999px;
  font: inherit; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  text-decoration: none; cursor: pointer; transition: transform 0.2s, background 0.2s;
}
.btn:hover { background: var(--molten-lava); border-color: var(--molten-lava); color: var(--white); transform: translateY(-3px) rotate(-1deg); }
.btn-outline { background: transparent; color: var(--papaya-whip); border-color: var(--papaya-whip); }
.btn-outline:hover { background: var(--papaya-whip); color: var(--deep-space-blue); border-color: var(--papaya-whip); }

/* Hero */
.hero {
  position: relative; width: 100%; min-height: 80vh;
  display: flex; align-items: center; color: var(--papaya-whip); overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0, 48, 73, 0.88) 25%, rgba(120, 0, 0, 0.45) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 80px 0; max-width: 720px; }
.hero h1 { color: var(--papaya-whip); }
.hero h1 em { color: var(--steel-blue); }
.hero p { font-size: 1.2rem; max-width: 560px; }
.hero-badge {
  display: inline-block; background: var(--brick-red); color: var(--white);
  padding: 6px 16px; border-radius: 999px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 2px; font-size: 0.8rem; margin-bottom: 20px; transform: rotate(-2deg);
}

.page-hero {
  background: var(--deep-space-blue); color: var(--papaya-whip);
  padding: 70px 0 60px; border-bottom: 6px solid var(--brick-red);
}
.page-hero h1 { color: var(--papaya-whip); margin-bottom: 0.3em; }
.page-hero p { max-width: 720px; font-size: 1.15rem; margin: 0; }

/* Ticker */
.ticker { background: var(--brick-red); color: var(--white); padding: 14px 0; overflow: hidden; }
.ticker-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px; list-style: none; margin: 0; padding: 0;
  font-family: "Bodoni Moda", serif; font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 2px;
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--deep-space-blue); color: var(--papaya-whip); }
.section-dark h2, .section-dark h3 { color: var(--papaya-whip); }
.section-dark a { color: var(--steel-blue); }
.section-head { max-width: 700px; margin-bottom: 40px; }
.eyebrow {
  display: inline-block; color: var(--brick-red); font-weight: 800; text-transform: uppercase;
  letter-spacing: 3px; font-size: 0.8rem; margin-bottom: 10px;
}
.section-dark .eyebrow { color: var(--steel-blue); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-height: 640px; object-fit: cover; }
.split-reverse > :first-child { order: 2; }

.text-link { font-weight: 800; text-decoration: none; border-bottom: 3px solid var(--brick-red); padding-bottom: 2px; }
.text-link:hover { border-color: var(--molten-lava); }
.link-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.link-list a { font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--brick-red); }

/* Services - column flex */
.services-list { display: flex; flex-direction: column; gap: 20px; }
.service-card {
  display: flex; align-items: center; gap: 24px; background: var(--white);
  border: 3px solid var(--deep-space-blue); border-radius: var(--radius);
  padding: 24px 28px; box-shadow: 6px 6px 0 var(--steel-blue);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--brick-red); }
.service-num { font-family: "Bodoni Moda", serif; font-size: 2.6rem; font-weight: 800; color: var(--brick-red); min-width: 64px; }
.service-body { flex: 1; }
.service-body h3 { margin-bottom: 0.2em; }
.service-body p { margin: 0; }
.service-price {
  background: var(--brick-red); color: var(--white); padding: 12px 20px; border-radius: 999px;
  font-family: "Bodoni Moda", serif; font-weight: 800; font-size: 1.3rem; white-space: nowrap; text-align: center;
}
.service-price small { display: block; font-family: "Chivo", sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.price-note { margin-top: 24px; font-size: 0.95rem; opacity: 0.85; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body p { flex: 1; }
.tag {
  align-self: flex-start; background: var(--steel-blue); color: var(--deep-space-blue);
  font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.5s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 48, 73, 0.92)); color: var(--papaya-whip); font-weight: 700;
}

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: "Bodoni Moda", serif; font-size: 3rem; color: var(--brick-red); }
.section-dark .stat strong { color: var(--steel-blue); }

/* Carousel */
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--deep-space-blue); }
.carousel-track { position: relative; height: 560px; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.7s; }
.carousel-slide.is-active { opacity: 1; visibility: visible; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.carousel-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 50px 70px; color: var(--papaya-whip);
  background: linear-gradient(to top, rgba(0, 48, 73, 0.95) 5%, rgba(120, 0, 0, 0.25) 70%, rgba(0, 0, 0, 0) 100%);
}
.carousel-overlay blockquote { margin: 0 0 14px; font-family: "Bodoni Moda", serif; font-size: clamp(1.2rem, 2.6vw, 2rem); font-style: italic; max-width: 760px; }
.carousel-overlay cite { font-style: normal; font-weight: 800; color: var(--steel-blue); }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--papaya-whip);
  background: rgba(0, 48, 73, 0.6); color: var(--papaya-whip); font-size: 1.4rem; cursor: pointer;
}
.carousel-btn:hover { background: var(--brick-red); }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-dots { position: absolute; bottom: 18px; right: 30px; z-index: 3; display: flex; gap: 8px; }
.carousel-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--papaya-whip); background: transparent; cursor: pointer; padding: 0; }
.carousel-dot.is-active { background: var(--brick-red); border-color: var(--brick-red); }

/* CTA band */
.cta-band { background: var(--brick-red); color: var(--white); text-align: center; padding: 70px 0; }
.cta-band h2 { color: var(--white); }
.cta-band .btn { background: var(--papaya-whip); color: var(--molten-lava); border-color: var(--papaya-whip); }
.cta-band .btn:hover { background: var(--deep-space-blue); border-color: var(--deep-space-blue); color: var(--white); }

/* Forms */
.form-wrap { background: var(--white); border: 3px solid var(--deep-space-blue); border-radius: var(--radius); padding: 32px; box-shadow: 8px 8px 0 var(--steel-blue); }
.field { margin-bottom: 20px; display: flex; flex-direction: column; }
.field label { font-weight: 800; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border: 2px solid var(--deep-space-blue); border-radius: 10px;
  background: var(--papaya-whip); color: var(--deep-space-blue);
}
.field input.is-invalid, .field textarea.is-invalid, .field select.is-invalid { border-color: var(--brick-red); background: #fff3f3; }
.field-error { color: var(--brick-red); font-weight: 700; font-size: 0.9rem; min-height: 1.2em; margin-top: 4px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-details { font-style: normal; }
.contact-details p { margin-bottom: 14px; }

/* FAQ */
.faq details { background: var(--white); border: 2px solid var(--deep-space-blue); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 14px; }
.faq summary { font-family: "Bodoni Moda", serif; font-weight: 700; font-size: 1.2rem; cursor: pointer; }
.faq details[open] { box-shadow: 5px 5px 0 var(--brick-red); }
.faq details p { margin: 14px 0 0; }

/* Legal / article */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.breadcrumbs { font-size: 0.9rem; margin-bottom: 14px; }
.breadcrumbs a { color: var(--steel-blue); }

/* Footer */
.site-footer { background: var(--deep-space-blue); color: var(--papaya-whip); padding: 60px 0 0; border-top: 6px solid var(--brick-red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h3 { color: var(--steel-blue); font-size: 1.1rem; }
.site-footer a { color: var(--papaya-whip); text-decoration: none; }
.site-footer a:hover { color: var(--steel-blue); text-decoration: underline; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-address { font-style: normal; }
.footer-bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(253, 240, 213, 0.25); text-align: center; font-size: 0.9rem; }

/* Toast + modal + cookies */
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 500; display: flex; flex-direction: column; gap: 10px; max-width: calc(100% - 40px); }
.toast {
  background: var(--deep-space-blue); color: var(--papaya-whip); border-left: 6px solid var(--steel-blue);
  padding: 14px 20px; border-radius: 10px; box-shadow: var(--shadow); font-weight: 700; max-width: 380px;
  animation: toast-in 0.3s ease;
}
.toast-success { border-left-color: #3fa66b; }
.toast-error { border-left-color: var(--brick-red); }
@keyframes toast-in { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0, 48, 73, 0.75); z-index: 600;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.is-open { display: flex; }
.modal { background: var(--papaya-whip); border: 3px solid var(--brick-red); border-radius: var(--radius); padding: 32px; max-width: 480px; width: 100%; text-align: center; }
.modal h2 { font-size: 1.8rem; }

.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 400; max-width: 460px;
  background: var(--papaya-whip); border: 3px solid var(--deep-space-blue); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.cookie-banner p { font-size: 0.95rem; margin-bottom: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { padding: 10px 20px; font-size: 0.85rem; }
.cookie-actions .btn-outline { color: var(--deep-space-blue); border-color: var(--deep-space-blue); }
.cookie-actions .btn-outline:hover { background: var(--deep-space-blue); color: var(--papaya-whip); }
.is-hidden { display: none !important; }

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .brand { font-size: clamp(1.15rem, 5vw, 1.6rem); }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--deep-space-blue); display: none; padding: 10px 20px 20px; border-bottom: 4px solid var(--brick-red); }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .split-reverse > :first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .carousel-track { height: 480px; }
  .carousel-overlay { padding: 30px 30px 60px; }
}

@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  .section { padding: 56px 0; }
  .hero { min-height: 70vh; }
  .service-card { flex-direction: column; align-items: flex-start; }
  .service-price { align-self: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .carousel-track { height: 440px; }
  .carousel-btn { width: 40px; height: 40px; }
  .carousel-overlay { padding: 20px 20px 56px; }
  .carousel-dots { right: 50%; transform: translateX(50%); }
  .form-wrap { padding: 22px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; max-width: none; }
}

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