/* =========================================
   CONTESTO — Main Stylesheet
   Fonts: Spectral (display) + Plus Jakarta Sans (body)
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy:       #272A69;
  --navy-dark:  #1a1d4a;
  --navy-mid:   #323680;
  --red:        #CE2127;
  --red-light:  #e8383e;
  --white:      #ffffff;
  --off-white:  #f5f6fa;
  --light-grey: #eaecf4;
  --mid-grey:   #8892b0;
  --text-dark:  #1a1f3c;
  --text-body:  #3a4160;

  --font-display: 'Spectral', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(39,42,105,0.10);
  --shadow-lg: 0 8px 48px rgba(39,42,105,0.16);

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 76px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* =========================================
   PAGE TRANSITION CURTAIN
   ========================================= */
.page-curtain {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  transform: scaleY(1);
  transform-origin: bottom;
  transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}
.page-curtain.out {
  transform: scaleY(0);
  transform-origin: bottom;
}
.page-curtain__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: opacity 0.3s ease;
}
.page-curtain.out .page-curtain__logo { opacity: 0; }
.page-curtain__logo-img {
  height: 52px;
  width: auto;
  display: block;
}

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-grey);
  display: flex;
  align-items: center;
  padding: 0 5%;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(39,42,105,0.07);
  transition: box-shadow var(--transition), background var(--transition);
}
.nav.scrolled {
  box-shadow: 0 4px 24px rgba(39,42,105,0.13);
  background: rgba(255,255,255,0.99);
}

/* Logo */
.nav__logo { display: flex; align-items: center; }
.nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity var(--transition), transform var(--transition);
}
.nav__logo:hover .nav__logo-img { opacity: 0.85; transform: scale(1.03); }

/* Desktop links */
.nav__links { display: flex; align-items: center; }
.nav__links > a,
.nav__links > .nav__dropdown > .nav__dropdown-toggle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 6px 18px;
  border-right: 1px solid var(--light-grey);
  transition: color var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border-top: none;
  border-bottom: none;
  border-left: none;
  font-family: var(--font-body);
  white-space: nowrap;
}
.nav__links > *:last-child > .nav__dropdown-toggle,
.nav__links > a:last-child { border-right: none; }

.nav__links > a::after,
.nav__links > .nav__dropdown > .nav__dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 18px; right: 18px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav__links > a:hover,
.nav__links > .nav__dropdown > .nav__dropdown-toggle:hover { color: var(--navy); }
.nav__links > a:hover::after,
.nav__links > .nav__dropdown:hover > .nav__dropdown-toggle::after,
.nav__links > a.nav-active::after { transform: scaleX(1); }
.nav__links > a.nav-active { color: var(--navy); font-weight: 700; }

/* Services dropdown chevron */
.nav__dropdown-chevron {
  width: 12px; height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.nav__dropdown:hover .nav__dropdown-chevron { transform: rotate(180deg); }

/* Dropdown panel */
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(39,42,105,0.16);
  border: 1px solid var(--light-grey);
  min-width: 260px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 100;
}
/* Bridge gap between button and menu so mouse movement doesn't trigger close */
.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0; right: 0;
  height: 12px;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.nav__dropdown-menu a:hover {
  background: var(--off-white);
  color: var(--navy);
  padding-left: 18px;
}
.nav__dropdown-menu a::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}
.nav__dropdown-divider {
  height: 1px;
  background: var(--light-grey);
  margin: 6px 8px;
}

/* Right side */
.nav__right { display: flex; align-items: center; gap: 20px; }
.nav__phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--navy); font-weight: 600; font-size: 0.9rem;
  transition: color var(--transition);
}
.nav__phone svg { width: 16px; height: 16px; fill: var(--red); flex-shrink: 0; }
.nav__phone:hover { color: var(--red); }
.nav__toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 4px; flex-direction: column; gap: 5px;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: var(--transition);
}

/* =========================================
   HERO BANNER
   ========================================= */
.hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 80px) 5% 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridDrift 20s linear infinite;
  pointer-events: none;
}
@keyframes gridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}
.hero__content { position: relative; z-index: 1; max-width: 920px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  margin-bottom: 20px; opacity: 0;
  animation: heroFadeUp 0.8s 0.2s ease forwards;
}
.hero__eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--red);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700;
  color: var(--white); line-height: 1.18; margin-bottom: 22px;
  letter-spacing: -0.025em; opacity: 0;
  animation: heroFadeUp 0.9s 0.35s ease forwards;
}
.hero__title em { font-style: italic; font-weight: 300; color: rgba(255,255,255,0.75); }
.hero__sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.65); font-weight: 300;
  letter-spacing: 0.01em; max-width: 520px; opacity: 0;
  animation: heroFadeUp 0.9s 0.5s ease forwards;
}
.hero__actions {
  margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: heroFadeUp 0.9s 0.65s ease forwards;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__shape { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero__shape--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(206,33,39,0.12) 0%, transparent 70%);
  right: -100px; top: -100px;
  animation: float1 12s ease-in-out infinite;
}
.hero__shape--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  left: 40%; bottom: -50px;
  animation: float2 16s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%       { transform: translate(-30px, 20px) scale(1.05); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0); }
  50%       { transform: translate(20px, -30px); }
}

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 56px) 5% 56px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero__label {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-light);
  margin-bottom: 12px; opacity: 0;
  animation: heroFadeUp 0.7s 0.1s ease forwards;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem); font-weight: 700;
  color: var(--white); line-height: 1.2; margin-bottom: 16px;
  letter-spacing: -0.02em; opacity: 0;
  animation: heroFadeUp 0.8s 0.25s ease forwards;
}
.page-hero__sub {
  font-size: 1rem; color: rgba(255,255,255,0.65); max-width: 540px;
  opacity: 0; animation: heroFadeUp 0.8s 0.4s ease forwards;
}
.page-hero__line {
  width: 0; height: 3px; background: var(--red); border-radius: 2px;
  margin: 20px 0 0; animation: lineGrow 0.8s 0.6s ease forwards;
}
@keyframes lineGrow { to { width: 64px; } }

/* =========================================
   LEGAL PAGE CONTENT
   ========================================= */
.legal-content {
  margin: 0 auto;
  padding: 72px 5%;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin: 40px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--light-grey);
}
.legal-content h2:first-of-type { border-top: none; margin-top: 0; }
.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: 24px 0 8px;
}
.legal-content p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}
.legal-content ul li {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 6px;
}
.legal-content a { color: var(--red); text-decoration: underline; }
.legal-content a:hover { color: var(--navy); }
.legal-last-updated {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid-grey);
  margin-bottom: 32px;
}

/* =========================================
   SECTIONS
   ========================================= */
.section { padding: 88px 5%; }
.section--grey { background: var(--off-white); }
.section--navy { background: var(--navy); }

.section__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.section__label::before {
  content: ''; width: 18px; height: 1.5px; background: var(--red); display: inline-block;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700;
  color: var(--navy); line-height: 1.22; margin-bottom: 16px; letter-spacing: -0.02em;
}
.section__title--white { color: var(--white); }
.section__title-line {
  width: 48px; height: 3px; background: var(--red); margin: 0 0 24px; border-radius: 2px;
}
.section__body {
  font-size: 1rem; color: var(--text-body); max-width: 560px; line-height: 1.8;
}

/* =========================================
   FEATURE BLOCK
   ========================================= */
.feature-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.feature-block--reverse .feature-block__image { order: 2; }
.feature-block--reverse .feature-block__content { order: 1; }
.feature-block__image {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
}
.feature-block__image::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(39,42,105,0.08); pointer-events: none;
}
.feature-block__image img {
  width: 100%; height: 360px; object-fit: cover; display: block;
  transition: transform 0.7s ease;
}
.feature-block__image:hover img { transform: scale(1.03); }
.feature-block__list { margin-top: 22px; display: flex; flex-direction: column; gap: 0px; }
.feature-block__list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.925rem; color: var(--text-body); line-height: 1;
  padding: 10px 14px; border-radius: var(--radius); transition: background var(--transition);
}
.feature-block__list li:hover { background: var(--off-white); }
.feature-block__list li::before {
  content: ''; width: 6px; height: 6px; background: var(--red);
  border-radius: 50%; margin-top: 6px; flex-shrink: 0;
}

/* =========================================
   CARDS GRID
   ========================================= */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px; margin-top: 48px;
}
.card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  display: flex; flex-direction: column; border: 1px solid rgba(39,42,105,0.06);
}
.card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 20px 56px rgba(39,42,105,0.14); }
.card__image-wrap { overflow: hidden; height: 210px; position: relative; }
.card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s ease; }
.card:hover .card__image { transform: scale(1.07); }
.card__image-wrap::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, rgba(39,42,105,0.12), transparent); pointer-events: none;
}
.card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card__title {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  color: var(--navy); margin-bottom: 14px; line-height: 1.35;
}
.card__list { flex: 1; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.card__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; color: var(--text-body); line-height: 1.5;
}
.card__list li::before {
  content: ''; width: 5px; height: 5px; background: var(--red);
  border-radius: 50%; margin-top: 8px; flex-shrink: 0;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition);
  border: 2px solid transparent; text-decoration: none; position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Submit button inside form — no magnetic/lift effect */
.contact-form .btn {
  transform: none !important;
  transition: background var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.contact-form .btn:hover {
  transform: none !important;
  opacity: 0.9;
  box-shadow: 0 3px 12px rgba(39,42,105,0.2);
}

.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover {
  background: var(--navy-mid); border-color: var(--navy-mid);
  box-shadow: 0 6px 20px rgba(39,42,105,0.28);
}
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: var(--off-white); }
.btn--ghost-white {
  background: transparent; color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.35);
}
.btn--ghost-white:hover {
  background: rgba(255,255,255,0.1); color: white; border-color: rgba(255,255,255,0.6);
}
.btn--sm { padding: 8px 18px; font-size: 0.825rem; }

/* =========================================
   CTA BAND
   ========================================= */
.cta-band {
  background: var(--off-white); padding: 80px 5%;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(206,33,39,0.05) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.cta-band__label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mid-grey); margin-bottom: 12px;
}
.cta-band__title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700; color: var(--navy); margin-bottom: 14px; letter-spacing: -0.02em;
}
.cta-band__sub {
  font-size: 1rem; color: var(--mid-grey); margin-bottom: 36px;
  max-width: 460px; margin-left: auto; margin-right: auto; line-height: 1.7;
}

/* =========================================
   STAT STRIP
   ========================================= */
.stat-strip {
  background: var(--navy); padding: 48px 5%;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center; position: relative; overflow: hidden;
}
.stat-strip::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}
.stat__number {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 8px; position: relative;
}
.stat__label {
  font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* =========================================
   CONTACT
   ========================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.contact-info__item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-info__icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--light-grey);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.contact-info__item:hover .contact-info__icon {
  background: rgba(206,33,39,0.1); transform: scale(1.1);
}
.contact-info__icon svg { width: 18px; height: 18px; fill: var(--red); }
.contact-info__label {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--mid-grey); margin-bottom: 4px;
}
.contact-info__value { font-size: 0.95rem; color: var(--text-dark); font-weight: 500; }
.contact-info__value a:hover { color: var(--red); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; margin-top: 16px; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 240px; border: none; display: block; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.78rem; font-weight: 700; color: var(--text-dark);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.form-group label span { color: var(--red); }
.form-group input,
.form-group textarea {
  padding: 13px 16px; border: 1.5px solid var(--light-grey);
  border-radius: var(--radius); font-family: var(--font-body);
  font-size: 0.9rem; color: var(--text-dark); background: var(--off-white);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  outline: none; resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy); background: var(--white);
  box-shadow: 0 0 0 3px rgba(39,42,105,0.08);
}
.form-group textarea { min-height: 130px; }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 72px 5% 36px; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 52px; margin-bottom: 52px;
}
.footer__logo { display: flex; align-items: center; margin-bottom: 18px; }
.footer__logo-img { height: 40px; width: auto; display: block; }
.footer__tagline { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.7; }
.footer__col-title {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--white); margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.875rem; color: rgba(255,255,255,0.55);
  transition: color var(--transition), padding-left var(--transition);
}
.footer__links a:hover { color: var(--white); padding-left: 6px; }
.footer__contact-item {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.875rem;
}
.footer__contact-item svg { width: 15px; height: 15px; fill: var(--red); flex-shrink: 0; margin-top: 3px; }
.footer__contact-item a { color: rgba(255,255,255,0.7); }
.footer__contact-item a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 12px;
}
.footer__bottom a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--white); }

/* =========================================
   BREADCRUMB
   ========================================= */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { opacity: 0.35; }

/* =========================================
   MOBILE DRAWER
   ========================================= */
.nav__drawer { display: none; position: fixed; inset: 0; z-index: 999; pointer-events: none; }
.nav__drawer.open { pointer-events: all; display: block; }
.nav__drawer-bg {
  position: absolute; inset: 0; background: rgba(17,18,48,0.55);
  opacity: 0; transition: opacity 0.35s ease; backdrop-filter: blur(4px);
}
.nav__drawer.open .nav__drawer-bg { opacity: 1; }
.nav__drawer-panel {
  position: absolute; top: 0; right: 0; width: 300px; height: 100%;
  background: var(--white); padding: 88px 36px 36px;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.nav__drawer.open .nav__drawer-panel { transform: translateX(0); }
.nav__drawer-panel a,
.nav__drawer-panel .nav__drawer-sub a {
  font-size: 1rem; font-weight: 500; color: var(--navy);
  padding: 13px 0; border-bottom: 1px solid var(--light-grey); display: block;
  transition: padding-left var(--transition), color var(--transition);
}
.nav__drawer-panel a:hover,
.nav__drawer-panel a.nav-active { color: var(--red); padding-left: 8px; }
.nav__drawer-section-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid-grey); padding: 16px 0 4px; border-bottom: none !important;
}
.nav__drawer-sub a {
  padding-left: 12px !important; font-size: 0.9rem !important; color: var(--text-body) !important;
  border-bottom-color: var(--light-grey) !important;
}
.nav__drawer-sub a:hover { color: var(--red) !important; padding-left: 20px !important; }
.nav__drawer-close {
  position: absolute; top: 24px; right: 20px; background: none; border: none;
  cursor: pointer; padding: 6px; color: var(--navy); font-size: 1.6rem; line-height: 1;
  transition: transform var(--transition);
}
.nav__drawer-close:hover { transform: rotate(90deg); }

/* =========================================
   COOKIE CONSENT BAR
   ========================================= */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9998;
  background: var(--navy-dark);
  border-top: 3px solid var(--red);
  padding: 18px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar__text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  line-height: 1.6;
  flex: 1;
}
.cookie-bar__text a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-bar__text a:hover { color: var(--white); }
.cookie-bar__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-bar__accept {
  padding: 9px 22px;
  background: var(--red);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.cookie-bar__accept:hover { background: var(--red-light); transform: translateY(-1px); }
.cookie-bar__reject {
  padding: 9px 22px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.cookie-bar__reject:hover {
  background: rgba(255,255,255,0.08);
  color: white;
  border-color: rgba(255,255,255,0.5);
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.fade-up {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-right.visible { opacity: 1; transform: translateX(0); }
.scale-in {
  opacity: 0; transform: scale(0.93);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.scale-in.visible { opacity: 1; transform: scale(1); }
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.16s; }
.stagger > *:nth-child(4) { transition-delay: 0.24s; }
.stagger > *:nth-child(5) { transition-delay: 0.32s; }
.stagger > *:nth-child(6) { transition-delay: 0.40s; }

/* =========================================
   UTILITIES
   ========================================= */
.text-center { text-align: center; }
.text-center .section__title-line { margin: 0 auto 24px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 960px) {
  .nav__links,
  .nav__right > *:not(.nav__toggle) { display: none; }
  .nav__toggle { display: flex; }
  .nav__drawer { display: block; }
  .feature-block { grid-template-columns: 1fr; gap: 40px; }
  .feature-block--reverse .feature-block__image,
  .feature-block--reverse .feature-block__content { order: unset; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stat-strip   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 60px 5%; }
  .hero { padding: calc(var(--nav-h) + 56px) 5% 72px; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .cookie-bar { flex-direction: column; align-items: flex-start; }
  .cookie-bar__actions { width: 100%; }
  .cookie-bar__accept,
  .cookie-bar__reject { flex: 1; text-align: center; }
  .legal-content { padding: 48px 5%; }
}

/* =========================================
   FEATURED PRODUCTS (homepage)
   ========================================= */
.featured-products__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.featured-products__all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px; /* align with section title baseline */
}
.featured-products__grid {
  margin-top: 0;
}
/* Discount badge — absolute over card image */
.card {
  position: relative; /* ensure badge positions correctly */
}
.featured-products__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--red);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
/* Truncate long product titles to 2 lines */
.featured-products__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
/* Price */
.featured-products__price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.featured-products__price-orig {
  font-size: 0.82rem;
  color: var(--mid-grey);
  text-decoration: line-through;
}
.featured-products__price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}
/* Stock badge */
.featured-products__stock {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.featured-products__stock--in  { background: rgba(30,126,52,0.1);  color: #1e7e34; }
.featured-products__stock--out { background: var(--light-grey);    color: var(--mid-grey); }
/* CTA button */
.featured-products__btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* =========================================
   FEATURED PRODUCTS — CATEGORY TABS
   ========================================= */
.fp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.fp-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 24px;
  border: 1.5px solid var(--light-grey);
  background: white;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition),
              background var(--transition), box-shadow var(--transition);
}
.fp-tab:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.fp-tab--active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  box-shadow: 0 4px 14px rgba(39,42,105,0.22);
}
.fp-tab--active:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: white;
}
.fp-tab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  color: inherit;
  line-height: 1;
}
.fp-tab:not(.fp-tab--active) .fp-tab__count {
  background: var(--off-white);
  color: var(--mid-grey);
}

/* Grid — full-width horizontal scrolling row */
.fp-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  margin-top: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Hide scrollbar completely */
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-left: -5%;
  margin-right: -5%;
  padding-left: 5%;
  padding-right: 5%;
  /* Drag cursor */
  cursor: grab;
  user-select: none;
}
.fp-grid.is-dragging { cursor: grabbing; }
.fp-grid::-webkit-scrollbar { display: none; }

/* Cards — fixed pixel width, never shrink */
.fp-card {
  flex: 0 0 260px;
  width: 260px;
  scroll-snap-align: start;
}
.fp-card[hidden] { display: none; }

/* ---- Scroll arrow wrapper ---- */
.fp-scroller {
  position: relative;
}

/* Arrow row — sits below the grid, centered */
.fp-arrow-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.fp-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: white;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              opacity var(--transition);
  box-shadow: 0 4px 16px rgba(39,42,105,0.14);
  flex-shrink: 0;
}
.fp-arrow svg { width: 18px; height: 18px; flex-shrink: 0; }
.fp-arrow:hover {
  background: var(--navy);
  color: white;
  box-shadow: 0 6px 24px rgba(39,42,105,0.28);
}
.fp-arrow--left svg { transform: rotate(180deg); }
.fp-arrow[disabled] {
  opacity: 0.25;
  pointer-events: none;
}

/* Only show arrows on screens 1733px and smaller */
@media (min-width: 1734px) {
  .fp-arrow-row { display: none; }
}

@media (max-width: 768px) {
  .fp-card { flex: 0 0 72vw; width: 72vw; }
}
@media (max-width: 480px) {
  .fp-card { flex: 0 0 84vw; width: 84vw; }
}

/* Responsive tabs */
@media (max-width: 640px) {
  .fp-tabs { gap: 6px; }
  .fp-tab  { padding: 7px 14px; font-size: 0.8rem; }
}
