/* ============================================
   KALLAVI — Style
   Premium Turkish Frozen Specialties
   ============================================ */

:root {
  --red: #C0392B;
  --red-dark: #96281B;
  --dark: #1A1A2E;
  --gold: #E67E22;
  --gold-light: #F0A04B;
  --cream: #F9F5F0;
  --cream-dark: #EDE8E0;
  --text: #1A1A2E;
  --text-light: #4A4A5A;
  --white: #FAFAF8;

  --h1: clamp(2.5rem, 6vw, 5rem);
  --h2: clamp(1.8rem, 3.5vw, 2.8rem);
  --h3: clamp(1.2rem, 2vw, 1.5rem);
  --body: 1rem;
  --small: 0.875rem;

  --lh-heading: 1.1;
  --lh-body: 1.6;
  --ls-heading: -0.02em;
  --ls-caps: 0.1em;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
}

/* ---- RESET ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: var(--body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  font-weight: 700;
}

/* ---- LAYOUT ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.25s ease;
  letter-spacing: 0.02em;
  min-height: 48px;
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  }
}

.btn--white {
  background: var(--white);
  color: var(--red);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn--dark {
  background: var(--dark);
  color: var(--white);
}
.btn--red {
  background: var(--red);
  color: var(--white);
}
.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--full {
  width: 100%;
}

/* ---- SECTION HEADERS ---- */
.section-header { margin-bottom: 48px; }
.section-header--left { text-align: left; }

.section-label {
  display: inline-block;
  font-size: var(--small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: var(--red);
  margin-bottom: 12px;
}
.section-label--light { color: rgba(255,255,255,0.7); }
.section-label--gold { color: var(--gold); }

.section-title {
  font-size: var(--h2);
  color: var(--text);
}
.section-title--light { color: var(--white); }


/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(192, 57, 43, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1001;
}

.nav__links {
  display: flex;
  gap: 32px;
}
.nav__link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width 0.3s var(--ease-out);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-btn {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 6px;
  transition: color 0.2s;
}
.lang-btn.active { color: var(--white); }
.lang-btn:hover { color: var(--white); }
.lang-sep { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}
.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
  border-radius: 1px;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--red);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }
  .nav__links.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav__links .nav__link {
    font-size: 1.4rem;
    color: var(--white);
  }
  .nav__burger { display: flex; }
}


/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--red);
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 40%, rgba(230,126,34,0.12) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(26,26,46,0.15) 0%, transparent 40%);
  z-index: 0;
}

/* Subtle texture pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 32px 32px;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 64px;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero__content {
  max-width: 620px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: var(--small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.hero__headline {
  font-size: var(--h1);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero__sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.5;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Trust badges */
.hero__trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-badge {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
}

/* Decorative circles */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.hero__circle {
  width: clamp(280px, 30vw, 420px);
  height: clamp(280px, 30vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(230,126,34,0.25), rgba(192,57,43,0.4));
  border: 2px solid rgba(255,255,255,0.08);
  position: absolute;
}
.hero__circle--sm {
  width: clamp(120px, 12vw, 180px);
  height: clamp(120px, 12vw, 180px);
  bottom: 10%;
  right: -5%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08), rgba(192,57,43,0.2));
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  animation: heroScroll 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes heroScroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 120px;
    padding-bottom: 100px;
    min-height: auto;
  }
  .hero__visual { display: none; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .hero__trust { gap: 10px; }
  .trust-badge { font-size: 0.7rem; padding: 5px 8px; }
}


/* ============================================
   PRODUCTS
   ============================================ */
.products {
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
  background: var(--cream);
}

/* Filter bar */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  background: transparent;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* Product grid — asymmetric */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(192,57,43,0.12);
  }
}

.product-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.product-card__img {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card--featured .product-card__img {
  min-height: 280px;
}

.product-card__emoji {
  font-size: 4rem;
  filter: grayscale(0.15) brightness(1.1);
  opacity: 0.8;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.product-card--featured .product-card__emoji {
  font-size: 5.5rem;
}
.product-card:hover .product-card__emoji {
  transform: scale(1.1);
  opacity: 1;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  color: var(--white);
}
.product-badge--best { background: var(--gold); }
.product-badge--vegan { background: #2D6A4F; }
.product-badge--veg { background: #D4A017; }

.product-card__body {
  padding: 24px;
}
.product-card--featured .product-card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card__name {
  font-size: var(--h3);
  margin-bottom: 2px;
}
.product-card__name-tr {
  font-size: var(--small);
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 12px;
}
.product-card__desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Product filter transitions */
.product-card.filter-hide {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}
.product-card.filter-show {
  opacity: 1;
  transform: scale(1);
  position: relative;
  visibility: visible;
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-card--featured {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .product-card--featured {
    grid-column: 1 / 3;
  }
}


/* ============================================
   USP
   ============================================ */
.usp {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--white);
}

.usp-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.usp-card {
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1px solid rgba(0,0,0,0.04);
}
.usp-card--main {
  padding: clamp(36px, 5vw, 56px);
  background: var(--red);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.usp-card--main::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.usp-card--main .usp-card__icon { color: var(--white); }
.usp-card--main .usp-card__title { color: var(--white); }
.usp-card--main .usp-card__text { color: rgba(255,255,255,0.85); }

.usp-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.usp-card__icon {
  color: var(--red);
  margin-bottom: 16px;
}

.usp-card__title {
  font-size: var(--h3);
  margin-bottom: 8px;
}
.usp-card__text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .usp-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   HOW-TO (Zubereitung)
   ============================================ */
.howto {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--red);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.howto::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 24px 24px;
}

.howto-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  position: relative;
  z-index: 1;
}

.howto-step {
  position: relative;
  text-align: left;
}

.howto-step__num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  position: absolute;
  top: -20px;
  left: -8px;
  line-height: 1;
  z-index: 0;
  user-select: none;
}

.howto-step__icon {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.howto-step__title {
  font-size: var(--h3);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.howto-step__text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  position: relative;
  z-index: 1;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .howto-steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}


/* ============================================
   DISTRIBUTION (Wo kaufen)
   ============================================ */
.distribution {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--cream);
}

.dist-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

.dist-card {
  padding: clamp(32px, 4vw, 48px);
  border-radius: var(--radius-md);
  text-align: left;
  border: 1px solid rgba(0,0,0,0.06);
}
.dist-card--kaufland {
  background: linear-gradient(135deg, #FFF8E1, #FFF3CD);
}
.dist-card--netto {
  background: linear-gradient(135deg, #FDE8E8, #FBCFCF);
}

.dist-card__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}
.dist-card__text {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .dist-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   B2B
   ============================================ */
.b2b {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.b2b__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}

.b2b__text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 520px;
}

.b2b__benefits {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.b2b__benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.b2b__benefit-icon {
  color: var(--gold);
  flex-shrink: 0;
  display: flex;
}

.b2b__targets {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.b2b__target {
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  font-size: var(--small);
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}

.b2b__visual {
  position: relative;
  min-height: 300px;
}
.b2b__deco {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(230,126,34,0.2), rgba(26,26,46,0.4));
  border: 2px solid rgba(230,126,34,0.12);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.b2b__deco--sm {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 80%;
  background: radial-gradient(circle at 50% 50%, rgba(230,126,34,0.15), rgba(26,26,46,0.1));
  border-color: rgba(230,126,34,0.08);
}

@media (max-width: 768px) {
  .b2b__inner { grid-template-columns: 1fr; }
  .b2b__visual { display: none; }
}


/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(6rem, 12vw, 10rem);
  background: var(--cream);
}

.about__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.about__text {
  font-size: 1.02rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.65;
  max-width: 520px;
}

.about__counters {
  display: flex;
  gap: clamp(32px, 5vw, 56px);
  margin-top: 40px;
}
.about__counter {
  text-align: left;
}
.counter-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--red);
  display: block;
  line-height: 1.1;
}
.counter-label {
  font-size: var(--small);
  color: var(--text-light);
  margin-top: 4px;
  display: block;
}

/* Decorative */
.about__visual {
  position: relative;
  min-height: 320px;
}
.about__deco-block {
  width: 80%;
  height: 70%;
  background: var(--red);
  border-radius: var(--radius-md);
  position: absolute;
  top: 10%;
  right: 0;
  opacity: 0.08;
}
.about__deco-pattern {
  width: 60%;
  height: 50%;
  position: absolute;
  top: 25%;
  right: 10%;
  background-image: radial-gradient(circle, var(--red) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.15;
}

@media (max-width: 768px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { display: none; }
  .about__counters { gap: 24px; }
}


/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.form-group label {
  font-size: var(--small);
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.08);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231A1A2E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-error {
  font-size: 0.8rem;
  color: var(--red);
  display: none;
}
.form-group.error .form-error {
  display: block;
}
.form-group.error input,
.form-group.error textarea {
  border-color: var(--red);
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}
.form-success h3 {
  margin-top: 16px;
  font-size: var(--h3);
  color: var(--text);
}
.form-success p {
  color: var(--text-light);
  margin-top: 8px;
}

/* Contact info */
.contact__info {
  padding-top: 80px;
}
.contact__info-block {
  margin-bottom: 32px;
}
.contact__info-block h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.contact__info-block h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: var(--small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: var(--text-light);
  margin-bottom: 8px;
}
.contact__info-block p {
  color: var(--text-light);
  font-style: italic;
  line-height: 1.5;
}
.contact__info-block a {
  color: var(--red);
  font-weight: 500;
}
.contact__info-block a:hover {
  text-decoration: underline;
}
.contact__socials {
  display: flex;
  gap: 16px;
}
.contact__socials a {
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.2s;
}
.contact__socials a:hover { color: var(--red); }

@media (max-width: 768px) {
  .contact__inner { grid-template-columns: 1fr; }
  .contact__info { padding-top: 40px; }
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}
.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  max-width: 280px;
  line-height: 1.5;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--white); }

.footer__social {
  display: flex;
  gap: 16px;
  align-items: start;
}
.footer__social a {
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
  display: flex;
}
.footer__social a:hover { color: var(--white); }

.footer__bottom {
  padding: 24px 0;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__social { margin-top: -8px; }
}

/* ---- SAFE AREAS ---- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer__bottom {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
}

/* ---- FOCUS STATES ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ---- SELECTION ---- */
::selection {
  background: var(--red);
  color: var(--white);
}