:root {
  --forest: #12422f;
  --leaf: #2f8f46;
  --mint: #e8f5df;
  --cream: #fffaf0;
  --gold: #f0b429;
  --tomato: #d94b38;
  --ink: #17231d;
  --muted: #65726b;
  --line: #dfe9dc;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(18, 66, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fbf5;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

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

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

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 233, 220, 0.8);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-weight: 800;
  letter-spacing: 0;
}

.rrrivo-brand {
  min-width: 0;
}

.brand-logo {
  width: clamp(58px, 7vw, 76px);
  height: clamp(58px, 7vw, 76px);
  border-radius: 50%;
  background: var(--white);
  object-fit: cover;
  object-position: center;
  box-shadow: 0 12px 28px rgba(7, 23, 47, 0.18);
}

.brand-text {
  max-width: 190px;
  color: var(--forest);
  font-size: clamp(0.95rem, 1.8vw, 1.18rem);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #314139;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-menu a {
  position: relative;
  padding: 8px 0;
}

.nav-menu a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--leaf);
  transition: width 180ms ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: var(--forest);
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #102d22;
}

.hero-slider,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 900ms ease,
    transform 5200ms ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(10, 38, 27, 0.88),
      rgba(18, 66, 47, 0.42) 58%,
      rgba(18, 66, 47, 0.16)
    ),
    linear-gradient(0deg, rgba(13, 46, 34, 0.22), rgba(13, 46, 34, 0));
}

.hero::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  content: "";
  background: linear-gradient(0deg, #f8fbf5, transparent);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 210px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  color: var(--white);
  background: rgba(13, 46, 34, 0.68);
  cursor: pointer;
  font-size: 2.5rem;
  line-height: 1;
  transform: translateY(-50%);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.hero-arrow:hover {
  background: rgba(47, 143, 70, 0.92);
  transform: translateY(-50%) scale(1.04);
}

.hero-prev {
  left: 28px;
}

.hero-next {
  right: 28px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  padding-right: 86px;
}

.btn {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.btn.primary {
  color: var(--white);
  background: var(--leaf);
  box-shadow: 0 14px 30px rgba(47, 143, 70, 0.28);
}

.btn.primary:hover {
  background: #257a3a;
}

.btn.ghost {
  color: var(--forest);
  background: var(--white);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}

.hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats strong {
  color: var(--gold);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-heading h2,
.newsletter h2,
.contact-band h2 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p,
.newsletter p,
.contact-band p {
  margin: 14px 0 0;
  color: var(--muted);
}

.featured-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-section {
  padding-top: 96px;
}

.about-story {
  display: grid;
  gap: 34px;
}

.about-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

.about-row-reverse .about-media {
  order: 2;
}

.about-row-reverse .about-content {
  order: 1;
}

.about-media {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 56px rgba(18, 66, 47, 0.1);
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
  transition: transform 420ms ease;
}

.about-media:hover img {
  transform: scale(1.03);
}

.about-row:nth-child(2) .about-media,
.about-row:nth-child(2) .about-media img,
.about-row:nth-child(3) .about-media,
.about-row:nth-child(3) .about-media img {
  min-height: 300px;
}

@media (min-width: 981px) {
  .about-row:nth-child(2) .about-media,
  .about-row:nth-child(3) .about-media {
    align-self: center;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .about-row:nth-child(2) .about-media img,
  .about-row:nth-child(3) .about-media img {
    height: auto;
    min-height: 0;
    object-fit: contain;
  }
}

.about-content {
  padding: 24px 0;
}

.about-content h3 {
  margin: 0 0 10px;
  color: var(--forest);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.about-content strong {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 1.02rem;
}

.about-content p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.75;
}

.about-quote {
  color: var(--forest);
  font-weight: 800;
}

.about-meta {
  display: grid;
  gap: 18px;
  margin: 26px 0 0;
}

.about-meta dt {
  color: var(--muted);
  font-weight: 800;
}

.about-meta dd {
  margin: 4px 0 0;
  color: var(--forest);
  font-size: 1.12rem;
  font-weight: 900;
}

.company-profile-section {
  padding-top: 72px;
}

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

.company-profile-grid article {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(18, 66, 47, 0.08);
}

.company-profile-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #f3b53d;
  color: var(--forest);
  font-weight: 900;
}

.company-profile-grid h3 {
  margin: 0 0 14px;
  color: var(--forest);
  font-size: 1.4rem;
}

.company-profile-grid p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.72;
}

.company-profile-grid p:last-child {
  margin-bottom: 0;
}

.company-profile-wide {
  grid-column: 1 / -1;
}

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

.process-gallery article {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  outline: none;
}

.process-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.process-hover-gallery {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 8px;
  background: rgba(248, 251, 245, 0.96);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.process-hover-gallery img {
  height: 100%;
  min-height: 0;
  border-radius: 6px;
  aspect-ratio: auto;
  box-shadow: 0 10px 24px rgba(12, 45, 32, 0.16);
}

.process-gallery article:hover .process-hover-gallery,
.process-gallery article:focus .process-hover-gallery,
.process-gallery article:focus-within .process-hover-gallery,
.process-gallery article.show-process-gallery .process-hover-gallery {
  opacity: 1;
  transform: translateY(0);
}

.process-gallery article > div:not(.process-hover-gallery) {
  padding: 18px;
}

.process-gallery span,
.detail-grid span {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--leaf);
  font-weight: 900;
}

.process-gallery h3,
.detail-grid h3 {
  margin: 16px 0 8px;
  color: var(--forest);
}

.process-gallery p,
.detail-grid p {
  margin: 0;
  color: var(--muted);
}

.business-details {
  width: 100%;
  max-width: none;
  background: #fff;
}

.business-details .section-heading,
.business-details .detail-grid {
  width: min(980px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

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

.detail-grid article {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf5;
  box-shadow: var(--shadow);
}

.packaging-showcase {
  width: min(1180px, calc(100% - 32px));
}

.packaging-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 16px;
}

.packaging-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: 1fr auto;
}

.packaging-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.packaging-card-wide {
  grid-column: span 2;
}

.packaging-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.packaging-card:hover img {
  transform: scale(1.04);
}

.packaging-card div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 48px 18px 18px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(7, 32, 22, 0.92), rgba(7, 32, 22, 0));
}

.packaging-card strong {
  display: block;
  font-size: 1.05rem;
}

.packaging-card p {
  max-width: 360px;
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.45;
}

.feature-card,
.product-card,
.category-grid article,
.why-grid article,
.review-grid article,
.contact-band,
.newsletter-card,
.contact-form,
.info-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 190px;
  display: grid;
  grid-template-columns: 42% 1fr;
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card div {
  padding: 24px;
}

.feature-card span {
  color: var(--tomato);
  font-weight: 900;
  font-size: 0.82rem;
}

.feature-card h3,
.feature-card p {
  margin: 8px 0 0;
}

.feature-card strong {
  display: inline-block;
  margin-top: 12px;
  color: var(--forest);
  font-size: 1rem;
}

.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(190px, 260px);
  gap: 14px;
  margin-bottom: 22px;
}

.shop-toolbar select,
.contact-form input,
.contact-form textarea,
.newsletter-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  padding: 12px 14px;
}

.shop-toolbar select:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.newsletter-form input:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(47, 143, 70, 0.12);
}

.category-dropdowns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.category-dropdowns details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  overflow: hidden;
}

.category-dropdowns summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  color: var(--forest);
  font-weight: 900;
}

.category-dropdowns summary::after {
  content: "+";
  color: var(--leaf);
}

.category-dropdowns details[open] summary::after {
  content: "−";
}

.subcategory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
}

.subcategory-list button {
  border: 1px solid #cddfc9;
  border-radius: 999px;
  background: var(--white);
  color: #405047;
  cursor: pointer;
  padding: 7px 11px;
  font-size: 0.9rem;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.subcategory-list button:hover {
  border-color: var(--leaf);
  color: var(--forest);
  transform: translateY(-1px);
}

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

.product-card {
  overflow: hidden;
  transition:
    transform 190ms ease,
    box-shadow 190ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 62px rgba(18, 66, 47, 0.2);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-body {
  padding: 18px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.rating {
  color: var(--gold);
  font-weight: 900;
}

.product-card h3 {
  margin: 10px 0 6px;
  color: var(--forest);
  font-size: 1.12rem;
}

.product-description {
  min-height: 48px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.product-price {
  margin-bottom: 2px;
  color: var(--forest);
  font-size: 1.08rem;
  font-weight: 900;
}

.product-stock {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.product-actions {
  display: flex;
}

.product-actions .btn {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  font-size: 0.88rem;
}

.btn.secondary {
  color: var(--forest);
  background: var(--mint);
}

.category-grid,
.why-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-grid article,
.why-grid article,
.review-grid article {
  padding: 26px;
}

.category-grid span,
.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--leaf);
  font-weight: 900;
}

.category-grid h3,
.why-grid h3,
.review-grid h3 {
  margin: 18px 0 8px;
  color: var(--forest);
}

.category-grid p,
.why-grid p,
.review-grid p {
  margin: 0;
  color: var(--muted);
}

.empty-state {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.empty-state.mini {
  padding: 10px 0 0;
  border: 0;
  background: transparent;
  font-size: 0.9rem;
  text-align: left;
}

.why {
  width: 100%;
  max-width: none;
  background: var(--forest);
}

.why .section-heading,
.why .why-grid {
  width: min(1180px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.why .section-heading h2,
.why .why-grid h3 {
  color: var(--white);
}

.why .why-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.why .why-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.stars {
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 900;
}

.contact-band,
.newsletter-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
}

.contact-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.contact-points span {
  display: block;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-points p {
  margin-top: 4px;
}

.newsletter {
  padding: 40px 16px 90px;
}

.newsletter-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(18, 66, 47, 0.96), rgba(47, 143, 70, 0.84)),
    url("images/image5.jpeg") center/cover;
}

.newsletter-card h2,
.newsletter-card p {
  color: var(--white);
}

.newsletter-form {
  display: grid;
  width: min(440px, 100%);
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.footer {
  color: rgba(255, 255, 255, 0.82);
  background: #0d2e22;
  padding: 58px 16px 24px;
}

.footer-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}

.map-card iframe {
  display: block;
  width: 100%;
  border: 0;
}

.map-card iframe {
  height: 320px;
  margin-top: 16px;
  border-radius: 8px;
}

.footer h3,
.footer .brand {
  color: var(--white);
}

.footer a {
  display: block;
  margin: 8px 0;
}

.footer p {
  margin: 10px 0 0;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.copyright {
  width: min(1180px, 100%);
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.page-hero {
  min-height: 420px;
  display: flex;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 66, 47, 0.88), rgba(18, 66, 47, 0.46)),
    url("images/image4.jpeg") center/cover;
}

.page-hero.contact-hero {
  background:
    linear-gradient(90deg, rgba(18, 66, 47, 0.12), rgba(18, 66, 47, 0.04)),
    url("https://lighthouselegal.com.au/wp-content/uploads/2021/10/contact-us.jpg")
      center/cover;
}

.contact-hero .page-hero-content {
  visibility: hidden;
}

.page-hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 40px;
}

.contact-hero-content {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 260px;
}

.contact-hero-eyebrow {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ffd05b;
  margin-top: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
}

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

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form h2,
.info-card h2,
.legal-card h1,
.legal-card h2 {
  margin: 0;
  color: var(--forest);
}

.contact-form label {
  color: var(--forest);
  font-weight: 800;
}

.contact-info {
  display: grid;
  gap: 20px;
}

.contact-section {
  padding-top: 80px;
}

.contact-cards {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.contact-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(18, 66, 47, 0.08);
  text-align: center;
}

.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--white);
  font-size: 1.65rem;
}

.contact-card h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  color: var(--forest);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 1000px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

.whatsapp-btn {
  display: inline-flex;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--white);
  background: #25d366;
  font-weight: 900;
}

.legal-main {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 116px 0 80px;
}

.legal-card {
  padding: clamp(28px, 5vw, 56px);
}

.legal-card h1 {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 1;
}

.legal-card h2 {
  margin-top: 30px;
}

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

.updated {
  margin: 10px 0 24px;
}

.compact-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 16px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: min(360px, calc(100% - 36px));
  padding: 14px 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--forest);
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(13, 46, 34, 0.62);
  backdrop-filter: blur(8px);
}

.order-modal.open {
  display: flex;
}

.order-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(13, 46, 34, 0.28);
}

.order-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--forest);
  background: var(--mint);
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 900;
}

.order-dialog h2 {
  margin: 0;
  color: var(--forest);
  font-size: 2rem;
  line-height: 1.1;
}

.order-product {
  margin: 10px 0 18px;
  color: var(--tomato);
  font-weight: 900;
}

.order-form {
  display: grid;
  gap: 12px;
}

.order-form label {
  color: var(--forest);
  font-weight: 800;
}

.order-form input,
.order-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  padding: 12px 14px;
}

.order-form input:focus,
.order-form textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(47, 143, 70, 0.12);
}

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

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

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .featured-strip,
  .process-gallery,
  .detail-grid,
  .packaging-showcase,
  .category-dropdowns,
  .category-grid,
  .company-profile-grid,
  .why-grid,
  .review-grid,
  .footer-grid,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .shop-toolbar {
    grid-template-columns: 1fr;
  }

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

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

  .about-row {
    grid-template-columns: 1fr;
  }

  .about-row-reverse .about-media,
  .about-row-reverse .about-content {
    order: initial;
  }

  .contact-band,
  .newsletter-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .navbar {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    font-size: 0.95rem;
  }

  .rrrivo-brand {
    min-width: 0;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .brand-text {
    max-width: 118px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 660px;
  }

  .hero-content {
    padding: 100px 0 190px;
  }

  .hero-arrow {
    top: auto;
    bottom: 76px;
    width: 42px;
    height: 42px;
    font-size: 1.9rem;
    transform: none;
  }

  .hero-arrow:hover {
    transform: scale(1.04);
  }

  .hero-prev {
    left: 16px;
  }

  .hero-next {
    right: 16px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.5rem);
  }

  .hero p,
  .page-hero p {
    font-size: 1rem;
  }

  .hero-actions {
    padding-right: 72px;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 62px 0;
  }

  .featured-strip,
  .process-gallery,
  .detail-grid,
  .packaging-showcase,
  .packaging-grid,
  .category-dropdowns,
  .category-grid,
  .company-profile-grid,
  .why-grid,
  .review-grid,
  .footer-grid,
  .contact-layout,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card img {
    aspect-ratio: 16 / 9;
  }

  .packaging-card,
  .packaging-card-large,
  .packaging-card-wide,
  .company-profile-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .about-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .packaging-card,
  .packaging-card img {
    min-height: 270px;
  }

  .packaging-grid {
    grid-auto-rows: 270px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .contact-band,
  .newsletter-card,
  .process-gallery article,
  .detail-grid article,
  .category-grid article,
  .why-grid article,
  .review-grid article,
  .contact-form,
  .info-card,
  .order-dialog {
    padding: 22px;
  }

  .compact-footer {
    justify-content: flex-start;
  }
}
