:root {
  --olive: #a33234;
  --olive-dark: #82282a;
  --olive-light: #c55e60;
  --cream: #f5f2ea;
  --cream-dark: #ebe6dc;
  --charcoal: #333c3c;
  --charcoal-soft: #4a5555;
  --white: #ffffff;
  --text: #3a3a3a;
  --text-muted: #5c5c5c;
  --whatsapp: #25d366;
  --radius-pill: 999px;
  --radius-card: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 8px 24px rgba(51, 60, 60, 0.08);
  --shadow-md: 0 16px 40px rgba(51, 60, 60, 0.12);
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: "Raleway", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--olive-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 10000;
  padding: 12px 18px;
  background: var(--white);
  color: var(--charcoal);
  font-weight: 700;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transform: translateY(-120%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(245, 242, 234, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(51, 60, 60, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(51, 60, 60, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding-block: 12px;
}

.header-logo img {
  height: 46px;
  width: auto;
  max-width: min(220px, 48vw);
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: block;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  background: rgba(163, 50, 52, 0.12);
  text-decoration: none;
}

.btn-header {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--olive);
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, transform 0.2s var(--ease);
  white-space: nowrap;
}

.btn-header:hover {
  background: var(--olive-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-icon {
  flex-shrink: 0;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  color: var(--charcoal);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  height: 3px;
  width: 24px;
  background: currentColor;
  border-radius: 2px;
  margin-inline: auto;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .nav-toggle {
  position: relative;
  z-index: 1002;
}

@media (min-width: 1100px) {
  .nav-toggle {
    display: none;
  }

  .btn-header {
    display: inline-flex;
  }
}

@media (max-width: 1099px) {
  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    top: 0;
    background: rgba(245, 242, 234, 0.98);
    flex-direction: column;
    justify-content: center;
    padding: 80px 24px 40px;
    z-index: 1001;
  }

  body.nav-open .main-nav {
    display: flex !important;
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-list a {
    font-size: 0.95rem;
    padding: 14px 20px;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding: 48px 0 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("https://images.unsplash.com/photo-1562654501-a0ccc0fe3df9?w=1920&q=80") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(51, 60, 60, 0.82) 0%, rgba(51, 60, 60, 0.45) 45%, rgba(51, 60, 60, 0.25) 100%);
}

.hero-s-shape {
  position: absolute;
  inset: -10% -20% auto auto;
  width: min(70vw, 520px);
  height: min(120vh, 900px);
  background: radial-gradient(ellipse at center, rgba(245, 242, 234, 0.12) 0%, transparent 70%);
  pointer-events: none;
  transform: rotate(-12deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 16px;
}

.hero-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-lead {
  margin: 20px 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-hero-solid {
  background: var(--cream);
  color: var(--charcoal);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.btn-hero-solid:hover {
  background: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--olive);
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--olive-dark);
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: 88px 0;
  position: relative;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin: 0 0 12px;
}

.section-heading {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--charcoal);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-rule {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--olive);
  border-radius: 2px;
  margin: 20px 0 24px;
}

.center {
  text-align: center;
}

.center-rule {
  margin-left: auto;
  margin-right: auto;
}

.section-head.light .section-heading,
.section-head.light .section-label {
  color: var(--white);
}

.section-head.light .section-rule {
  background: rgba(255, 255, 255, 0.5);
}

.section-intro,
.contact-lead,
.contact-form-hint {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.section-intro {
  margin-top: 8px;
}

/* About */
.section-about {
  background: var(--cream);
  overflow: hidden;
}

.about-blob {
  position: absolute;
  border-radius: 50%;
  background: var(--cream-dark);
  opacity: 0.5;
  pointer-events: none;
}

.about-blob-1 {
  width: 320px;
  height: 320px;
  top: 10%;
  left: -80px;
  filter: blur(40px);
}

.about-blob-2 {
  width: 280px;
  height: 280px;
  bottom: 5%;
  right: -60px;
  filter: blur(50px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-text p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.about-tagline {
  font-weight: 600;
  color: var(--charcoal) !important;
}

.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* Services & machines */
.section-services,
.section-machines {
  background: var(--white);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(51, 60, 60, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.machine-image-wrap {
  margin: -8px -8px 16px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(51, 60, 60, 0.06);
}

.machine-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 16px;
}

/* Process */
.section-process {
  background: var(--charcoal);
  color: var(--white);
  padding-bottom: 72px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}

.process-step {
  text-align: center;
}

.process-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid var(--olive-light);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--cream);
}

.process-title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.process-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.process-cta-wrap {
  text-align: center;
  margin-top: 48px;
}

.process-cta-wrap .btn:hover {
  text-decoration: none;
}

/* Why */
.section-why {
  background: var(--olive);
  padding: 72px 0;
}

.why-wrap {
  max-width: 1060px;
}

.why-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}

.why-copy .section-heading,
.why-copy .section-label {
  color: var(--charcoal);
}

.check-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: inset 0 0 0 3px var(--cream);
}

.check-list li::after {
  content: "✓";
  position: absolute;
  left: 3px;
  top: 0.15em;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--white);
}

.why-lead {
  color: var(--text-muted);
  margin: 0;
}

.why-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.why-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Testimonials */
.section-testimonials {
  background: var(--cream);
}

.testimonial-carousel {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.testimonial-card {
  flex-shrink: 0;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(51, 60, 60, 0.06);
  box-sizing: border-box;
}

.testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.55;
}

.testimonial-stars {
  color: #c9a227;
  letter-spacing: 0.15em;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.testimonial-name {
  margin: 0;
  font-weight: 800;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(51, 60, 60, 0.15);
  background: var(--white);
  color: var(--charcoal);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.carousel-btn:hover {
  background: var(--cream-dark);
  border-color: var(--olive);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}

/* Contact */
.section-contact {
  background: var(--white);
  padding-bottom: 64px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrap .section-heading {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form-hint {
  margin: 0 0 24px;
  font-size: 0.95rem;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid rgba(51, 60, 60, 0.15);
  border-radius: 12px;
  background: var(--cream);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(163, 50, 52, 0.22);
}

.contact-info .section-heading {
  font-size: 1.65rem;
}

.contact-lead {
  margin: 0 0 24px;
  text-align: left;
  max-width: none;
}

.contact-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-icon {
  flex-shrink: 0;
  color: var(--olive-dark);
}

.contact-list a {
  color: var(--olive-dark);
  font-weight: 600;
}

.contact-list strong {
  color: var(--charcoal);
}

/* Map */
.section-map {
  line-height: 0;
}

.map-iframe {
  width: 100%;
  height: min(420px, 55vh);
  border: 0;
  display: block;
  filter: grayscale(20%) contrast(0.95);
}

/* Footer */
.site-footer {
  position: relative;
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.88);
  padding: 56px 0 0;
  overflow: hidden;
}

.footer-deco {
  position: absolute;
  inset: auto -20% -40% auto;
  width: min(60vw, 400px);
  height: min(60vw, 400px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-top {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: 40px;
}

.footer-logo {
  margin: 0 auto 20px;
  height: 52px;
  width: auto;
  opacity: 0.95;
}

.footer-text {
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 24px;
}

.footer-bottom-inner {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-inner p {
  margin: 0;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 950;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

/* Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.card-entrance {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: var(--stagger, 0s);
}

.card-entrance.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .card-entrance {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-grid,
  .why-inner,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-photo {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-hero-outline,
  .btn-hero-solid {
    width: 100%;
    justify-content: center;
  }

  .why-inner {
    padding: 32px 24px;
  }
}
