/* Breakpoints: tablet 768px, desktop 1024px (mobile-first, min-width) */

:root {
  /* Colors (kept from the Ombara template, approved in the mockup) */
  --color-primary: #0b2d4b;
  --color-dark: #0e263a;
  --color-navy-deep: #0b243b;
  --color-secondary: #c5a880;
  --color-gold: #f2c94c;
  --color-gold-hover: #f6d66f;
  --color-light: #fbfbf8;
  --color-sand: #f5f3ef;
  --color-cream: #efebdf;
  --color-panel: #f6f3ec;
  --color-white: #fff;
  --color-icon: rgba(107, 89, 74, 0.92);
  --color-text-soft: rgba(11, 45, 75, 0.7);
  --color-text-muted: rgba(11, 45, 75, 0.62);
  --color-line: rgba(11, 45, 75, 0.1);
  --color-success-bg: rgba(40, 167, 69, 0.08);
  --color-success-line: rgba(40, 167, 69, 0.18);
  --color-success-text: #1f6f3a;

  /* Fonts */
  --font-heading: "Cormorant Garamond", serif;
  --font-base: "Inter", sans-serif;
  --font-accent: "Allura", cursive;

  /* Font sizes */
  --fs-base: 1rem;
  --fs-small: 0.85rem;
  --fs-xsmall: 0.75rem;
  --fs-section-title: clamp(2.5rem, 6vw, 4rem);
  --fs-accent: 2.5rem;
  --fs-card-title: 2rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Widths */
  --width-inner: 1320px;
  --width-intro: 760px;

  /* Radius & shadows */
  --radius-pill: 999px;
  --radius-input: 4px;
  --shadow-panel: 0 18px 48px rgba(11, 45, 75, 0.08);
  --shadow-panel-lg: 0 24px 60px rgba(11, 45, 75, 0.08);
  --shadow-dropdown: 0 10px 30px rgba(0, 0, 0, 0.1);

  /* Motion (template easings) */
  --ease-reveal: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-curtain: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.2s;
  --duration-base: 0.4s;
  --duration-slow: 0.8s;
  --opacity-hover: 0.7;
}

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

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  color: var(--color-primary);
  background: var(--color-light);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

p {
  margin: 0 0 1rem;
  line-height: 1.6;
  font-weight: 300;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-primary);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.text-center {
  text-align: center;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 100001;
  padding: 0.6rem 1rem;
  background: var(--color-gold);
  color: var(--color-primary);
  font-weight: 600;
}

.skip-link:focus-visible {
  top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
