:root {
  --color-primary: #0f2d46;
  --color-primary-deep: #0a2236;
  --color-accent: #d98a1e;
  --color-accent-strong: #b36b10;
  --color-ink: #1f2a33;
  --color-muted: #5a6772;
  --color-surface: #ffffff;
  --color-soft: #f4f1eb;
  --color-soft-blue: #e9eef3;
  --color-border: #d8dee5;
  --color-shadow: rgba(15, 45, 70, 0.12);
  --container: 1180px;
  --header-height: 88px;
  --radius: 20px;
  --radius-sm: 14px;
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--color-ink);
  background: #f8f7f4;
  line-height: 1.6;
  padding-top: var(--header-height);
}

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

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(217, 138, 30, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 999;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 12px;
}

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

.section {
  padding: 88px 0;
}

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

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.hero h1,
.service-card h3,
.product-card h3,
.feature-item h3,
.contact-list h3,
.site-footer h3 {
  font-family: "Merriweather Sans", sans-serif;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-accent-strong);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-heading h2,
.hero h1 {
  margin: 0;
  line-height: 1.15;
  color: var(--color-primary-deep);
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

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

.btn-primary,
.btn-whatsapp {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 25px rgba(217, 138, 30, 0.22);
}

.btn-primary:hover,
.btn-whatsapp:hover {
  background: var(--color-accent-strong);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-block {
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(17, 31, 45, 0.08);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

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

.brand img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-family: "Merriweather Sans", sans-serif;
  color: var(--color-primary-deep);
  font-size: 1.1rem;
}

.brand-text span {
  color: var(--color-muted);
  font-size: 0.94rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-weight: 700;
  color: var(--color-primary);
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(10, 34, 54, 0.85) 0%, rgba(10, 34, 54, 0.72) 42%, rgba(10, 34, 54, 0.55) 100%),
    url("../images/001.jpg") center center / cover no-repeat;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.8fr);
  gap: 36px;
  align-items: end;
  padding: 84px 0;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  color: #fff;
}

.hero-lead {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  margin: 22px 0 12px;
}

.hero-support {
  max-width: 640px;
  margin: 0 0 32px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

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

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-panel-card,
.hero-stats article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 22px;
}

.panel-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #ffd18d;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.hero-panel-card strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.35;
}

.hero-stats {
  display: grid;
  gap: 14px;
}

.hero-stats strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.82);
}

.about {
  background: linear-gradient(180deg, #fff 0%, var(--color-soft) 100%);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 22px 42px rgba(31, 42, 51, 0.18);
  min-height: 540px;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 14px 30px rgba(15, 45, 70, 0.28);
}

.experience-badge strong {
  display: block;
  font-size: 1.9rem;
  font-family: "Merriweather Sans", sans-serif;
}

.about-copy p {
  color: var(--color-muted);
  font-size: 1.04rem;
}

.services {
  background: #f8f7f4;
}

.card-grid,
.feature-grid {
  display: grid;
  gap: 22px;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.feature-item,
.product-card,
.contact-form-card {
  background: var(--color-surface);
  border: 1px solid rgba(15, 45, 70, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px var(--color-shadow);
}

.service-card {
  padding: 26px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 138, 30, 0.35);
  box-shadow: 0 20px 36px rgba(15, 45, 70, 0.16);
}

.icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(217, 138, 30, 0.18), rgba(15, 45, 70, 0.1));
  margin-bottom: 18px;
}

.icon-wrap svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.product-card h3,
.feature-item h3 {
  margin: 0 0 10px;
  color: var(--color-primary-deep);
  font-size: 1.18rem;
}

.service-card p,
.product-card p,
.contact-copy p,
.contact-list p,
.footer-brand p,
.footer-links {
  color: var(--color-muted);
}

.products {
  background: linear-gradient(180deg, #fff 0%, #f5f1ea 100%);
}

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

.product-card {
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: var(--color-soft-blue);
}

.product-card h3,
.product-card p {
  padding-inline: 22px;
}

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

.product-card p {
  margin-bottom: 24px;
}

.products-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.features {
  background: var(--color-primary);
  color: #fff;
}

.features .section-heading h2,
.features .section-heading p {
  color: #fff;
}

.features .eyebrow {
  color: #ffd18d;
}

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

.feature-item {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-item h3 {
  color: #fff;
  margin: 0;
  font-size: 1.1rem;
}

.feature-item .icon-wrap {
  background: rgba(255, 255, 255, 0.12);
}

.feature-item .icon-wrap svg {
  stroke: #fff;
}

.contact {
  background: #f8f7f4;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-list article {
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 45, 70, 0.08);
}

.contact-list h3 {
  margin: 0 0 4px;
  color: var(--color-primary-deep);
  font-size: 1rem;
}

.contact-form-card {
  padding: 28px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row label {
  font-weight: 700;
  color: var(--color-primary-deep);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(217, 138, 30, 0.85);
  box-shadow: 0 0 0 4px rgba(217, 138, 30, 0.12);
  outline: none;
}

.form-row input.is-invalid,
.form-row select.is-invalid,
.form-row textarea.is-invalid {
  border-color: #c64545;
}

.form-feedback {
  min-height: 24px;
  margin: 0 0 14px;
  font-weight: 700;
  color: #a44040;
}

.form-feedback.is-success {
  color: #2d6f4d;
}

.map-wrap {
  margin-top: 36px;
}

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(15, 45, 70, 0.12);
}

.site-footer {
  background: #0a2236;
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 54px 0 36px;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  margin-bottom: 18px;
}

.site-footer h3 {
  margin-top: 0;
  color: #fff;
  font-size: 1.05rem;
}

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

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0 26px;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 16px 20px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 32px rgba(37, 211, 102, 0.3);
  animation: floatPulse 3s ease-in-out infinite;
  font-size: 1.125rem;
  font-weight: 700;
}

.floating-whatsapp svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .services-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 960px) {
  :root {
    --header-height: 82px;
  }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

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

  .site-nav {
    grid-column: 1 / -1;
    order: 4;
  }

  .site-nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--color-border);
    padding: 8px;
    box-shadow: 0 16px 30px rgba(15, 45, 70, 0.12);
  }

  .site-nav.is-open ul {
    display: flex;
  }

  .site-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--color-soft-blue);
  }

  .site-nav a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero-content,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 560px;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .brand-text span {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 72px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .products-cta .btn {
    width: 100%;
  }

  .services-grid,
  .product-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-media img {
    min-height: 380px;
  }

  .contact-form-card {
    padding: 22px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    padding: 16px;
  }

  .floating-whatsapp span {
    display: none;
  }

  .footer-bottom-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
