:root {
  --blue: #0b5cad;
  --blue-deep: #06386e;
  --blue-soft: #e8f3fc;
  --orange: #f26b1d;
  --orange-deep: #d4540d;
  --ink: #122033;
  --muted: #5b6b7c;
  --line: #d9e4ef;
  --white: #ffffff;
  --bg: #f6f9fc;
  --shadow: 0 18px 50px rgba(6, 56, 110, 0.12);
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(6, 56, 110, 0.06);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand img {
  width: auto;
  height: 58px;
  max-width: 168px;
  object-fit: contain;
}

.brand span {
  background: linear-gradient(90deg, var(--blue-deep), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-item {
  position: relative;
}

.nav a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 10px;
}

.nav a:hover,
.nav a.active,
.nav-item > a:hover {
  color: var(--blue-deep);
}

.submenu {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
  z-index: 30;
}

.nav-item:hover .submenu,
.nav-item.open .submenu {
  display: grid;
}

.submenu a {
  padding: 10px 12px;
  border-radius: 10px;
}

.submenu a:hover {
  background: var(--blue-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 55%, var(--orange) 160%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(11, 92, 173, 0.28);
}

.btn-ghost {
  background: var(--white);
  color: var(--blue-deep);
  border: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 80px;
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 107, 29, 0.12), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(11, 92, 173, 0.16), transparent 32%),
    linear-gradient(180deg, #fff 0%, #f4f8fd 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  overflow: hidden;
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(11, 92, 173, 0.25);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.orbit:nth-child(1) { width: 280px; height: 280px; }
.orbit:nth-child(2) { width: 380px; height: 380px; animation-duration: 42s; animation-direction: reverse; }
.orbit:nth-child(3) { width: 470px; height: 470px; }

.logo-card {
  position: relative;
  width: min(360px, 86%);
  background: var(--white);
  border-radius: 36px;
  padding: 28px;
  box-shadow: var(--shadow);
  animation: float 5.5s ease-in-out infinite;
}

.logo-card img {
  width: 100%;
  height: auto;
}

.chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.chip-a { top: 42px; left: 8px; color: var(--blue); }
.chip-b { bottom: 68px; right: 0; color: var(--orange-deep); }

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

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

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

.stat span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--bg);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}

.section-head h2,
.contact h2,
.cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p {
  max-width: 420px;
  color: var(--muted);
}

.cards,
.values,
.projects {
  display: grid;
  gap: 18px;
}

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

.card,
.value,
.project {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover,
.project:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--blue-soft), #fff);
  color: var(--blue);
}

.card h3,
.value h3,
.project h3 {
  margin-bottom: 8px;
}

.card p,
.value p,
.project p {
  color: var(--muted);
}

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

.value {
  background: linear-gradient(180deg, #fff, var(--blue-soft));
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.about-copy p + p {
  margin-top: 14px;
  color: var(--muted);
}

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

.tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--orange-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-band {
  margin: 0 20px 88px;
  border-radius: 32px;
  padding: 48px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(242, 107, 29, 0.18), transparent 40%),
    linear-gradient(135deg, var(--blue-deep), var(--blue) 55%, #1a7ad4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-band p {
  opacity: 0.9;
  margin-top: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}

.contact-card,
form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-card p,
.meta {
  color: var(--muted);
}

.meta {
  margin-top: 18px;
}

.meta strong {
  display: block;
  color: var(--ink);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field span {
  font-size: 0.86rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fbfdff;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-note {
  margin-top: 12px;
  min-height: 24px;
  font-weight: 700;
}

.form-note.ok { color: #0f7a46; }
.form-note.err { color: #c0392b; }

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #000;
}

.footer-cta {
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
}

.footer-cta h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  margin: 4px 0 6px;
}

.footer-cta p { max-width: 520px; }

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-whatsapp {
  background: #25d366;
  color: #083b1f;
  box-shadow: none;
}

.btn-whatsapp:hover { filter: brightness(1.05); }

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 36px;
  padding: 48px 0 28px;
}

.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand img { background: #fff; border-radius: 12px; }
.footer-tagline {
  color: #ffd3b0;
  font-weight: 800;
  margin: 0 0 10px;
}
.footer-brand p + p { margin-top: 10px; }

.footer-brand .footer-heading { margin-top: 22px; }

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.social-icon svg { width: 18px; height: 18px; }
.social-icon.facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-icon.instagram:hover { background: #e1306c; border-color: #e1306c; }
.social-icon.youtube:hover { background: #ff0000; border-color: #ff0000; }
.social-icon.linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.social-icon.twitter:hover { background: #111; border-color: #fff; }
.social-icon.whatsapp { background: #25d366; border-color: #25d366; color: #083b1f; }
.social-icon.whatsapp:hover { filter: brightness(1.08); }

.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25d366 !important;
  font-weight: 800;
}

.footer-wa svg { width: 16px; height: 16px; }

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #083b1f;
  border-radius: 999px;
  padding: 12px 16px 12px 12px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { filter: brightness(1.05); transform: translateY(-2px); }

.footer-col {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-col a { color: rgba(255, 255, 255, 0.78); }
.footer-col a:hover { color: #fff; }

.footer-heading {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 6px;
}

.footer-notice {
  overflow: hidden;
  border-top: 1px solid rgba(255, 45, 45, 0.45);
  border-bottom: 1px solid rgba(255, 45, 45, 0.28);
  background: linear-gradient(90deg, rgba(255, 30, 30, 0.16), rgba(255, 30, 30, 0.04) 18%, rgba(255, 30, 30, 0.04) 82%, rgba(255, 30, 30, 0.16));
}

.footer-notice-viewport {
  overflow: hidden;
  padding: 12px 0;
}

.footer-notice-track {
  display: flex;
  width: max-content;
  gap: 72px;
  animation: notice-marquee 32s linear infinite;
}

.footer-notice-track span {
  color: #ff2a2a;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(255, 40, 40, 0.55);
  animation: notice-glow 1.5s ease-in-out infinite;
}

.footer-notice:hover .footer-notice-track {
  animation-play-state: paused;
}

@keyframes notice-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 36px)); }
}

@keyframes notice-glow {
  0%, 100% {
    color: #ff5a5a;
    text-shadow: 0 0 6px rgba(255, 50, 50, 0.35);
  }
  50% {
    color: #ff1414;
    text-shadow: 0 0 16px rgba(255, 20, 20, 0.95), 0 0 28px rgba(255, 0, 0, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-notice-track,
  .footer-notice-track span {
    animation: none;
  }

  .footer-notice-track {
    width: auto;
    max-width: 920px;
  }

  .footer-notice-track span {
    color: #ff2a2a;
    white-space: normal;
  }

  .footer-notice-track span[aria-hidden="true"] {
    display: none;
  }
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
  .nav {
    gap: 14px;
  }

  .nav a:not(.btn) {
    font-size: 0.88rem;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .cards,
  .values,
  .projects,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band,
  .section-head,
  .footer-inner,
  .footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

.banner-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: calc(100vh - 78px);
  height: calc(100dvh - 78px);
  margin: 0;
  min-height: 0;
  overflow: hidden;
  background: #071018;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.banner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.banner-slide a,
.banner-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.banner-nav {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.banner-nav button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--blue-deep);
  cursor: pointer;
  font-size: 1.3rem;
}

.banner-dots {
  display: flex;
  gap: 6px;
}

.banner-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255,255,255,.45);
}

.banner-dots button.is-active {
  background: var(--orange);
}

@media (max-width: 960px) {
  .banner-nav { right: 16px; bottom: 16px; }
}

.hero-follow {
  padding-top: 32px;
}

.page-hero {
  padding: 64px 0 24px;
  background: linear-gradient(180deg, #eef6fd, #fff);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
}

.page-hero-image {
  margin: 0 auto 8px;
}

.page-hero-image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 22px;
}

.page-body {
  max-width: 760px;
  margin: 0 auto;
}

.page-body p {
  margin-bottom: 16px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.product-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.product-card div { padding: 22px; }
.product-card h2 { margin: 4px 0 10px; }
.product-card span { color: var(--blue); font-weight: 800; }

.status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.status-badge.upcoming { background: #fff3e6; color: #c45a00; }
.status-badge.active { background: #e6f6ea; color: #157347; }
.status-badge.completed { background: #eef2f6; color: #5b6b7c; }

.page-hero .status-badge { margin-bottom: 12px; }
.page-hero .pdf-back { display: block; margin-bottom: 16px; }
.project-shot { padding-top: 0; }

.product-detail { max-width: 980px; margin: 0 auto; }
.product-poster {
  margin: 0 0 28px;
  background: linear-gradient(180deg, #eef6fd, #fff);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-poster img {
  width: 100%;
  max-height: 860px;
  object-fit: contain;
  background: #f7fbff;
}
.product-details {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.product-hero {
  padding: 48px 0;
  color: #fff;
}

.product-page .product-hero,
.standard-theme .product-hero { background: linear-gradient(135deg, #041628, var(--blue) 58%, #0a4d8c); }
.cattle-theme .product-hero { background: linear-gradient(135deg, #2a062c, #6b1048); }
.fish-theme .product-hero { background: linear-gradient(135deg, #1a0d08, #5a2a12 60%, #0b3d4d); }

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.product-hero img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.product-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 8px 0 16px;
}

.product-hero h1 em { font-style: normal; color: #ffd36a; }
.cattle-theme .product-hero h1 em { color: #ff7ad9; }
.product-hero .eyebrow { color: #9bd7ff; }
.ticks { margin: 16px 0 24px; padding-left: 18px; }

.benefit-grid,
.feed-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.benefit-grid article,
.feed-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.benefit-grid article { font-weight: 700; }
.benefit-grid article span { display: block; margin-top: 6px; font-weight: 500; color: var(--muted); }

.feed-card .hi { color: var(--orange-deep); font-weight: 800; margin-bottom: 10px; }
.feed-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.feed-card dt { color: var(--muted); font-size: 0.8rem; }
.feed-card dd { font-weight: 800; }
.feed-card p { color: var(--muted); margin-top: 8px; }

.table-wrap { overflow-x: auto; }
.feed-table { width: 100%; border-collapse: collapse; background: #111; color: #fff; border-radius: 16px; overflow: hidden; }
.feed-table th, .feed-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #2a2a2a; }
.feed-table th { background: #1f4b8f; }
.note { margin-top: 14px; color: var(--muted); }

.product-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}

.cattle-theme .product-hero .btn-primary,
.fish-theme .product-hero .btn-primary {
  background: #00a8e8;
  box-shadow: none;
}

@media (max-width: 960px) {
  .product-grid,
  .product-hero-grid,
  .benefit-grid,
  .feed-cards,
  .product-contact {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 760px) {
  .menu-toggle { display: grid; place-items: center; }

  .nav {
    display: none;
    position: absolute;
    inset: 78px 20px auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav.open { display: flex; }

  .submenu {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
  }

  .nav-item.open .submenu { display: grid; }

  .banner-slider {
    width: 100%;
    height: calc(100vh - 78px);
    height: calc(100dvh - 78px);
  }
  .banner-slide img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }
  .banner-nav { right: 10px; bottom: 10px; gap: 8px; }
  .banner-nav button { width: 34px; height: 34px; font-size: 1.1rem; }
  .banner-dots button { width: 8px; height: 8px; }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .cards,
  .values,
  .projects,
  .stats,
  .form-row {
    grid-template-columns: 1fr;
  }

  .logo-stage { min-height: 360px; }

  .footer-main,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.gallery-filters button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
  cursor: pointer;
}

.gallery-filters button.is-active {
  background: var(--blue-deep);
  color: #fff;
  border-color: var(--blue-deep);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  padding: 0;
  box-shadow: var(--shadow);
}

.gallery-card img,
.gallery-card video,
.gallery-video-ph {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #123a63;
}

.gallery-meta { padding: 16px 18px 18px; }
.gallery-meta h2 { font-size: 1.05rem; margin-top: 8px; }

.play-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(6, 56, 110, 0.9);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 800;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(3, 16, 32, 0.92);
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding: 24px;
}

.lightbox[hidden] { display: none; }

.lightbox-stage {
  min-height: 0;
  display: grid;
  place-items: center;
}

.lightbox-stage img,
.lightbox-stage video,
.lightbox-stage iframe {
  max-width: min(1100px, 92vw);
  max-height: 72vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  background: #000;
}

.lightbox-stage iframe {
  width: min(960px, 92vw);
  height: min(54vw, 540px);
}

.lightbox-copy {
  color: #fff;
  text-align: center;
  padding-top: 12px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
}

.lightbox-close { top: 18px; right: 18px; }
.lightbox-nav.prev { left: 18px; top: 50%; }
.lightbox-nav.next { right: 18px; top: 50%; }

.pdf-library {
  background:
    radial-gradient(circle at 8% 0%, rgba(242, 107, 29, 0.08), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(11, 92, 173, 0.12), transparent 30%),
    #f4f8fd;
}

.pdf-library .page-hero {
  background: transparent;
}

.pdf-library .lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
}

.pdf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pdf-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.pdf-card-art {
  position: relative;
  min-height: 168px;
  padding: 28px 24px 22px;
  background:
    linear-gradient(160deg, #0b3a6e 0%, #0b5cad 55%, #f26b1d 150%);
  color: #fff;
}

.pdf-card-art::before,
.pdf-card-art::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -14px;
  width: 92px;
  height: 116px;
  background: #f4f8fd;
  box-shadow: 0 16px 30px rgba(6, 24, 48, 0.28);
}

.pdf-card-art::before {
  right: 14px;
  bottom: -8px;
  transform: rotate(6deg);
  background: #dbe8f6;
}

.pdf-card-art::after {
  border-radius: 4px 0 4px 4px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  background-color: #fff;
  background-image:
    linear-gradient(135deg, #f26b1d 0 18px, transparent 18px),
    repeating-linear-gradient(#fff 0 12px, #edf4fb 12px 14px);
}

.pdf-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pdf-card-art strong {
  display: block;
  max-width: 70%;
  margin-top: 18px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.pdf-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  flex: 1;
}

.pdf-card-body h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.pdf-card-body p {
  color: var(--muted);
  font-size: 0.95rem;
}

.pdf-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.pdf-top {
  padding: 36px 0 8px;
}

.pdf-top-inner {
  display: grid;
  gap: 16px;
}

.pdf-back {
  color: var(--blue);
  font-weight: 700;
}

.pdf-top-copy h1 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
}

.pdf-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.pdf-file {
  margin-right: auto;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.pdf-view-wrap {
  padding-top: 8px;
}

.book-reader {
  display: grid;
  gap: 16px;
}

.book-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(18, 32, 51, 0.88);
  color: #fff;
  backdrop-filter: blur(16px);
  width: min(520px, 100%);
  margin: 0 auto;
}

.book-meter-wrap {
  display: grid;
  gap: 6px;
  min-width: 150px;
  text-align: center;
}

.book-toolbar [data-book-label] {
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.book-meter {
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.book-meter i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transition: width 0.35s ease;
}

.book-nav {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-deep);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.book-nav:hover:not(:disabled) {
  transform: scale(1.06);
}

.book-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.book-full {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.book-full[aria-pressed="true"] {
  background: #fff;
  color: var(--blue-deep);
}

body.is-book-full {
  overflow: hidden;
}

body.is-book-full .wa-float {
  display: none;
}

.book-reader.is-fullpage {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px 16px 24px;
  overflow: auto;
  background: #0b1220;
}

.book-reader.is-fullpage .book-stage {
  min-height: calc(100vh - 110px);
  border-radius: 22px;
}

.book-reader.is-fullpage .book-stack {
  width: min(980px, 100%);
  min-height: calc(100vh - 150px);
}

.book-reader.is-fullpage .book-sheet canvas {
  max-height: calc(100vh - 170px);
}

.book-reader.is-fullpage .book-hint {
  color: rgba(255, 255, 255, 0.7);
}

.book-status,
.book-hint {
  color: var(--muted);
  text-align: center;
}

.book-status.is-error {
  color: #b42318;
}

.book-stage {
  position: relative;
  padding: 36px 12px 42px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% -10%, rgba(11, 92, 173, 0.35), transparent 42%),
    radial-gradient(circle at 80% 110%, rgba(242, 107, 29, 0.22), transparent 36%),
    linear-gradient(180deg, #15263a 0%, #0b1220 100%);
  box-shadow: 0 30px 80px rgba(11, 32, 58, 0.35);
}

.book-stack {
  position: relative;
  display: grid;
  place-items: center;
  width: min(720px, 100%);
  min-height: 72vh;
  margin: 0 auto;
  perspective: 1800px;
}

.book-sheet {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
  transform-origin: center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.book-sheet.is-back {
  z-index: 1;
}

.book-sheet.is-front {
  z-index: 2;
}

.book-sheet canvas {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
}

.book-sheet.is-flip-next {
  transform-origin: left center;
  animation: bookFlipNext 0.62s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.book-sheet.is-flip-prev {
  transform-origin: right center;
  animation: bookFlipPrev 0.62s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.book-sheet.is-enter-next {
  animation: bookEnterNext 0.62s ease both;
}

.book-sheet.is-enter-prev {
  animation: bookEnterPrev 0.62s ease both;
}

@keyframes bookFlipNext {
  0% { transform: rotateY(0) scale(1); }
  100% { transform: rotateY(-116deg) scale(0.96); opacity: 0.2; }
}

@keyframes bookFlipPrev {
  0% { transform: rotateY(0) scale(1); }
  100% { transform: rotateY(116deg) scale(0.96); opacity: 0.2; }
}

@keyframes bookEnterNext {
  0% { transform: translateX(42px) scale(0.96); opacity: 0.45; }
  100% { transform: none; opacity: 1; }
}

@keyframes bookEnterPrev {
  0% { transform: translateX(-42px) scale(0.96); opacity: 0.45; }
  100% { transform: none; opacity: 1; }
}

.book-hotspot {
  position: absolute;
  top: 24px;
  bottom: 24px;
  width: 16%;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 3;
}

.book-hotspot.is-left { left: 0; }
.book-hotspot.is-right { right: 0; }

.book-reader.is-intro .book-sheet.is-front {
  animation: bookSettle 0.7s ease both;
}

@keyframes bookSettle {
  from { transform: translateY(18px) scale(0.98); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}

.project-tabs {
  display: grid;
  gap: 22px;
}

.project-service {
  display: flex;
  flex-direction: column;
  color: inherit;
}

.project-service img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}

.project-service .status-badge {
  margin-bottom: 10px;
  align-self: flex-start;
}

.project-service .more {
  margin-top: auto;
  padding-top: 14px;
  color: var(--blue);
  font-weight: 800;
}

.project-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #eef4fb;
}

.project-tab {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: transparent;
  color: var(--blue-deep);
  font-weight: 800;
  cursor: pointer;
}

.project-tab.is-active {
  background: var(--white);
  box-shadow: 0 8px 20px rgba(6, 56, 110, 0.12);
}

.project-panel {
  display: none;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
  padding: 8px 0 12px;
}

.project-panel.is-active {
  display: grid;
}

.project-panel img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.project-panel-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.project-panel-copy p {
  color: var(--muted);
}

.project-panel-extra {
  grid-column: 1 / -1;
}

.pdf-mobile-hint,
.pdf-empty {
  margin-top: 14px;
  color: var(--muted);
}

.pdf-empty {
  padding: 48px 28px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 22px;
  background: #fff;
}

.pdf-empty .btn {
  margin-top: 16px;
}

@media (max-width: 960px) {
  .gallery-grid,
  .pdf-grid,
  .project-panel {
    grid-template-columns: 1fr;
  }

  .book-stack {
    min-height: 58vh;
  }
}

.about-hero {
  padding: 72px 0 28px;
  background:
    radial-gradient(820px 280px at 88% 0%, rgba(242, 107, 29, 0.16), transparent 62%),
    linear-gradient(180deg, #eef6fd 0%, #fff 72%);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.about-page h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.about-page h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-mark {
  justify-self: end;
  width: min(100%, 420px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.about-mark img {
  width: 100%;
  height: auto;
}

.about-banner {
  margin-top: 36px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-banner img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.about-facts article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px 16px;
  box-shadow: 0 12px 30px rgba(6, 56, 110, 0.08);
}

.about-facts strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--blue-deep);
}

.about-facts span {
  color: var(--muted);
  font-size: 0.88rem;
}

.about-story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.about-story h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.rich p:last-child { margin-bottom: 0; }
.rich ul, .rich ol { margin: 0 0 12px 1.2rem; }
.lead.rich p { margin: 0; color: inherit; font-size: inherit; }

.about-place {
  display: inline-flex;
  margin-top: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.purpose {
  min-height: 280px;
  border-radius: 28px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.purpose span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.purpose h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.purpose p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.purpose.mission {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(242, 107, 29, 0.28), transparent 42%),
    linear-gradient(160deg, var(--blue-deep), #0b5cad 72%);
}

.purpose.mission p {
  color: rgba(255, 255, 255, 0.9);
}

.purpose.vision {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.purpose.vision span {
  color: var(--orange-deep);
}

.purpose.vision p {
  color: var(--muted);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pillars article {
  background: linear-gradient(180deg, #fff, var(--blue-soft));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px;
}

.pillars span {
  display: block;
  margin-bottom: 14px;
  color: var(--orange-deep);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pillars h3 {
  margin-bottom: 8px;
}

.pillars p {
  color: var(--muted);
}

.about-page .cta-band {
  margin-top: 0;
}

@media (max-width: 960px) {
  .about-hero-grid,
  .about-story,
  .purpose-grid,
  .about-facts,
  .pillars {
    grid-template-columns: 1fr 1fr;
  }

  .about-mark {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .about-hero {
    padding-top: 40px;
  }

  .about-hero-grid,
  .about-story,
  .purpose-grid,
  .about-facts,
  .pillars {
    grid-template-columns: 1fr;
  }

  .about-banner img {
    max-height: 220px;
  }

  .purpose {
    min-height: 0;
    padding: 26px 22px;
  }
}

@media (max-width: 760px) {
  .gallery-grid,
  .footer-main,
  .pdf-grid {
    grid-template-columns: 1fr;
  }

  .pdf-stage iframe {
    height: 70vh;
    min-height: 420px;
  }

  .pdf-file {
    width: 100%;
    margin-right: 0;
  }

  .project-tablist {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .project-tab {
    white-space: nowrap;
  }

  .book-stack {
    min-height: 52vh;
  }

  .book-toolbar {
    width: 100%;
  }
}

.dealer-page {
  background:
    radial-gradient(circle at top right, rgba(11, 92, 173, 0.08), transparent 36%),
    linear-gradient(180deg, #f4f8fc 0%, #fff 42%, #f7fafc 100%);
}

.dealer-hero {
  padding: 48px 0 18px;
}

.dealer-hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.dealer-hero .lead {
  max-width: 58ch;
  color: var(--muted);
  margin-top: 10px;
}

.dealer-wrap {
  max-width: 920px;
}

.dealer-wrap > form {
  display: grid;
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.dealer-block {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 22px 22px 8px;
  box-shadow: 0 10px 30px rgba(6, 56, 110, 0.05);
}

.dealer-block legend {
  padding: 0 8px;
  font-weight: 800;
  color: var(--blue-deep);
  letter-spacing: 0.02em;
}

.dealer-hint,
.dealer-declare {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.dealer-checks {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.dealer-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdff;
  cursor: pointer;
}

.dealer-check input {
  margin-top: 3px;
}

.dealer-check-main {
  border-color: rgba(11, 92, 173, 0.28);
  background: var(--blue-soft);
  font-weight: 700;
  margin-bottom: 14px;
}

.dealer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 28px;
}

.dealer-page .select2-container {
  width: 100% !important;
}

.dealer-page .select2-container--default .select2-selection--single {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdff;
  padding: 8px 10px;
}

.dealer-page .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 28px;
  color: var(--ink);
  padding-left: 4px;
}

.dealer-page .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
  right: 8px;
}

.dealer-page .select2-container--default.select2-container--focus .select2-selection--single,
.dealer-page .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--blue);
}

.dealer-page .select2-dropdown {
  border-color: var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.dealer-page .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--blue);
}

.dealer-page .field-error {
  display: block;
  margin-top: 6px;
  color: #c0392b;
  font-size: 0.84rem;
  font-weight: 700;
}

.dealer-page .is-invalid,
.dealer-page .select2-selection.is-invalid {
  border-color: #c0392b !important;
}

.dealer-page input.is-valid,
.dealer-page textarea.is-valid {
  border-color: #0f7a46;
}

@media (max-width: 760px) {
  .dealer-hero {
    padding-top: 28px;
  }

  .dealer-block {
    padding: 16px 14px 4px;
  }
}
