/* ============================================================
   Wama Consult ApS – Premium Equestrian Investment Style
   Palette + layout align with redesign brief
   ============================================================ */

:root {
  --wc-primary: #1a1a2e;
  --wc-secondary: #16213e;
  --wc-accent: #c9a86c;
  --wc-warm: #e8ddd0;
  --wc-cream: #fdfaf6;
  --wc-white: #ffffff;
  --wc-dark: #0f0f1a;
  --text-main: #1b1f2b;
  --text-muted: #5e6270;
  --border: rgba(26, 26, 46, 0.12);
  --border-strong: rgba(26, 26, 46, 0.18);
  --shadow-soft: 0 14px 40px rgba(15, 15, 26, 0.12);
  --shadow-card: 0 10px 24px rgba(17, 17, 34, 0.08);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --container: min(1200px, calc(100% - 48px));
  --transition: 180ms ease;
  --font-heading: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--wc-cream);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

a {
  color: var(--wc-accent);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: #b88b47;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  margin: 0 0 0.75rem;
  color: var(--wc-dark);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

h4 {
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

ul {
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.page {
  background: var(--wc-cream);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 64px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(201, 168, 108, 0.12);
  color: var(--wc-secondary);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-desc {
  max-width: 680px;
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.split {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
}

.surface {
  background: var(--wc-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.surface-muted {
  background: linear-gradient(135deg, #fffdf8, #f3ede2);
}

.card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--wc-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  height: 100%;
}

.card h3 {
  margin-bottom: 0.35rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-ghost {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.card-dark {
  background: var(--wc-primary);
  color: var(--wc-white);
  border-color: rgba(255, 255, 255, 0.1);
}

.card-dark p {
  color: rgba(255, 255, 255, 0.76);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(22, 33, 62, 0.08);
  color: var(--wc-secondary);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn:active {
  transform: translateY(0);
}

.btn-gold {
  background: linear-gradient(135deg, #c9a86c, #b78c48);
  color: var(--wc-white);
  border-color: #b78c48;
}

.btn-outline {
  border-color: var(--wc-accent);
  color: var(--wc-secondary);
  background: transparent;
}

.btn-dark {
  background: var(--wc-secondary);
  color: var(--wc-white);
}

.btn-light {
  background: var(--wc-white);
  color: var(--wc-primary);
  border-color: var(--border);
}

.btn-small {
  padding: 10px 14px;
  font-size: 0.95rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--wc-secondary);
}

.link-arrow::after {
  content: "→";
  transition: transform var(--transition);
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.wc-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 108, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--wc-white);
}

.wc-header .brand {
  gap: 0; /* Remove spacing now that the brand icon is hidden */
}

.wc-header .brand-mark {
  display: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(150deg, #2a3350, #1a1a2e);
  color: var(--wc-white);
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.04em;
  border: 1px solid rgba(201, 168, 108, 0.6);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--wc-white);
}

.brand-tagline {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--wc-accent);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 168, 108, 0.4);
}

.language-switcher button {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.language-switcher button.active {
  background: rgba(201, 168, 108, 0.16);
  color: var(--wc-white);
}

.hero {
  position: relative;
  padding: 140px 0 120px;
  color: var(--wc-white);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 15, 26, 0.9), rgba(26, 26, 46, 0.6));
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
}

.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-secondary {
  background: linear-gradient(150deg, #0f0f1a, #16213e);
}

.hero-compact {
  padding: 120px 0 80px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--wc-white);
  border: 1px solid rgba(201, 168, 108, 0.4);
  font-weight: 600;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "●";
  color: var(--wc-accent);
  font-size: 0.75rem;
  line-height: 1.6;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 28px 0 8px;
}

.stat {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(201, 168, 108, 0.1);
  border: 1px solid rgba(201, 168, 108, 0.35);
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--wc-secondary);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #111525;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.media-frame img {
  border-radius: var(--radius-lg);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.35));
}

.media-frame .caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: var(--wc-white);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.brand-tile {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--wc-white);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 8px;
}

.brand-tile span {
  color: var(--text-muted);
}

.news-grid,
.blog-grid,
.case-grid,
.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.news-card,
.blog-card {
  background: var(--wc-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-rows: auto 1fr;
}

.news-card .content,
.blog-card .content {
  padding: 20px 20px 24px;
}

.meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.list-border {
  display: grid;
  gap: 16px;
}

.list-border .item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cta-panel {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #1a1a2e, #16213e);
  color: var(--wc-white);
  border: 1px solid rgba(201, 168, 108, 0.4);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

form {
  display: grid;
  gap: 14px;
}

input,
textarea,
select {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--wc-white);
  font-family: var(--font-body);
  font-size: 1rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.gallery-grid img {
  border-radius: var(--radius-lg);
  height: 100%;
  object-fit: cover;
}

.gallery-grid .media-frame::after {
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.35));
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--wc-white);
}

.legal-content {
  background: var(--wc-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 32px;
  display: grid;
  gap: 14px;
  color: var(--text-muted);
}

.legal-content h2,
.legal-content h3 {
  margin-top: 12px;
}

.site-footer {
  background: var(--wc-primary);
  color: rgba(255, 255, 255, 0.88);
  padding: 64px 0 32px;
  margin-top: 64px;
  border-top: 1px solid rgba(201, 168, 108, 0.26);
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: #f2e5cf;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding: 120px 0 96px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero {
    padding: 110px 0 80px;
  }

  .section {
    padding: 72px 0;
  }
}
