@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #023566;
  --navy-2: #012747;
  --navy-soft: #eaf1f7;
  --gold: #cc9f02;
  --gold-dark: #a98202;
  --gold-soft: #f7efd2;
  --ink: #162b3d;
  --muted: #607080;
  --white: #ffffff;
  --off-white: #f7f9fb;
  --line: #dfe6ec;
  --green: #557b43;
  --shadow: 0 18px 50px rgba(2, 53, 102, 0.12);
  --container: 1180px;
  --header-height: 82px;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(204, 159, 2, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 72px), var(--container));
  margin-inline: auto;
}

.section { padding: 96px 0; }
.section--soft { background: var(--off-white); }
.section--navy { background: var(--navy); color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 36px;
  height: 2px;
  background: currentColor;
  content: '';
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--center .eyebrow::before { display: none; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 18px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.45rem, 5.4vw, 4.65rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
h4 { font-size: 1.08rem; letter-spacing: -0.015em; }
p { margin: 0 0 20px; }

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.85;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.text-link:hover { color: var(--gold-dark); }
.text-link svg { width: 18px; transition: transform 0.25s ease; }
.text-link:hover svg { transform: translateX(4px); }

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 25px rgba(204, 159, 2, 0.24); }
.btn--gold:hover { background: #dfb20b; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); box-shadow: 0 10px 28px rgba(2, 53, 102, 0.22); }
.btn--outline { border-color: rgba(255,255,255,0.65); color: var(--white); }
.btn--outline:hover { border-color: var(--gold); background: var(--gold); color: var(--navy); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(2, 53, 102, 0.08);
  transition: box-shadow 0.25s ease, height 0.25s ease;
}

.site-header.is-scrolled { height: 72px; box-shadow: 0 8px 28px rgba(2, 53, 102, 0.1); }

.nav-wrap { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 28px; }
.brand { position: relative; z-index: 1002; display: inline-flex; width: 238px; align-items: center; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease; }
.brand img { width: 100%; height: auto; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative;
  padding: 27px 0 24px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.2s ease;
}
.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.nav-link:hover,
.nav-link.active { color: var(--gold-dark); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); transform-origin: left; }

.language-switcher { display: flex; align-items: center; gap: 2px; padding-left: 20px; border-left: 1px solid var(--line); }
.language-btn {
  min-width: 37px;
  padding: 7px 5px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}
.language-btn:hover,
.language-btn.active { background: var(--navy); color: var(--white); }

.menu-toggle {
  position: relative;
  z-index: 1002;
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 0;
  border-radius: 5px;
  background: var(--navy);
}
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--white); transition: transform 0.25s ease, opacity 0.25s ease; }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Home hero */
.hero {
  position: relative;
  display: flex;
  min-height: min(860px, 100vh);
  align-items: center;
  margin-top: var(--header-height);
  overflow: hidden;
  background: var(--navy-2);
  color: var(--white);
}
.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 30, 56, 0.76) 0%, rgba(2, 53, 102, 0.44) 45%, rgba(2, 53, 102, 0.08) 76%), url('../img/hero-home.webp') center/cover no-repeat;
  content: '';
  transform: scale(1.02);
}
.hero::after {
  position: absolute;
  right: -10%;
  bottom: -190px;
  width: 650px;
  height: 280px;
  border: 1px solid rgba(255,255,255,0.17);
  border-radius: 50%;
  content: '';
  transform: rotate(-12deg);
}
.hero-content { position: relative; z-index: 1; max-width: 760px; padding: 110px 0 120px; }
.hero .eyebrow { color: var(--white); }
.hero h1 { color: var(--white); }
.hero h1 span { display: block; color: var(--white); }
.hero .hero-lead { max-width: 650px; margin-bottom: 33px; color: rgba(255,255,255,0.88); font-size: clamp(1rem, 1.7vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 58px;
  place-items: start center;
  padding-top: 10px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 24px;
  transform: translateX(-50%);
}
.hero-scroll::after { width: 4px; height: 10px; border-radius: 4px; background: var(--gold); content: ''; animation: scrollCue 1.8s infinite; }
@keyframes scrollCue { 0%, 100% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(20px); opacity: 0; } }

/* Split intro */
.intro-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: center; gap: 72px; }
.intro-visual { position: relative; min-height: 550px; }
.intro-main-image { position: absolute; inset: 0 64px 0 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-main-image img { width: 100%; height: 100%; object-fit: cover; }
.intro-accent {
  position: absolute;
  right: 0;
  bottom: 38px;
  display: grid;
  width: 180px;
  min-height: 180px;
  place-items: center;
  padding: 25px;
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 20px 35px rgba(2, 53, 102, 0.18);
  text-align: center;
}
.intro-accent strong { font-size: 1.75rem; letter-spacing: -0.04em; line-height: 1.05; }
.intro-accent span { display: block; margin-top: 8px; font-size: 0.78rem; font-weight: 700; line-height: 1.35; text-transform: uppercase; }
.signature { margin-top: 28px; color: var(--navy); font-size: clamp(1.55rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: 0.12em; }

/* Commitment tabs */
.tabs-shell { display: grid; grid-template-columns: 0.72fr 1.28fr; min-height: 590px; background: var(--white); box-shadow: var(--shadow); }
.tabs-nav { display: flex; flex-direction: column; justify-content: center; padding: 52px; background: var(--navy); color: var(--white); }
.tabs-nav .eyebrow { color: var(--gold); }
.tabs-nav h2 { color: var(--white); font-size: clamp(2rem, 3vw, 2.75rem); }
.tab-buttons { display: grid; gap: 10px; margin-top: 30px; }
.tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 4px;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  text-align: left;
}
.tab-btn:hover,
.tab-btn.active { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.tab-btn svg { width: 20px; }
.tab-panels { position: relative; min-height: 590px; overflow: hidden; }
.tab-panel { position: absolute; inset: 0; display: grid; opacity: 0; pointer-events: none; transition: opacity 0.35s ease; }
.tab-panel.active { opacity: 1; pointer-events: auto; }
.tab-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tab-image--producers { object-position: 50% 55%; }
.tab-image--clients { object-position: 52% 45%; }
.tab-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,31,57,0.88), rgba(1,31,57,0.68) 55%, rgba(1,31,57,0.2)); }
.tab-content { position: relative; z-index: 1; align-self: end; max-width: 680px; padding: 55px; color: var(--white); }
.tab-content h3 { color: var(--white); }
.tab-content p { color: rgba(255,255,255,0.9); }

/* Profiles */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.profile-card { position: relative; min-height: 430px; overflow: hidden; background: var(--navy); }
.profile-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s cubic-bezier(.2,.8,.2,1); }
.profile-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(1,32,59,0.92)); content: ''; }
.profile-card:hover img { transform: scale(1.055); }
.profile-card-content { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; padding: 34px; color: var(--white); }
.profile-card h3 { margin-bottom: 10px; color: var(--white); font-size: 2rem; }
.profile-card .text-link { color: #f3cc42; }

/* Gallery */
.gallery-grid { display: grid; grid-auto-rows: 250px; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gallery-item { position: relative; grid-column: span 4; overflow: hidden; padding: 0; border: 0; background: var(--navy); }
.gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 5; }
.gallery-item:nth-child(3) { grid-column: span 5; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 4; }
.gallery-item:nth-child(6) { grid-column: span 4; }
.gallery-item:nth-child(7) { grid-column: span 12; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease, filter 0.35s ease; }
.gallery-item:nth-child(2) img { object-position: center 42%; }
.gallery-item:nth-child(3) img { object-position: center 55%; }
.gallery-item:nth-child(4) img { object-position: center 48%; }
.gallery-item:nth-child(5) img { object-position: center 58%; }
.gallery-item:nth-child(6) img { object-position: center 45%; }
.gallery-item:nth-child(7) img { object-position: center 52%; }
.gallery-item::after { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(2,53,102,0.48); color: var(--white); content: '+'; font-size: 2.6rem; opacity: 0; transition: opacity 0.3s ease; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover img { filter: saturate(1.08); }
.gallery-item:hover img { transform: scale(1.045); }

.lightbox { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 30px; background: rgba(1, 21, 39, 0.94); opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure { max-width: min(1100px, 92vw); margin: 0; }
.lightbox-image { max-width: 100%; max-height: 82vh; border: 5px solid var(--white); object-fit: contain; }
.lightbox-caption { margin-top: 12px; color: rgba(255,255,255,0.85); text-align: center; }
.lightbox-close { position: absolute; top: 24px; right: 28px; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,0.5); border-radius: 50%; background: transparent; color: var(--white); font-size: 2rem; line-height: 1; }

/* Testimonial */
.testimonial-wrap { display: grid; grid-template-columns: 0.65fr 1.35fr; align-items: stretch; background: var(--navy); color: var(--white); }
.testimonial-mark { display: grid; min-height: 430px; place-items: center; background: linear-gradient(rgba(204,159,2,0.82), rgba(204,159,2,0.82)), url('../img/beneficios-productores.webp') center/cover; color: var(--navy); font-family: Georgia, serif; font-size: 10rem; font-weight: 700; line-height: 1; }
.testimonial-content { display: flex; flex-direction: column; justify-content: center; padding: 62px 70px; }
.testimonial-content .eyebrow { color: var(--gold); }
.testimonial-quote { margin-bottom: 28px; color: var(--white); font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 500; line-height: 1.55; }
.testimonial-author { color: var(--gold); font-size: 1.05rem; font-weight: 800; }
.testimonial-role { color: rgba(255,255,255,0.72); font-size: 0.88rem; }

/* CTA */
.cta { position: relative; padding: 100px 0; overflow: hidden; background: var(--navy); color: var(--white); text-align: center; }
.cta::before { position: absolute; inset: 0; background: linear-gradient(rgba(1,36,67,0.82), rgba(1,36,67,0.82)), url('../img/cta-home.webp') center/cover; content: ''; }
.cta .container { position: relative; z-index: 1; }
.cta h2 { max-width: 850px; margin: 0 auto 30px; color: var(--white); }

/* Internal page banner */
.page-hero { position: relative; display: flex; min-height: 440px; align-items: end; margin-top: var(--header-height); overflow: hidden; background: var(--navy); color: var(--white); }
.page-hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,32,59,0.91), rgba(2,53,102,0.5)), var(--page-bg, url('../img/hero-home.webp')) center/cover; content: ''; }
.page-hero--producers { --page-bg: url('../img/beneficios-productores.webp'); }
.page-hero--clients { --page-bg: url('../img/para-clientes.webp'); }
.page-hero--contact { --page-bg: url('../img/hero-home.webp'); }
.page-hero--products { --page-bg: url('../img/cta-home.webp'); }
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 100px clamp(16px, 2vw, 28px) 62px;
}
.breadcrumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: rgba(255,255,255,0.72); font-size: 0.84rem; font-weight: 700; }
.breadcrumbs a:hover { color: var(--gold); }
.page-hero h1 { margin: 0; color: var(--white); font-size: clamp(2.55rem, 5vw, 4.4rem); }

/* Benefits */
.benefits-section { position: relative; overflow: hidden; }
body[data-page='producers'] .benefits-section {
  background: linear-gradient(rgba(255,255,255,0.94), rgba(247,249,251,0.96)), url('../img/beneficios-productores.webp') center/cover no-repeat;
}
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit-card { position: relative; min-height: 300px; padding: 34px 28px; border: 1px solid var(--line); background: var(--white); transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.benefit-card:hover { transform: translateY(-7px); border-color: rgba(204,159,2,0.7); box-shadow: var(--shadow); }
.benefit-icon { display: grid; width: 58px; height: 58px; margin-bottom: 27px; place-items: center; background: var(--navy); color: var(--gold); }
.benefit-icon svg { width: 28px; height: 28px; }
.benefit-card h3 { font-size: 1.08rem; letter-spacing: -0.01em; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.72; }

/* Export table */
.table-intro { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 55px; margin-bottom: 44px; }
.table-intro p { color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(2,53,102,0.08); }
.product-table { width: 100%; min-width: 960px; border-collapse: collapse; background: var(--white); }
.product-table th { padding: 18px 20px; background: var(--navy); color: var(--white); font-size: 0.78rem; letter-spacing: 0.04em; text-align: left; text-transform: uppercase; }
.product-table td { padding: 17px 20px; border-bottom: 1px solid var(--line); color: #3e5060; font-size: 0.88rem; line-height: 1.5; vertical-align: top; }
.product-table tbody tr:nth-child(even) { background: #f7f9fb; }
.product-table tbody tr:hover { background: var(--gold-soft); }
.product-table td:first-child { color: var(--navy); font-weight: 700; }
.table-note { margin-top: 22px; padding: 25px 28px; border-left: 4px solid var(--gold); background: var(--gold-soft); color: #554510; }
.table-note strong { display: block; margin-bottom: 6px; color: var(--navy); }

/* Product catalog table */
.catalog-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 55px;
  align-items: end;
  margin-bottom: 42px;
}
.catalog-intro .lead { margin-bottom: 0; }
.catalog-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(2,53,102,0.08);
}
.catalog-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}
.catalog-table th {
  padding: 18px 22px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.055em;
  text-align: left;
  text-transform: uppercase;
}
.catalog-table th:first-child,
.catalog-table td:first-child { width: 150px; text-align: center; }
.catalog-table th:last-child,
.catalog-table td:last-child { width: 140px; text-align: right; }
.catalog-table td {
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  color: #3e5060;
  font-size: 0.9rem;
  vertical-align: middle;
}
.catalog-table tbody tr:not(.catalog-category):hover { background: var(--gold-soft); }
.catalog-table .catalog-category td {
  padding: 13px 22px;
  border-bottom: 0;
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-align: left;
  text-transform: uppercase;
}
.catalog-product-image {
  width: 92px;
  height: 72px;
  margin-inline: auto;
  border-radius: 6px;
  background: var(--off-white);
  object-fit: cover;
}
.catalog-product-image.is-placeholder { padding: 15px; background: var(--navy-soft); object-fit: contain; }
.catalog-product-name { color: var(--navy); font-weight: 800; }
.catalog-price { color: var(--gold-dark); font-weight: 800; }
.catalog-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
  padding: 22px 25px;
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  color: #554510;
  font-size: 0.9rem;
}
.catalog-note svg { flex: 0 0 auto; width: 21px; margin-top: 3px; color: var(--navy); }

/* Forms */
.form-section { background: linear-gradient(110deg, var(--navy) 0 42%, var(--off-white) 42%); }
.form-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 72px; align-items: center; }
.form-copy { color: var(--white); }
.form-copy .eyebrow { color: var(--gold); }
.form-copy h2 { color: var(--white); }
.form-copy p { color: rgba(255,255,255,0.78); }
.form-copy img { width: 115px; margin: 28px 0 0; opacity: 0.95; }
.form-copy .form-photo { width: 100%; height: 230px; margin-top: 28px; border: 5px solid rgba(255,255,255,0.12); object-fit: cover; object-position: center 48%; opacity: 1; }
.contact-form { padding: 48px; background: var(--white); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 19px; }
.field label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 0.82rem; font-weight: 800; }
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #cfd9e2;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 135px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(204,159,2,0.14); }
.form-status { min-height: 24px; margin: 14px 0 0; padding: 0; border-radius: 4px; color: var(--green); font-size: 0.86rem; font-weight: 700; transition: padding 0.2s ease, background 0.2s ease, color 0.2s ease; }
.form-status.is-sending,
.form-status.is-success,
.form-status.is-error { padding: 11px 13px; }
.form-status.is-sending { background: var(--navy-soft); color: var(--navy); }
.form-status.is-success { background: #e8f5eb; color: #245c31; }
.form-status.is-error { background: #fff0ef; color: #a3302a; }
.contact-form .btn:disabled { cursor: wait; opacity: 0.72; transform: none; }
.contact-form .btn.is-loading svg { animation: formPulse 0.9s ease-in-out infinite alternate; }
@keyframes formPulse { to { opacity: 0.25; transform: translateX(4px); } }
.hp-field { position: absolute !important; left: -9999px !important; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { min-height: 260px; padding: 36px; border-top: 4px solid var(--gold); background: var(--off-white); }
.contact-card svg { width: 34px; height: 34px; margin-bottom: 24px; color: var(--gold-dark); }
.contact-card h3 { font-size: 1.2rem; }
.contact-card a { color: var(--navy); font-weight: 700; word-break: break-word; }
.contact-card a:hover { color: var(--gold-dark); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: 0.82rem; }
.social-link svg { width: 17px; height: 17px; margin: 0; }
.form-links { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 60px; }
.form-link-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 35px; background: var(--navy); color: var(--white); transition: transform 0.25s ease, background 0.25s ease; }
.form-link-card:hover { transform: translateY(-4px); background: var(--navy-2); }
.form-link-card h3 { margin: 0 0 6px; color: var(--white); }
.form-link-card p { margin: 0; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.form-link-card > svg { flex: 0 0 auto; width: 30px; color: var(--gold); }

/* Footer */
.site-footer { background: #011f3a; color: rgba(255,255,255,0.72); }
.footer-main { display: grid; grid-template-columns: 1.1fr 1.3fr 0.68fr 0.92fr; gap: 44px; padding: 76px 0 56px; }
.footer-brand { display: inline-block; width: 225px; margin-bottom: 21px; padding: 9px 12px; border-radius: 4px; background: var(--white); }
.footer-about { font-size: 0.87rem; line-height: 1.75; }
.site-footer h3 { margin-bottom: 22px; color: var(--white); font-size: 0.98rem; letter-spacing: 0.01em; }
.footer-address { font-size: 0.84rem; line-height: 1.8; }
.footer-address strong { color: var(--gold); }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 9px; }
.footer-links a { font-size: 0.86rem; transition: color 0.2s ease, padding 0.2s ease; }
.footer-links a:hover { padding-left: 4px; color: var(--gold); }
.footer-contact-item { display: grid; grid-template-columns: 20px 1fr; gap: 10px; margin-bottom: 12px; font-size: 0.84rem; }
.footer-contact-item svg { width: 17px; height: 17px; margin-top: 5px; color: var(--gold); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.78rem; }
.footer-bottom a { color: var(--gold); font-weight: 700; }

/* Utilities and motion */
.scroll-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: grid; width: 48px; height: 48px; place-items: center; border: 0; border-radius: 50%; background: var(--gold); color: var(--navy); box-shadow: 0 10px 25px rgba(2,53,102,0.25); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease; }
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: #e2b30b; }
.scroll-top svg { width: 21px; height: 21px; }
[data-reveal] { opacity: 0; transform: translateY(28px); }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1060px) {
  .main-nav { gap: 20px; }
  .nav-links { gap: 18px; }
  .brand { width: 205px; }
  .intro-grid { gap: 45px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-height: 74px; }
  .container { width: min(calc(100% - 48px), var(--container)); }
  .section { padding: 74px 0; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(86vw, 420px);
    align-items: stretch;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    padding: 100px 38px 44px;
    background: var(--navy);
    box-shadow: -20px 0 50px rgba(0,0,0,0.22);
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
  }
  body.menu-open .brand { opacity: 0; visibility: hidden; transform: translateX(-12px); }
  .main-nav.is-open { transform: translateX(0); }
  .nav-links { align-items: stretch; flex-direction: column; gap: 0; }
  .nav-link { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.13); color: var(--white); font-size: 1.06rem; }
  .nav-link::after { display: none; }
  .nav-link.active { color: var(--gold); }
  .language-switcher { padding: 0; border: 0; }
  .language-btn { color: rgba(255,255,255,0.7); }
  .language-btn:hover,
  .language-btn.active { background: var(--gold); color: var(--navy); }
  .nav-backdrop { position: fixed; inset: 0; z-index: 999; background: rgba(1,18,34,0.54); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .hero { min-height: 760px; }
  .hero::before { background: linear-gradient(90deg, rgba(1,30,56,0.8), rgba(2,53,102,0.34)), url('../img/hero-home.webp') 62% center/cover no-repeat; }
  .intro-grid,
  .table-intro,
  .catalog-intro,
  .form-grid { grid-template-columns: 1fr; }
  .intro-visual { min-height: 480px; }
  .tabs-shell { grid-template-columns: 1fr; }
  .tabs-nav { padding: 40px; }
  .tab-buttons { grid-template-columns: 1fr 1fr; }
  .tab-panels { min-height: 520px; }
  .testimonial-wrap { grid-template-columns: 0.45fr 1.55fr; }
  .testimonial-content { padding: 48px; }
  .form-section { background: var(--navy); }
  .form-grid { gap: 40px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-card:last-child { grid-column: span 2; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 40px), var(--container)); }
  .section { padding: 62px 0; }
  .brand { width: 190px; }
  .hero { min-height: 700px; }
  .hero-content { padding: 85px 0 110px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .intro-visual { min-height: 405px; }
  .intro-main-image { inset: 0 30px 0 0; }
  .intro-accent { width: 145px; min-height: 145px; padding: 17px; }
  .intro-accent strong { font-size: 1.45rem; }
  .tabs-nav { padding: 34px 25px; }
  .tab-buttons { grid-template-columns: 1fr; }
  .tab-panels { min-height: 555px; }
  .tab-content { padding: 35px 25px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card { min-height: 360px; }
  .gallery-grid { grid-auto-rows: 210px; grid-template-columns: 1fr 1fr; }
  .gallery-item,
  .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:first-child { grid-column: span 2; }
  .gallery-item:nth-child(7) { grid-column: span 2; }
  .testimonial-wrap { grid-template-columns: 1fr; }
  .testimonial-mark { min-height: 190px; }
  .testimonial-content { padding: 38px 25px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 0; }
  .contact-form { padding: 30px 22px; }
  .catalog-table { min-width: 690px; }
  .catalog-table th,
  .catalog-table td { padding-right: 16px; padding-left: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-grid,
  .form-links { grid-template-columns: 1fr; }
  .contact-card:last-child { grid-column: auto; }
  .form-link-card { padding: 28px 23px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding: 58px 0 42px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .page-hero { min-height: 370px; }
  .scroll-top { right: 14px; bottom: 14px; }
}

@media (max-width: 420px) {
  .brand { width: 172px; }
  .menu-toggle { width: 42px; height: 42px; }
  .hero h1 { font-size: 2.28rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .gallery-item:nth-child(7) { grid-column: span 1; }
}
