/* ===== Design Tokens ===== */
:root {
  --color-red: #b81d24;
  --color-red-cta: #bb253d;
  --color-red-dark: #8b1a2b;
  --color-navy: #1b2a4a;
  --color-navy-dark: #0c1e36;
  --color-cream: #f6f1ea;
  --color-cream-light: #faf7f2;
  --color-gray: #62708a;
  --color-border: #e8e0d5;
  --color-icon-bg: #fdf1f2;
  --color-quote-mark: #e8e3d9;
  --color-white: #ffffff;
  --hero-overlay: rgba(5, 11, 24, 0.67);

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;

  --container-max: 1240px;
  --section-padding: 100px;
  --section-padding-x: 100px;
  --header-height: 93px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-eyebrow .accent-line {
  width: 40px;
  height: 3px;
  background: var(--color-red);
  flex-shrink: 0;
}

.section-eyebrow span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-red);
  letter-spacing: 0.02em;
}

.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-header .eyebrow {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-red);
  letter-spacing: 0.02em;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}

.section-header p {
  font-size: 16px;
  color: var(--color-gray);
  max-width: 620px;
  padding-bottom: 40px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero__navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 80px;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.hero__navbar.is-scrolled {
  background: rgba(12, 30, 54, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__navbar.is-scrolled.is-nav-open {
  background: var(--color-navy-dark);
}

.hero__logo {
  width: 180px;
  height: 45px;
  overflow: hidden;
}

.hero__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.hero__nav a {
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.hero__nav a:hover {
  opacity: 0.85;
}

.hero__nav a.active {
  font-weight: 600;
}

.hero__body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-height) 120px 80px;
  color: var(--color-white);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  max-width: 850px;
  margin-bottom: 24px;
}

.hero__title .highlight {
  color: var(--color-red);
}

.hero__subtitle {
  font-size: 24px;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 720px;
}

/* ===== About Section ===== */
.about {
  background: var(--color-cream);
  padding: var(--section-padding);
}

.about__inner {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.about__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.about__header h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

.about__left > p {
  color: var(--color-navy);
  line-height: 1.6;
}

.badge {
  display: inline-flex;
  background: var(--color-navy-dark);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 4px;
  align-self: flex-start;
}

.about__photos {
  display: flex;
  gap: 24px;
  height: 178px;
}

.about__photos img {
  flex: 1;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  min-width: 0;
}

.about__features {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.04);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-cream);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__icon img {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
}

.feature-card p {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-gray);
}

/* ===== Products Section ===== */
.products {
  background: var(--color-cream-light);
  padding: var(--section-padding);
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.product-card__image {
  height: 180px;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.product-card__info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
}

.product-card__info p {
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-gray);
  min-height: 54px;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-red);
  margin-top: auto;
}

.product-card__link img {
  width: 12px;
  height: 12px;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--color-red-cta);
  padding: 64px var(--section-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
  max-width: 650px;
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.9;
}

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

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

.btn--primary:hover {
  background: var(--color-red-dark);
  opacity: 1;
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid var(--color-white);
}

/* ===== Markets Section ===== */
.markets {
  background: var(--color-cream-light);
  padding: var(--section-padding);
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.markets__grid {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  overflow: hidden;
}

.markets__divider {
  background: var(--color-border);
  width: 1px;
}

.markets__column {
  display: flex;
  flex-direction: column;
}

.market-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid var(--color-border);
}

.market-item:last-child {
  border-bottom: none;
}

.market-item__icon {
  width: 44px;
  height: 44px;
  background: var(--color-icon-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.market-item__icon img {
  width: 22px;
  height: 22px;
}

.market-item__text h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.market-item__text p {
  font-size: 13px;
  color: var(--color-gray);
}

/* ===== Testimonial Section ===== */
.testimonial {
  background: var(--color-cream);
  padding: 100px var(--section-padding-x) 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.testimonial__card {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  overflow: hidden;
  width: 100%;
  max-width: var(--container-max);
}

.testimonial__sidebar {
  background: var(--color-cream-light);
  width: 320px;
  flex-shrink: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial__sidebar .section-eyebrow .accent-line {
  width: 32px;
}

.testimonial__sidebar .section-eyebrow span {
  font-size: 14px;
  color: var(--color-navy);
}

.client-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.client-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-item__avatar {
  width: 36px;
  height: 36px;
  background: var(--color-navy-dark);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white) !important;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.client-item span {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy);
}

.testimonial__quote {
  position: relative;
  flex: 1;
  padding: 48px;
  display: flex;
  align-items: center;
  margin: 0;
  border: none;
}

.testimonial__quote-mark {
  position: absolute;
  top: 48px;
  left: 48px;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  line-height: 0.5;
  color: var(--color-quote-mark);
  pointer-events: none;
  user-select: none;
}

.testimonial__quote-text {
  position: relative;
  z-index: 1;
  margin: 56px 0 0;
  color: var(--color-navy);
}

.testimonial__quote-text .drop-cap {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  font-style: normal;
  color: var(--color-navy-dark);
  line-height: 1.6;
}

.testimonial__quote-body {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-navy-dark);
  padding: 80px var(--section-padding-x) 40px;
  color: var(--color-white);
}

.footer__top {
  display: flex;
  gap: 64px;
  margin-bottom: 48px;
}

.footer__brand {
  width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  width: 200px;
  height: 50px;
  overflow: hidden;
}

.footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

.footer__cert {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-red);
}

.footer__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__col h3 {
  font-size: 15px;
  font-weight: 700;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  font-size: 14px;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer__links a:hover {
  opacity: 1;
}

.footer__contact {
  width: 320px;
  flex-shrink: 0;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.footer__contact-item img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer__contact-item span {
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.4;
}

.footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 48px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__bottom p {
  font-size: 13px;
  opacity: 0.5;
}

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__socials a {
  display: block;
  width: 18px;
  height: 18px;
}

.footer__socials img {
  width: 100%;
  height: 100%;
}

/* ===== WordPress Overrides ===== */
body.bremas-landing-page {
  margin: 0;
}

body.bremas-landing-page .wp-site-blocks,
body.bremas-landing-page .entry-content {
  margin: 0;
  padding: 0;
  max-width: none;
}

.bremas-landing {
  width: 100%;
  overflow-x: hidden;
}

/* ===== Mobile Navigation Toggle ===== */
.hero__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  cursor: pointer;
  z-index: 3;
}

.hero__menu-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero__navbar.is-nav-open .hero__menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hero__navbar.is-nav-open .hero__menu-bar:nth-child(2) {
  opacity: 0;
}

.hero__navbar.is-nav-open .hero__menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.bremas-nav-open {
  overflow: hidden;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .products__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --section-padding: 64px;
    --section-padding-x: 48px;
  }

  .hero__navbar {
    padding: 24px 48px;
  }

  .hero__body {
    padding: var(--header-height) 48px 64px;
  }

  .hero__title {
    font-size: 52px;
  }

  .hero__subtitle {
    font-size: 20px;
  }

  .about__inner {
    flex-direction: column;
    gap: 48px;
  }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner h2 {
    max-width: 100%;
  }

  .markets__grid {
    grid-template-columns: 1fr;
  }

  .markets__divider {
    display: none;
  }

  .testimonial__card {
    flex-direction: column;
  }

  .testimonial__sidebar {
    width: 100%;
  }

  .footer__top {
    flex-wrap: wrap;
    gap: 40px;
  }

  .footer__brand,
  .footer__contact {
    width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
    --section-padding-x: 24px;
    --header-height: 77px;
  }

  .hero__navbar {
    padding: 16px 24px;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .hero__menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .hero__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 88px 24px 32px;
    background: var(--color-navy-dark);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.35);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2;
    overflow-y: auto;
  }

  .hero__navbar.is-nav-open .hero__nav {
    transform: translateX(0);
  }

  .hero__nav a {
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero__nav a:last-child {
    border-bottom: none;
  }

  .hero__nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 11, 24, 0.55);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }

  .hero__navbar.is-nav-open .hero__nav-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .hero__body {
    padding: var(--header-height) 24px 48px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .about__features {
    grid-template-columns: 1fr;
  }

  .about__photos {
    flex-direction: column;
    height: auto;
  }

  .about__photos img {
    height: 178px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .cta-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ===== Inner Pages (Everel-inspired) ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

.site-header--inner .hero__navbar {
  position: relative;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header--inner .hero__navbar.is-scrolled {
  background: rgba(12, 30, 54, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bremas-inner {
  overflow-x: hidden;
}

/* Page Hero */
.page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-height) + 56px) 24px 80px;
  color: var(--color-white);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.page-hero__eyebrow span {
  color: var(--color-white);
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  max-width: 820px;
  margin-bottom: 20px;
}

.page-hero__title .highlight {
  color: var(--color-red);
}

.page-hero__text {
  font-size: 20px;
  line-height: 1.7;
  opacity: 0.92;
  max-width: 720px;
}

/* Stats Row */
.stats-row {
  background: var(--color-navy-dark);
  color: var(--color-white);
  padding: 48px 24px;
}

.stats-row__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 16px;
}

.stat-card__value {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card__label {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
}

/* Inner Sections */
.inner-section {
  padding: var(--section-padding) 24px;
}

.inner-section--values {
  background: var(--color-cream-light);
}

.inner-section--story,
.inner-section--contact {
  background: var(--color-cream);
}

.inner-section--catalog,
.inner-section--downloads,
.inner-section--sales {
  background: var(--color-cream-light);
}

.about__features--page {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card--page {
  gap: 16px;
  min-height: 100%;
}

.feature-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-card__number {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-red);
  letter-spacing: 0.06em;
}

.feature-card--page .feature-card__icon {
  margin-left: auto;
}

/* About page — story section */
.inner-section--story {
  background: var(--color-cream);
}

.about__inner--story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: stretch;
}

.about__left--story {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about__left--story .about__header h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

.about__story-media {
  align-self: stretch;
  min-height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.about__story-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: 8px;
}

.about__story-text p {
  color: var(--color-navy);
  line-height: 1.75;
  margin-bottom: 18px;
  font-size: 16px;
}

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

.about__story-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.about__story-link {
  margin-top: 0;
}

.inner-section--values .section-header {
  margin-bottom: 48px;
}

.inner-section--values .container,
.inner-section--story .container {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.stats-row {
  position: relative;
  z-index: 2;
}

.stat-card__label {
  line-height: 1.4;
  max-width: 140px;
  margin: 0 auto;
}

.products__grid--page {
  grid-template-columns: repeat(3, 1fr);
}

.product-card__index {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-red);
  letter-spacing: 0.04em;
}

/* Document Cards */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.doc-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  border: 1px solid var(--color-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
}

.doc-card__badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--color-icon-bg);
  color: var(--color-red);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 4px;
}

.doc-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.4;
  flex: 1;
}

.doc-card__meta {
  font-size: 13px;
  color: var(--color-gray);
}

.doc-card__link {
  margin-top: auto;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  align-items: stretch;
}

.contact-form-panel,
.contact-locations-panel {
  background: var(--color-white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.08);
  border: 1px solid var(--color-border);
}

.contact-locations-panel {
  display: flex;
  flex-direction: column;
}

.inner-panel__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.inner-panel__intro {
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.contact-locations-panel .inner-panel__intro {
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font: inherit;
  background: var(--color-cream-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(184, 29, 36, 0.1);
}

.contact-form .btn {
  align-self: flex-start;
  border: none;
  margin-top: 8px;
  min-width: 180px;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}

.contact-notice {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.contact-notice--success {
  background: #e8f5e9;
  color: #1b5e20;
}

.contact-notice--error {
  background: #fdecea;
  color: #b71c1c;
}

.contact-locations-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.location-card {
  background: var(--color-cream-light);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-red);
  border-radius: 8px;
  padding: 24px;
  box-shadow: none;
}

.location-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-detail-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-detail-item img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-item span,
.contact-detail-item a {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-navy);
}

.contact-detail-item a:hover {
  color: var(--color-red);
}

.inner-content__body--center {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.inner-content__body--center p {
  color: var(--color-navy);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Sales network cards */
.markets__grid--page {
  grid-template-columns: repeat(2, 1fr);
  max-width: var(--container-max);
  margin: 0 auto;
}

.market-item--card {
  background: var(--color-white);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* Page CTA */
.cta-banner--page {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .stats-row__grid,
  .products__grid--page,
  .doc-grid,
  .about__features--page,
  .markets__grid--page,
  .contact-layout,
  .about__inner--story {
    grid-template-columns: 1fr;
  }

  .about__story-media img {
    min-height: 280px;
  }

  .page-hero__title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 360px;
    padding-bottom: 56px;
  }

  .page-hero__title {
    font-size: 32px;
  }

  .page-hero__text {
    font-size: 17px;
  }

  .stats-row__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card__value {
    font-size: 36px;
  }

  .about__story-media img {
    min-height: 240px;
  }

  .about__left--story .about__header h2 {
    font-size: 32px;
  }

  .about__story-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
