@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Plus+Jakarta+Sans:wght@300;400;600;700&display=swap");

:root {
  --green: #056839;
  --red: #bf1e2e;
  --blue: #1f4db8;
  --yellow: #f2c94c;
  --black: #0b0b0b;
  --white: #ffffff;
  --text: #111111;
  --muted: #4b4b4b;
  --card: #ffffff;
  --shadow: 0 16px 40px rgba(5, 104, 57, 0.18);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(5, 104, 57, 0.15), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(191, 30, 46, 0.18), transparent 30%),
    radial-gradient(circle at 70% 85%, rgba(31, 77, 184, 0.18), transparent 35%),
    #f7f7f7;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

body::before {
  width: 320px;
  height: 320px;
  top: 96px;
  right: -120px;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.22), rgba(242, 201, 76, 0));
}

body::after {
  width: 260px;
  height: 260px;
  bottom: 30px;
  left: -90px;
  background: radial-gradient(circle, rgba(191, 30, 46, 0.14), rgba(191, 30, 46, 0));
}

body.nav-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin: 0 0 12px;
  color: var(--black);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 5vw;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 18px;
  font-weight: 600;
  font-size: 14px;
}

.nav a {
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--red), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.lang-switch {
  display: inline-flex;
  gap: 8px;
  background: #fff;
  padding: 6px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(5, 104, 57, 0.12);
  background: #fff;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--green);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-icon::before {
  position: absolute;
  top: -6px;
}

.menu-icon::after {
  position: absolute;
  top: 6px;
}

body.nav-open .menu-icon {
  background: transparent;
}

body.nav-open .menu-icon::before {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .menu-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.lang-btn {
  border: none;
  background: transparent;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: linear-gradient(90deg, var(--green), var(--red));
  color: #fff;
  box-shadow: 0 8px 18px rgba(5, 104, 57, 0.3);
}

main {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  padding: 90px 5vw 40px;
  align-items: center;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.overline {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  margin: 0;
}

.lead {
  font-size: 18px;
  margin: 0;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(5, 104, 57, 0.3);
}

.btn.ghost {
  border-color: var(--red);
  color: var(--red);
  background: transparent;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(31, 77, 184, 0.2);
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.badge {
  background: var(--white);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.badge::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
}

.badge-value {
  font-weight: 700;
  font-size: 18px;
  display: block;
  color: var(--red);
}

.badge-label {
  font-size: 13px;
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-carousel {
  width: min(100%, 720px);
  padding-bottom: 18px;
}

.hero-carousel-slide {
  margin: 0;
}

.hero-carousel-slide img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 14px;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 999px;
  background: rgba(31, 77, 184, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-indicator.active {
  background: var(--green);
  transform: scale(1.15);
}

.hero::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -18px;
  right: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 77, 184, 0.14), rgba(31, 77, 184, 0));
  pointer-events: none;
}

.page-gallery .gallery-figure img,
.product-card-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-page-grid,
.page-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: start;
}

.page-gallery {
  margin: 0 5vw;
}

.gallery-figure {
  margin: 0;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.media-caption {
  margin: 0;
  padding: 14px 16px 18px;
  font-size: 13px;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(247, 247, 247, 0.25), rgba(247, 247, 247, 0.95));
}

.section {
  padding: 0 5vw;
}

.section-header {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-header .overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-header .overline::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(5, 104, 57, 0.22), rgba(31, 77, 184, 0.18)),
    url("../favicon_io/favicon-32x32.png") center/14px 14px no-repeat;
  border: 1px solid rgba(5, 104, 57, 0.12);
  box-shadow: 0 10px 20px rgba(31, 77, 184, 0.12);
}

.section-lead {
  margin: 0;
  color: var(--muted);
}

.about-grid,
.product-grid,
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.about-card,
.product-card,
.location-card,
.materials-card {
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.about-card::before,
.product-card::before,
.location-card::before,
.materials-card::before,
.info-card::before,
.feature-card::before {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  top: -30px;
  right: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 77, 184, 0.1), rgba(31, 77, 184, 0));
  pointer-events: none;
}

.product-card {
  display: flex;
  gap: 16px;
}

.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(5, 104, 57, 0.18), rgba(242, 201, 76, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
}

.product-info h3 {
  margin: 0 0 8px;
}

.about-card h3,
.materials-card h3,
.location-body h3,
.info-card h3,
.feature-card h3,
.product-card-media h3,
.product-info h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-card h3::before,
.materials-card h3::before,
.location-body h3::before,
.info-card h3::before,
.feature-card h3::before,
.product-card-media h3::before,
.product-info h3::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 10px;
  flex-shrink: 0;
  background:
    linear-gradient(135deg, rgba(5, 104, 57, 0.18), rgba(31, 77, 184, 0.2)),
    url("../favicon_io/favicon-32x32.png") center/16px 16px no-repeat;
  border: 1px solid rgba(5, 104, 57, 0.12);
  box-shadow: 0 10px 20px rgba(31, 77, 184, 0.12);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.materials-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.materials-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.material-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: url("../favicon_io/favicon-32x32.png") center/cover no-repeat;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.material-text {
  display: inline-block;
}

.materials-card.highlight {
  border: 2px solid rgba(31, 77, 184, 0.2);
  background: linear-gradient(135deg, rgba(31, 77, 184, 0.08), rgba(5, 104, 57, 0.04));
}

.materials-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.materials-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
  font-size: 12px;
}

.location-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.location-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(191, 30, 46, 0.12), rgba(31, 77, 184, 0.22));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--red);
}

.contact {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.contact-card {
  background:
    radial-gradient(circle at top left, rgba(31, 77, 184, 0.18), transparent 24%),
    radial-gradient(circle at center left, rgba(5, 104, 57, 0.18), transparent 26%),
    linear-gradient(135deg, #0b0b0b 0%, #143674 48%, #056839 100%);
  color: var(--white);
  border-radius: 0;
  padding: 36px;
  box-shadow: none;
}

.contact-card .overline {
  color: var(--yellow);
}

.contact-card h2 {
  color: var(--white);
}

.product-link-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-card-media {
  overflow: hidden;
  padding: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 247, 247, 0.96));
}

.product-card-image {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  max-height: 190px;
  object-fit: cover;
}

.product-card-media h3,
.product-card-media p,
.product-card-media .btn {
  margin-left: 20px;
  margin-right: 20px;
}

.product-card-media h3 {
  margin-top: 4px;
}

.product-card-media .btn {
  margin-bottom: 20px;
}

.product-link-card .btn {
  align-self: flex-start;
}

.subpage-main {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 0;
}

.page-hero,
.content-panel,
.cta-panel {
  margin: 0 5vw;
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.page-hero {
  margin-top: 48px;
  background:
    radial-gradient(circle at top right, rgba(31, 77, 184, 0.1), transparent 32%),
    radial-gradient(circle at bottom left, rgba(5, 104, 57, 0.1), transparent 28%),
    var(--white);
}

.page-hero::before,
.content-panel::before,
.cta-panel::before,
.gallery-page-panel::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::before {
  width: 140px;
  height: 140px;
  right: -30px;
  top: -30px;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.26), rgba(242, 201, 76, 0));
}

.content-panel::before {
  width: 110px;
  height: 110px;
  right: -22px;
  bottom: -22px;
  background: radial-gradient(circle, rgba(5, 104, 57, 0.12), rgba(5, 104, 57, 0));
}

.cta-panel::before,
.gallery-page-panel::before {
  width: 160px;
  height: 160px;
  left: -40px;
  top: -40px;
  background: radial-gradient(circle, rgba(191, 30, 46, 0.14), rgba(191, 30, 46, 0));
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.page-hero p,
.content-panel p,
.cta-panel p,
.content-panel li {
  color: var(--muted);
}

.info-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.info-card,
.feature-card {
  background: rgba(247, 247, 247, 0.9);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.check-list li::before {
  content: "\2022";
  color: var(--green);
  font-weight: 700;
  display: inline-block;
  width: 1em;
}

.cta-panel {
  background: linear-gradient(135deg, rgba(5, 104, 57, 0.09), rgba(31, 77, 184, 0.08));
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.gallery-page-panel {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(31, 77, 184, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(5, 104, 57, 0.08), transparent 24%),
    var(--white);
}

.gallery-carousel {
  display: grid;
  gap: 22px;
  outline: none;
}

.gallery-carousel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gallery-carousel-label {
  margin: 0;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.gallery-carousel-counter {
  font-weight: 700;
  color: var(--muted);
}

.gallery-stage {
  position: relative;
  display: grid;
  align-items: center;
}

.gallery-slides {
  min-height: 0;
}

.gallery-slide {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(247, 247, 247, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.gallery-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-slide figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);
}

.gallery-nav.prev {
  left: 18px;
}

.gallery-nav.next {
  right: 18px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 12px;
}

.gallery-thumb {
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-thumb.active {
  border-color: var(--green);
  box-shadow: 0 16px 28px rgba(5, 104, 57, 0.18);
}

.product-page-grid .product-card-media:hover,
.page-gallery .gallery-figure:hover,
.gallery-thumb:hover,
.hero-carousel:hover,
.gallery-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(11, 11, 11, 0.12);
}

@media (max-width: 900px) {
  .page-hero,
  .content-panel,
  .cta-panel {
    padding: 24px;
  }
}

.contact-card .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.contact-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.contact-panel {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.info-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: url("../favicon_io/favicon-32x32.png") center/cover no-repeat;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

.contact-panel h3 {
  margin: 0;
  color: var(--white);
  font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}

.contact-note {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.contact-links {
  display: grid;
  gap: 8px;
}

.contact-links a {
  color: var(--yellow);
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: var(--green);
}

.footer {
  padding: 34px 5vw 42px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at top left, rgba(31, 77, 184, 0.2), transparent 28%),
    radial-gradient(circle at center left, rgba(5, 104, 57, 0.16), transparent 26%),
    linear-gradient(135deg, #0b0b0b 0%, #143674 48%, #056839 100%);
  border-top: none;
}

.footer-logo {
  width: min(100%, 110px);
  height: auto;
  margin: 0 auto 14px;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.28));
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    background: #fff;
    flex-direction: column;
    gap: 12px;
    padding: 100px 6vw 24px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  }

  body.nav-open .nav {
    transform: translateY(0);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .simple-nav {
    position: static;
    inset: auto;
    background: transparent;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
    padding: 0;
    transform: none;
    transition: none;
    box-shadow: none;
  }
}

@media (max-width: 700px) {
  .topbar {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
  }

  .topbar .brand {
    width: 100%;
  }

  .simple-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 10px 16px;
    font-size: 13px;
  }

  .simple-nav a {
    padding: 4px 0;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-tagline {
    font-size: 11px;
  }

  .hero {
    padding-top: 60px;
  }

  .gallery-stage {
    gap: 14px;
  }

  .gallery-nav {
    top: auto;
    bottom: 18px;
    transform: none;
    width: 46px;
    height: 46px;
    font-size: 28px;
  }

  .gallery-nav.prev {
    left: 14px;
  }

  .gallery-nav.next {
    right: 14px;
  }

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