/* === Reset & Base === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color-primary: #1a365d;
  --color-primary-light: #2c5282;
  --color-accent: #c9a227;
  --color-text: #1a202c;
  --color-text-muted: #4a5568;
  --color-bg: #f7fafc;
  --color-white: #ffffff;
  --font-system: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --container-max: 1100px;
  --section-padding: clamp(3rem, 8vw, 5rem);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-system);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

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

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

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

/* === Cookie Notice === */
.cookie-notice {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(26, 54, 93, 0.97);
  backdrop-filter: blur(8px);
}

.cookie-notice.is-hidden {
  display: none;
}

.cookie-notice-inner {
  max-width: 420px;
  background: var(--color-white);
  padding: 1.75rem;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
}

.cookie-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  flex: 1;
  min-width: 100px;
}

.cookie-deny {
  color: var(--color-text) !important;
  border-color: var(--color-text-muted);
}

.page-wrap.cookie-blocked {
  visibility: hidden;
  pointer-events: none;
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 54, 93, 0.95);
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  min-height: 3.5rem;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--color-white);
}

.nav-cta {
  background: var(--color-accent);
  color: var(--color-primary) !important;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  font-weight: 600;
}

.nav-cta:hover {
  background: #d4af37;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-white);
  aria-label: hidden;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 3.5rem;
    left: 0;
    right: 0;
    background: var(--color-primary);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a {
    display: block;
    padding: 0.9rem;
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }
}

/* === Hero (Parallax) === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-parallax {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 769px) {
  .hero-parallax {
    background-attachment: fixed;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 54, 93, 0.92) 0%,
    rgba(26, 54, 93, 0.78) 50%,
    rgba(44, 82, 130, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.hero-subline {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  color: var(--color-accent);
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.hero-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 28rem;
  margin: 0 auto 0.5rem;
}

.hero-cta-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn-primary:hover {
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

/* === Services === */
.services {
  padding: var(--section-padding) 0;
  background: var(--color-white);
}

.services h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 2rem;
}

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

.service-card {
  background: var(--color-bg);
  padding: 1.75rem;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 54, 93, 0.08);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
}

.service-card p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* === CTA === */
.cta {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  text-align: center;
}

.cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 1rem;
}

.cta-text {
  max-width: 36rem;
  margin: 0 auto 0.5rem;
  opacity: 0.95;
}

.cta-prices {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 1.5rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: var(--color-white);
  transition: background 0.2s;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* === Footer === */
.footer {
  padding: 1.5rem 0;
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-size: 0.9rem;
}

.footer p {
  margin: 0.35rem 0;
}

.footer a {
  color: var(--color-accent);
}

.footer a:hover {
  text-decoration: underline;
}
