/* ================================================================
   AVINO GROUP — DESIGN SYSTEM
   Premium Business Website · 2026
   ================================================================ */

:root {
  /* Brand palette */
  --green-deep:   #1a3a2e;
  --green-dark:   #2d5a44;
  --green-mid:    #3d7a5c;
  --sage:         #6b8c72;
  --sage-light:   #a8bfad;
  --cream:        #f5f0e8;
  --cream-warm:   #faf7f2;
  --cream-deep:   #ede5d8;
  --gold:         #c9a96e;
  --gold-light:   #dfc08a;
  --charcoal:     #141414;
  --ink:          #1c1c1c;
  --muted:        #5a6455;
  --muted-light:  #8a9485;

  /* Surfaces */
  --surface:        #ffffff;
  --surface-cream:  #faf8f4;
  --surface-sage:   #f2f5f2;

  /* Borders */
  --line:           rgba(26, 58, 46, 0.1);
  --line-mid:       rgba(26, 58, 46, 0.18);
  --line-light:     rgba(255, 255, 255, 0.14);

  /* Shadows */
  --shadow-xl:    0 28px 90px rgba(26, 58, 46, 0.14);
  --shadow-lg:    0 16px 56px rgba(26, 58, 46, 0.1);
  --shadow-md:    0 8px 32px rgba(26, 58, 46, 0.08);
  --shadow-sm:    0 4px 16px rgba(26, 58, 46, 0.06);

  /* Radius */
  --r-xl:   28px;
  --r-lg:   20px;
  --r-md:   14px;
  --r-sm:   10px;
  --r-pill: 999px;

  /* Layout */
  --container:    min(1160px, calc(100% - 3rem));
  --header-h:     72px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul { list-style: none; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-mid);
}

.eyebrow--gold  { color: var(--gold-light); }
.eyebrow--sage  { color: var(--sage-light); }
.eyebrow--light { color: rgba(247, 244, 238, 0.6); }

.h2--light      { color: #f7f4ee; }
.p--light-muted { color: rgba(247, 244, 238, 0.62); font-size: 1.02rem; line-height: 1.75; }

/* ================================================================
   BUTTONS
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.88rem 1.65rem;
  border-radius: var(--r-pill);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
  white-space: nowrap;
}

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

.btn--primary {
  background: var(--green-deep);
  color: #fff;
  border-color: var(--green-deep);
  box-shadow: 0 6px 24px rgba(26, 58, 46, 0.26);
}
.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 12px 36px rgba(26, 58, 46, 0.34);
}

.btn--cream-solid {
  background: var(--cream);
  color: var(--green-deep);
  border-color: var(--cream-deep);
  box-shadow: 0 4px 18px rgba(197, 182, 158, 0.25);
}
.btn--cream-solid:hover {
  background: #fff;
  box-shadow: 0 8px 28px rgba(197, 182, 158, 0.35);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 244, 238, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-mid);
}
.btn--ghost-dark:hover {
  background: var(--surface-cream);
}

.btn--outline-light {
  background: transparent;
  color: rgba(247, 244, 238, 0.85);
  border-color: rgba(255, 255, 255, 0.28);
  font-size: 0.84rem;
  padding: 0.65rem 1.2rem;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Dashboard button — filled green for dark header */
.btn--dashboard {
  background: var(--green-mid);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
  padding: 0.65rem 1.25rem;
  box-shadow: 0 2px 12px rgba(26, 58, 46, 0.35);
}
.btn--dashboard:hover {
  background: var(--green-dark);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 18px rgba(26, 58, 46, 0.45);
}

/* Owner account icon button */
.account-icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: rgba(247, 244, 238, 0.75);
  flex-shrink: 0;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.account-icon-btn:hover {
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.42);
  color: #f7f4ee;
}

/* Wrapper for Dashboard btn + account icon */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  margin-left: 1rem;
}

.btn--outline-green {
  background: transparent;
  color: rgba(247, 244, 238, 0.85);
  border-color: rgba(168, 191, 173, 0.35);
}
.btn--outline-green:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(168, 191, 173, 0.55);
  color: #fff;
}

/* ================================================================
   LAYOUT UTILITIES
   ================================================================ */

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section--light  { background: var(--surface); }
.section--cream  { background: var(--surface-cream); }
.section--dark   { background: var(--green-deep); }
.section--cta    { background: linear-gradient(150deg, var(--green-dark) 0%, #1a3a2e 100%); }

.section-head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.section-head .eyebrow {
  margin-bottom: 0.85rem;
}

.section-head h2 {
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  margin-bottom: 1rem;
  color: var(--green-deep);
}

.section-head p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

/* ================================================================
   HEADER
   ================================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: var(--header-h);
  width: var(--container);
  margin-inline: auto;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand__mark--dark {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f7f4ee;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.site-nav a {
  color: rgba(247, 244, 238, 0.72);
  font-size: 0.87rem;
  font-weight: 600;
  padding: 0.48rem 0.8rem;
  border-radius: var(--r-sm);
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover {
  color: #f7f4ee;
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  margin-left: 1rem;
  flex-shrink: 0;
}

/* ── Nav dropdown wrapper ── */
.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 0.28rem;
}

.nav-chevron {
  display: inline-block;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  transition: transform 220ms ease;
  opacity: 0.55;
}

.nav-item:hover > a .nav-chevron,
.nav-item:focus-within > a .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── Dropdown panel ── */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border: 1px solid rgba(26, 58, 46, 0.1);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(10, 30, 22, 0.18), 0 4px 16px rgba(10, 30, 22, 0.08);
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 300;
  white-space: nowrap;
}

/* Small arrow pointer */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid rgba(26, 58, 46, 0.1);
  border-top: 1px solid rgba(26, 58, 46, 0.1);
  border-radius: 3px 0 0 0;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ── Services dropdown (single column list) ── */
.nav-dropdown--services {
  min-width: 230px;
  left: 0;
  transform: translateX(0) translateY(-6px);
}
.nav-dropdown--services::before { left: 28px; transform: translateX(0) rotate(45deg); }
.nav-item:hover .nav-dropdown--services,
.nav-item:focus-within .nav-dropdown--services {
  transform: translateX(0) translateY(0);
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  text-decoration: none;
  color: #1c1c1c;
  transition: background 160ms;
}
.nav-dropdown__item:hover {
  background: rgba(26, 58, 46, 0.06);
  color: #1a3a2e;
}
.nav-dropdown__item__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(61, 122, 92, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2d5a44;
}
.nav-dropdown__item__text strong {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: #1a3a2e;
  line-height: 1.2;
}
.nav-dropdown__item__text span {
  font-size: 0.74rem;
  color: #5a6455;
  line-height: 1.3;
}

/* ── Packages dropdown (3-column cards) ── */
.nav-dropdown--packages {
  min-width: 620px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  padding: 1.1rem;
}
.nav-dropdown--packages::before { left: 50%; transform: translateX(-50%) rotate(45deg); }
.nav-item:hover .nav-dropdown--packages,
.nav-item:focus-within .nav-dropdown--packages {
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.nav-pkg-card {
  display: flex;
  flex-direction: column;
  border: 1.5px solid rgba(26, 58, 46, 0.1);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 180ms, box-shadow 180ms, transform 180ms;
  background: #fff;
  white-space: normal;
}
.nav-pkg-card:hover {
  border-color: rgba(61, 122, 92, 0.4);
  box-shadow: 0 8px 28px rgba(26, 58, 46, 0.1);
  transform: translateY(-2px);
}

/* Photo slot — shows placeholder until image uploaded */
.nav-pkg-card__photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #eef8f3, #dcebe5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.nav-pkg-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-pkg-card__photo-placeholder {
  color: rgba(61, 122, 92, 0.4);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-pkg-card__body {
  padding: 0.8rem 0.85rem 0.9rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.nav-pkg-card__tier {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3d7a5c;
  margin-bottom: 0.25rem;
}
.nav-pkg-card__tier--gold { color: #b8942a; }
.nav-pkg-card__name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1a3a2e;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}
.nav-pkg-card__desc {
  font-size: 0.74rem;
  color: #5a6455;
  line-height: 1.45;
  flex: 1;
  margin-bottom: 0.5rem;
}
.nav-pkg-card__cta {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2d5a44;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-pkg-card--featured {
  border-color: rgba(201, 169, 110, 0.45);
  background: linear-gradient(180deg, #fffdf7, #fff);
}
.nav-pkg-card--featured .nav-pkg-card__photo {
  background: linear-gradient(135deg, #fdf6e3, #f5e6b8);
}

/* ── Mobile: dropdowns expand inline ── */
@media (max-width: 768px) {
  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 0.5rem 0 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.12);
    display: none;
  }
  .nav-dropdown::before { display: none; }
  .nav-item.is-open .nav-dropdown { display: block; }
  .nav-dropdown--packages { min-width: auto; }
  .nav-dropdown__packages-grid { grid-template-columns: 1fr; }
  .nav-pkg-card__photo { display: none; }
  .nav-item > a { justify-content: space-between; }
  .nav-chevron { opacity: 0.7 !important; }
  .nav-item.is-open > a .nav-chevron { transform: rotate(180deg); }
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-sm);
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
}

.menu-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(247, 244, 238, 0.88);
  border-radius: 2px;
  transition: transform 220ms ease, opacity 220ms ease;
}

/* ================================================================
   HERO
   ================================================================ */

.hero {
  background: linear-gradient(155deg, var(--green-deep) 0%, #1f4535 55%, #243d30 100%);
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 78% 15%, rgba(201, 169, 110, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 8%  75%, rgba(61, 122, 92, 0.18) 0%,  transparent 45%);
  pointer-events: none;
}

/* Subtle grid overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__inner {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__copy { color: var(--cream); }

.hero__copy .eyebrow { margin-bottom: 1.1rem; }

.hero__copy h1 {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  color: #f7f4ee;
  line-height: 1.02;
  margin-bottom: 1.3rem;
  text-wrap: balance;
}

.hero__lead {
  color: rgba(247, 244, 238, 0.72);
  font-size: 1.04rem;
  line-height: 1.8;
  max-width: 50ch;
  margin-bottom: 2.2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Hero panel */
.hero-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  backdrop-filter: blur(16px);
}

.hero-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.hero-panel__eyebrow {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero-panel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hero-panel__dot--green {
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
}

.hero-panel__title {
  font-size: 0.96rem;
  font-weight: 600;
  color: rgba(247, 244, 238, 0.85);
  line-height: 1.4;
  margin-bottom: 1.4rem;
}

.hero-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.hero-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  text-align: center;
  transition: background 200ms ease, border-color 200ms ease;
  cursor: default;
}

.hero-tile:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-tile__icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(61, 122, 92, 0.35);
  border-radius: var(--r-sm);
  color: var(--sage-light);
  flex-shrink: 0;
}

.hero-tile span:last-child {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(247, 244, 238, 0.72);
  line-height: 1.3;
}

/* ================================================================
   TICKER / MARQUEE
   ================================================================ */

.ticker {
  background: var(--green-dark);
  border-top:    1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.85rem 0;
  overflow: hidden;
}

.ticker__track {
  display: flex;
  gap: 1.4rem;
  min-width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker__track span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.48);
  white-space: nowrap;
}

.ticker__sep {
  color: rgba(201, 169, 110, 0.4) !important;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================================
   SERVICES
   ================================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.5rem;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(61, 122, 92, 0.22);
}

.service-card__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-sage);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--green-mid);
  margin-bottom: 1.2rem;
  flex-shrink: 0;
  transition: background 200ms ease, border-color 200ms ease;
}

.service-card:hover .service-card__icon {
  background: rgba(61, 122, 92, 0.1);
  border-color: rgba(61, 122, 92, 0.2);
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--green-deep);
  margin-bottom: 0.7rem;
  line-height: 1.25;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.72;
}

/* ================================================================
   CORE PRODUCT
   ================================================================ */

.section--core {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(201, 169, 110, 0.16), transparent 34%),
    radial-gradient(circle at 84% 22%, rgba(223, 192, 138, 0.24), transparent 32%),
    radial-gradient(circle at 10% 82%, rgba(107, 140, 114, 0.18), transparent 36%),
    linear-gradient(150deg, #10261f 0%, var(--green-deep) 48%, #091813 100%);
  color: #f7f4ee;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.section--core::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border: 1px solid rgba(223, 192, 138, 0.13);
  border-radius: calc(var(--r-xl) + 8px);
  pointer-events: none;
}

.section--core .container {
  position: relative;
  z-index: 1;
}

.core-product {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.82fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.core-product__copy {
  max-width: 650px;
}

.core-product__copy h2 {
  max-width: 620px;
  margin: 0 0 1rem;
  font-size: clamp(2.65rem, 5vw, 4.8rem);
  color: #f7f4ee;
  text-wrap: balance;
}

.core-product__copy p {
  max-width: 620px;
  color: rgba(247, 244, 238, 0.72);
  font-size: 1rem;
  line-height: 1.85;
}

.core-product__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.core-product__proof span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(223, 192, 138, 0.28);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(247, 244, 238, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
}

.core-product__proof span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(223, 192, 138, 0.16);
}

.core-product__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.core-access-note {
  display: grid;
  gap: 0.25rem;
  max-width: 580px;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(223, 192, 138, 0.22);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(247, 244, 238, 0.76);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.core-access-note strong {
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.core-access-note span {
  font-size: 0.92rem;
  line-height: 1.65;
}

.core-product__panel {
  position: relative;
  padding: 1.35rem;
  border: 1px solid rgba(223, 192, 138, 0.42);
  border-radius: calc(var(--r-xl) + 6px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(12, 31, 25, 0.76);
  box-shadow:
    0 0 0 1px rgba(223, 192, 138, 0.1),
    0 34px 90px rgba(0, 0, 0, 0.38),
    0 0 80px rgba(201, 169, 110, 0.14);
}

.core-product__panel::before {
  content: "";
  position: absolute;
  inset: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--r-xl) - 0.3rem);
  pointer-events: none;
}

.core-product__halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.core-product__halo--gold {
  width: 116px;
  height: 116px;
  right: -32px;
  top: -24px;
  background: rgba(223, 192, 138, 0.2);
}

.core-product__halo--sage {
  width: 88px;
  height: 88px;
  left: -28px;
  bottom: 78px;
  background: rgba(168, 191, 173, 0.16);
}

.core-product__label {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(223, 192, 138, 0.44);
  border-radius: var(--r-pill);
  background: rgba(16, 38, 31, 0.84);
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.core-product__phone {
  position: relative;
  z-index: 1;
  min-height: 430px;
  padding: 1.45rem;
  padding-top: 2.45rem;
  border-radius: 30px;
  background: linear-gradient(180deg, #f7f4ee 0%, #eef3ef 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 0 0 7px rgba(26, 58, 46, 0.06),
    0 22px 52px rgba(0, 0, 0, 0.18);
  color: var(--green-deep);
}

.core-product__phone-bar {
  width: 74px;
  height: 5px;
  margin: 0 auto 1.4rem;
  border-radius: var(--r-pill);
  background: rgba(26, 58, 46, 0.16);
}

.core-product__identity {
  padding: 1.2rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 10%, rgba(223, 192, 138, 0.18), transparent 34%),
    var(--green-deep);
  color: #f7f4ee;
  box-shadow: 0 16px 34px rgba(26, 58, 46, 0.2);
}

.core-product__identity span {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--gold-light);
}

.core-product__identity strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.25rem;
  line-height: 1;
}

.core-product__status {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(26, 58, 46, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.core-product__status span,
.core-product__status strong {
  display: block;
  font-size: 0.72rem;
  line-height: 1.3;
}

.core-product__status span {
  color: var(--muted);
  font-weight: 700;
}

.core-product__status strong {
  color: var(--green-deep);
  font-weight: 900;
  text-align: right;
}

.core-product__lines {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.core-product__lines span {
  height: 10px;
  border-radius: var(--r-pill);
  background: rgba(26, 58, 46, 0.12);
}

.core-product__lines span:nth-child(2) { width: 82%; }
.core-product__lines span:nth-child(3) { width: 58%; }

.core-product__details {
  display: grid;
  gap: 0.55rem;
  margin: 1.1rem 0;
}

.core-product__details span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 38px;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(26, 58, 46, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-deep);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
}

.core-product__details strong {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.core-product__action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 14px 30px rgba(45, 90, 68, 0.3);
}

.core-product__mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-top: 1rem;
}

.core-product__mini-grid span {
  padding: 0.75rem 0.8rem;
  border-radius: var(--r-md);
  background: rgba(26, 58, 46, 0.07);
  border: 1px solid rgba(26, 58, 46, 0.08);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--green-dark);
}

.core-product__caption {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  padding: 0.9rem 1rem 0.2rem;
}

.core-product__caption span {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(223, 192, 138, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.core-product__caption strong {
  display: block;
  color: rgba(247, 244, 238, 0.88);
  font-size: 0.95rem;
  line-height: 1.55;
}

.core-usecases {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 3rem;
}

.core-usecases span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.58rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 244, 238, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.core-offers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}

.core-offers article {
  padding: 1.25rem;
  border: 1px solid rgba(223, 192, 138, 0.18);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
}

.core-offers span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.core-offers strong {
  display: block;
  color: #f7f4ee;
  font-size: 1rem;
  line-height: 1.35;
}

.core-offers p {
  margin-top: 0.55rem;
  color: rgba(247, 244, 238, 0.62);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* ================================================================
   PACKAGES
   ================================================================ */

.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.package-card {
  position: relative;
  border-radius: var(--r-xl);
}

.package-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--r-xl);
  transition: border-color 220ms ease;
}

.package-card:hover .package-card__inner {
  border-color: rgba(255, 255, 255, 0.2);
}

.package-card--featured .package-card__inner {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 169, 110, 0.38);
  box-shadow:
    0 0 0 1px rgba(201, 169, 110, 0.12),
    0 28px 72px rgba(0, 0, 0, 0.22);
}

.package-card--featured:hover .package-card__inner {
  border-color: rgba(201, 169, 110, 0.6);
}

.package-card__badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--green-deep);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.32rem 1rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
  z-index: 1;
}

.package-card__tier {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 0.55rem;
}

.package-card__tier--gold { color: var(--gold-light); }

.package-card__header h3 {
  font-size: 1.7rem;
  color: #f7f4ee;
  margin-bottom: 0.45rem;
  line-height: 1.1;
}

.package-card__price {
  font-size: 0.86rem;
  color: rgba(247, 244, 238, 0.44);
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.package-card__desc {
  margin: -0.6rem 0 1.4rem;
  color: rgba(247, 244, 238, 0.66);
  font-size: 0.86rem;
  line-height: 1.6;
}

.package-card--core .package-card__inner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 4%, rgba(223, 192, 138, 0.24), transparent 32%),
    linear-gradient(180deg, rgba(201, 169, 110, 0.18), rgba(255, 255, 255, 0.07)),
    rgba(255, 255, 255, 0.06);
  border-color: rgba(223, 192, 138, 0.48);
  box-shadow:
    0 0 0 1px rgba(223, 192, 138, 0.12),
    0 24px 68px rgba(0, 0, 0, 0.24);
}

.package-card--core .package-card__inner::before {
  content: "CORE";
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  color: rgba(223, 192, 138, 0.14);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.package-card--core:hover .package-card__inner {
  border-color: rgba(223, 192, 138, 0.72);
  box-shadow:
    0 0 0 1px rgba(223, 192, 138, 0.18),
    0 30px 80px rgba(0, 0, 0, 0.3);
}

.package-card__list {
  display: grid;
  gap: 0.8rem;
  flex: 1;
  margin-bottom: 1.8rem;
}

.package-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(247, 244, 238, 0.76);
  line-height: 1.5;
}

.package-card__list li::before {
  content: "";
  display: inline-flex;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  background: rgba(61, 122, 92, 0.35)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2,6 5,9 10,3' stroke='%23a8bfad' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 10px no-repeat;
  border-radius: 50%;
  margin-top: 0.16rem;
}

.package-card__list--gold li::before {
  background-color: rgba(201, 169, 110, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='2,6 5,9 10,3' stroke='%23dfc08a' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.packages-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.83rem;
  color: rgba(247, 244, 238, 0.38);
  line-height: 1.6;
}

/* ================================================================
   WHY AVINO GROUP
   ================================================================ */

.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}

.why-card {
  grid-column: span 2;
  background: var(--surface-cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

/* Centre the last 2 cards */
.why-card:nth-child(4) { grid-column: 2 / 4; }
.why-card:nth-child(5) { grid-column: 4 / 6; }

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(61, 122, 92, 0.2);
}

.why-card__num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.1rem;
}

.why-card h3 {
  font-size: 1.12rem;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
  line-height: 1.28;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.74;
}

/* ================================================================
   WEBSITES & SYSTEMS
   ================================================================ */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.work-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(61, 122, 92, 0.28);
  box-shadow: var(--shadow-lg);
}

.work-card:focus-visible {
  outline: 3px solid rgba(201, 169, 110, 0.48);
  outline-offset: 4px;
}

.work-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(26, 58, 46, 0.08), rgba(201, 169, 110, 0.12)),
    var(--surface-sage);
}

.work-card__image::after {
  content: "Screenshot coming soon";
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: rgba(26, 58, 46, 0.46);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.work-card__image.is-missing::after {
  display: grid;
}

.work-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}

.work-card__image--logo {
  background: #050505;
}

.work-card__image--logo img {
  object-fit: contain;
  padding: 2.2rem;
}

.work-card:hover .work-card__image img,
.work-card:focus-visible .work-card__image img {
  transform: scale(1.035);
}

.work-card__body {
  display: grid;
  gap: 0.7rem;
  padding: 1.35rem;
}

.work-card__body h3 {
  color: var(--green-deep);
  font-size: 1.2rem;
  line-height: 1.2;
}

.work-card__body p {
  min-height: 3.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.work-card__body span {
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.work-card--pending {
  cursor: default;
}

.legacy-portfolio {
  display: none;
}

/* ================================================================
   PORTFOLIO
   ================================================================ */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 360px));
  gap: 1.2rem;
  justify-content: center;
}

.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.portfolio-card__image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(140deg, var(--green-deep), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card__image--sage    { background: linear-gradient(140deg, #3a5c48, #527a62); }
.portfolio-card__image--warm    { background: linear-gradient(140deg, #5c4a2e, #8a7050); }
.portfolio-card__image--charcoal { background: linear-gradient(140deg, #242424, #3a3a3a); }

.portfolio-card__monogram {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(247, 244, 238, 0.32);
}

.portfolio-card__body { padding: 1.4rem 1.3rem; }

.portfolio-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: rgba(61, 122, 92, 0.08);
  border: 1px solid rgba(61, 122, 92, 0.14);
  border-radius: var(--r-pill);
  padding: 0.28rem 0.72rem;
  margin-bottom: 0.85rem;
}

.portfolio-card__body h3 {
  font-size: 1.2rem;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

.portfolio-card__body p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.68;
}

/* ================================================================
   ABOUT
   ================================================================ */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 5rem;
  align-items: center;
}

.about-copy .eyebrow { margin-bottom: 0.8rem; }

.about-copy h2 {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  color: var(--green-deep);
  margin-bottom: 1.2rem;
}

.about-copy p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.82;
  margin-bottom: 0.9rem;
}

.about-copy .btn { margin-top: 0.75rem; }

.about-panel { display: grid; gap: 0.85rem; }

.about-stat {
  background: var(--surface-cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green-mid);
  border-radius: var(--r-md);
  padding: 1.1rem 1.3rem;
  transition: border-left-color 200ms ease;
}

.about-stat:hover { border-left-color: var(--green-dark); }

.about-stat strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 0.3rem;
}

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

/* ================================================================
   CONTACT CTA
   ================================================================ */

.cta-block {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
}

.cta-block .eyebrow { margin-bottom: 1.1rem; }

.cta-block h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  color: #f7f4ee;
  margin-bottom: 1rem;
  line-height: 1.06;
  text-wrap: balance;
}

.cta-block p {
  color: rgba(247, 244, 238, 0.64);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ================================================================
   FOOTER
   ================================================================ */

.site-footer {
  background: var(--charcoal);
  padding: 4.5rem 0 2rem;
}

.site-footer__inner {
  display: flex;
  gap: 5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.site-footer__brand {
  flex: 0 0 220px;
}

.site-footer__brand .brand__name { color: #f7f4ee; }

.site-footer__brand p {
  margin-top: 1rem;
  font-size: 0.86rem;
  color: rgba(247, 244, 238, 0.38);
  line-height: 1.7;
}

.site-footer__nav {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  flex: 1;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 120px;
}

.footer-col strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.42);
  margin-bottom: 0.4rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(247, 244, 238, 0.58);
  transition: color 180ms ease;
  line-height: 1.5;
}

.footer-col a:hover { color: #f7f4ee; }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__bottom p {
  font-size: 0.8rem;
  color: rgba(247, 244, 238, 0.28);
}

/* ================================================================
   COOKIE BANNER
   ================================================================ */

.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  width: min(520px, calc(100% - 2.5rem));
  padding: 1.4rem 1.5rem;
  background: var(--green-deep);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__eyebrow {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 0.45rem;
}

.cookie-banner__copy h2 {
  font-size: 1.1rem;
  color: #f7f4ee;
  margin-bottom: 0.45rem;
}

.cookie-banner__copy p {
  font-size: 0.83rem;
  color: rgba(247, 244, 238, 0.6);
  line-height: 1.6;
}

.cookie-banner__copy a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  color: rgba(247, 244, 238, 0.75);
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cookie-banner__actions .btn {
  font-size: 0.82rem;
  padding: 0.68rem 1rem;
  white-space: nowrap;
}

/* ================================================================
   SCROLL REVEAL
   ================================================================ */

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

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

/* Stagger children inside reveal containers */
.services-grid .reveal:nth-child(2) { transition-delay: 60ms;  }
.services-grid .reveal:nth-child(3) { transition-delay: 120ms; }
.services-grid .reveal:nth-child(4) { transition-delay: 180ms; }
.services-grid .reveal:nth-child(5) { transition-delay: 60ms;  }
.services-grid .reveal:nth-child(6) { transition-delay: 120ms; }
.services-grid .reveal:nth-child(7) { transition-delay: 180ms; }
.services-grid .reveal:nth-child(8) { transition-delay: 240ms; }

.packages-grid .reveal:nth-child(2) { transition-delay: 80ms;  }
.packages-grid .reveal:nth-child(3) { transition-delay: 160ms; }

.work-grid .reveal:nth-child(2) { transition-delay: 80ms; }
.work-grid .reveal:nth-child(3) { transition-delay: 160ms; }

.portfolio-grid .reveal:nth-child(2) { transition-delay: 60ms;  }
.portfolio-grid .reveal:nth-child(3) { transition-delay: 120ms; }
.portfolio-grid .reveal:nth-child(4) { transition-delay: 180ms; }

.why-grid .reveal:nth-child(2) { transition-delay: 60ms;  }
.why-grid .reveal:nth-child(3) { transition-delay: 120ms; }
.why-grid .reveal:nth-child(4) { transition-delay: 60ms;  }
.why-grid .reveal:nth-child(5) { transition-delay: 120ms; }

/* ================================================================
   RESPONSIVE — 1100px
   ================================================================ */

@media (max-width: 1100px) {
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .work-grid       { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid  { grid-template-columns: repeat(2, 1fr); }
  .core-product    { grid-template-columns: 1fr; }
  .core-product__panel { max-width: 460px; }
  .core-offers     { grid-template-columns: repeat(2, 1fr); }
  .packages-grid   { grid-template-columns: repeat(2, 1fr); }

  .hero__inner { gap: 3rem; }
}

/* ================================================================
   RESPONSIVE — 900px
   ================================================================ */

@media (max-width: 900px) {
  :root { --container: min(100%, calc(100% - 2.5rem)); }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__lead { max-width: 100%; }

  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }

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

  .why-card {
    grid-column: span 1 !important;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .site-footer__inner { gap: 3rem; }
  .site-footer__brand { flex: 0 0 auto; }
}

/* ================================================================
   RESPONSIVE — 768px (mobile nav)
   ================================================================ */

@media (max-width: 768px) {
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    background: var(--green-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    z-index: 99;
  }

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

  .site-nav a {
    padding: 0.82rem 1rem;
    border-radius: var(--r-md);
    font-size: 0.95rem;
  }

  .nav-cta { display: none; }

  /* Keep account icon, hide only the Dashboard text button on mobile */
  .btn--dashboard { display: none; }

  .menu-toggle { display: flex; }

  .site-header { position: relative; }

  /* Section spacing */
  .section { padding: 4rem 0; }

  .hero { padding: 3.5rem 0 3rem; }

  .services-grid { grid-template-columns: 1fr; }

  .core-product__panel { max-width: 100%; }

  .work-grid { grid-template-columns: 1fr; }

  .why-grid { grid-template-columns: 1fr; }

  .portfolio-grid { grid-template-columns: 1fr; }

  .site-footer__inner {
    flex-direction: column;
    gap: 2.5rem;
  }

  .site-footer__nav { gap: 2rem; }

  .site-footer__bottom { flex-direction: column; text-align: center; gap: 0.5rem; }

  .core-product__actions { flex-direction: column; }
  .core-product__actions .btn { width: 100%; justify-content: center; }
  .core-product__phone { min-height: 340px; }
  .core-product__copy h2 { font-size: clamp(2.2rem, 13vw, 3.2rem); }
  .core-offers { grid-template-columns: 1fr; }
  .core-usecases { margin-top: 2.2rem; }
  .core-product__details span {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    border-bottom: none;
  }

  .cookie-banner__actions { flex-direction: row; }
}

/* ================================================================
   CONTACT + PRIVACY PAGES
   ================================================================ */

.brief-page {
  background:
    radial-gradient(circle at top left, rgba(201, 169, 110, 0.14), transparent 32rem),
    linear-gradient(180deg, var(--cream-warm), #fff 42rem);
  min-height: 100vh;
}

.brief-page .brand__copy {
  display: grid;
  gap: 0.05rem;
}

.brief-page .brand__copy strong {
  color: #f7f4ee;
  font-size: 0.94rem;
  font-weight: 800;
}

.brief-page .brand__copy span {
  color: rgba(247,244,238,0.58);
  font-size: 0.73rem;
  font-weight: 700;
}

.brief-hero {
  width: var(--container);
  margin: 0 auto;
  padding: 5rem 0 2rem;
}

.brief-hero__copy {
  max-width: 760px;
}

.brief-hero h1 {
  color: var(--green-deep);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  margin-bottom: 1rem;
}

.hero__lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.brief-layout {
  width: var(--container);
  margin: 0 auto;
  padding: 1rem 0 5rem;
}

.brief-content {
  max-width: 980px;
}

.brief-form {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.form-section {
  padding: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.form-section:last-child {
  border-bottom: 0;
}

.form-section__head {
  margin-bottom: 1rem;
}

.form-section__head p {
  color: var(--green-mid);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-section__head h3 {
  color: var(--green-deep);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-top: 0.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink);
  padding: 0.78rem 0.9rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(61,122,92,0.1);
}

.form-status {
  margin-top: 1rem;
  color: var(--green-mid);
  font-weight: 800;
}

.form-status.is-error {
  color: #991b1b;
}

.alt-contact--inline {
  padding: 1.3rem 1.6rem;
  border-bottom: 1px solid var(--line);
}

.alt-contact--inline p {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.alt-contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.alt-contact__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.6rem 0.9rem;
  color: var(--green-deep);
  font-weight: 800;
  background: var(--surface-cream);
}

.alt-contact__links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.3rem 1.6rem 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  padding: 0.82rem 1.25rem;
  border: 1.5px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.button--primary {
  background: var(--green-deep);
  color: #fff;
}

.button--ghost {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--line-mid);
}

.brief-success {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

.brief-success h2 {
  color: var(--green-deep);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0.5rem 0 0.75rem;
}

.privacy-policy {
  padding: 0;
}

.privacy-policy p,
.privacy-policy li {
  color: var(--muted);
}

.privacy-policy ul {
  list-style: disc;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.privacy-policy__intro {
  font-size: 1.03rem;
  line-height: 1.8;
}

@media (max-width: 720px) {
  .brief-hero {
    padding: 3.2rem 0 1.4rem;
  }

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

  .brief-layout {
    padding-bottom: 3rem;
  }

  .form-section,
  .alt-contact--inline,
  .form-actions {
    padding-inline: 1.1rem;
  }
}

/* ================================================================
   RESPONSIVE — 560px (small phones)
   ================================================================ */

@media (max-width: 560px) {
  :root { --container: min(100%, calc(100% - 1.75rem)); }

  .section { padding: 3.25rem 0; }

  .hero { padding: 3rem 0 2.5rem; }

  .hero__copy h1 { font-size: clamp(2rem, 9vw, 2.8rem); }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

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

  .section-head { margin-bottom: 2.5rem; }

  .packages-grid { max-width: 100%; }

  .site-footer__nav {
    flex-direction: column;
    gap: 1.75rem;
  }

  .cookie-banner__actions { flex-direction: column; }
  .cookie-banner__actions .btn { width: 100%; }
}

/* ================================================================
   PACKAGES COMPONENT — Reusable pricing sections
   ================================================================ */

/* ── Section wrapper ── */
.pkg-section          { padding: 5rem 0; }
.pkg-section--light   { background: var(--cream-warm); }
.pkg-section--sage    { background: var(--surface-sage); }
.pkg-section--cream   { background: var(--cream); }
.pkg-section + .pkg-section { border-top: 1px solid var(--line); }

/* ── Section header ── */
.pkg-section__header {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
}
.pkg-section__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.75rem;
}
.pkg-section__title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.pkg-section__sub {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── 3-column card grid ── */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

/* ── Individual card ── */
.pkg-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition:
    transform     220ms ease,
    box-shadow    220ms ease,
    border-color  220ms ease;
}
.pkg-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(61, 122, 92, 0.28);
}

/* ── Featured card ── */
.pkg-card--featured {
  border-color: var(--gold);
  box-shadow: 0 8px 40px rgba(201, 169, 110, 0.18);
  background: linear-gradient(180deg, #fffdf7 0%, var(--surface) 40%);
}
.pkg-card--featured:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 60px rgba(201, 169, 110, 0.28);
}

/* ── Most Popular badge ── */
.pkg-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold), #b8942a);
  color: var(--green-deep);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 1.1rem;
  border-radius: 0 0 10px 10px;
  white-space: nowrap;
}

/* ── Icon block ── */
.pkg-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(61, 122, 92, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}
.pkg-card--featured .pkg-icon {
  background: rgba(201, 169, 110, 0.14);
  color: #a87c22;
}

/* ── Tier eyebrow ── */
.pkg-name {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.3rem;
}
.pkg-card--featured .pkg-name { color: #a87c22; }

/* ── Description ── */
.pkg-desc {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* ── Price block ── */
.pkg-price-block { margin-bottom: 1.35rem; }

.pkg-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
}
.pkg-billing {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.22rem;
}

/* ── Divider ── */
.pkg-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0 0 1.25rem;
}

/* ── Feature list ── */
.pkg-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--ink);
  line-height: 1.45;
}
.pkg-features li::before {
  content: '';
  display: block;
  width: 18px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: rgba(61, 122, 92, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='1.5,6 4.5,9 10.5,3' stroke='%232d5a44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}
.pkg-card--featured .pkg-features li::before {
  background-color: rgba(201, 169, 110, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='1.5,6 4.5,9 10.5,3' stroke='%23a87c22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

/* ── CTA button ── */
.pkg-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: var(--r-pill);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: background 200ms, transform 200ms, box-shadow 200ms, opacity 200ms;
}
.pkg-cta--default {
  background: var(--green-deep);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26, 58, 46, 0.22);
}
.pkg-cta--default:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(26, 58, 46, 0.3);
}
.pkg-cta--gold {
  background: linear-gradient(135deg, var(--gold), #b8942a);
  color: var(--green-deep);
  box-shadow: 0 4px 18px rgba(201, 169, 110, 0.32);
}
.pkg-cta--gold:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(201, 169, 110, 0.42);
}

/* ── Contact bar ── */
.pkg-contact-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
  padding: 1.1rem 1.75rem;
  background: rgba(26, 58, 46, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.pkg-contact-bar__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
  transition: color 160ms;
}
.pkg-contact-bar__item:hover {
  color: var(--green-deep);
  text-decoration: underline;
}
.pkg-contact-bar__item svg { flex-shrink: 0; color: var(--green-mid); }

/* ── Page hero (packages.html) ── */
.pkg-page-hero {
  background: var(--green-deep);
  padding: 4.5rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.pkg-page-hero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.85rem;
}
.pkg-page-hero__title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #f7f4ee;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}
.pkg-page-hero__sub {
  font-size: 1rem;
  color: rgba(247, 244, 238, 0.6);
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.pkg-page-hero__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.pkg-page-hero__nav a {
  padding: 0.52rem 1.1rem;
  border-radius: var(--r-pill);
  font-size: 0.83rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(247, 244, 238, 0.82);
  text-decoration: none;
  transition: background 180ms, color 180ms;
}
.pkg-page-hero__nav a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #f7f4ee;
}

/* ── Card entrance animation ── */
@media (prefers-reduced-motion: no-preference) {
  @keyframes pkgCardIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0);    }
  }
  .pkg-grid .pkg-card {
    animation: pkgCardIn 0.48s ease both;
  }
  .pkg-grid .pkg-card:nth-child(2) { animation-delay: 0.09s; }
  .pkg-grid .pkg-card:nth-child(3) { animation-delay: 0.18s; }
}

/* ── Packages component responsive ── */
@media (max-width: 900px) {
  .pkg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Center the lone card on 3-item odd grids */
  .pkg-grid .pkg-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .pkg-section  { padding: 3.5rem 0; }
  .pkg-grid     { grid-template-columns: 1fr; gap: 1.25rem; }
  .pkg-grid .pkg-card:last-child:nth-child(odd) { grid-column: auto; max-width: none; }
  .pkg-card     { padding: 1.4rem 1.25rem; }
  .pkg-price    { font-size: 2.2rem; }
  .pkg-contact-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
  }
  .pkg-page-hero { padding: 3rem 0 2.5rem; }
}
