/* =============================================
   MR YETI EVAKUATORS — Shared Design System
   ============================================= */

/* ── 1. Design Tokens ── */
:root {
  --brand:        #F5B400;
  --brand-dark:   #D49700;
  --brand-light:  #FFF8E1;
  --charcoal:     #1A1A1A;
  --grey-mid:     #64748B;
  --grey-warm:    #F7F6F3;
  --urgent:       #DC2626;
  --urgent-dark:  #B91C1C;
  --white:        #FFFFFF;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 12px 48px rgba(0,0,0,0.15);
  --shadow-brand: 0 8px 32px rgba(245,180,0,0.30);

  --transition: 220ms ease;
  --transition-slow: 360ms ease;

  --container: min(1200px, 92vw);
  --section-v: clamp(72px, 10vw, 120px);
}

/* ── 2. Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: #D5C58A;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── 3. Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  display: block;
  margin-bottom: 12px;
}

/* ── 4. Layout Utilities ── */
.container { width: var(--container); margin-inline: auto; }

.section { padding-block: var(--section-v); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }

.text-center { text-align: center; }
.text-white  { color: var(--white); }

/* ── 5. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-brand {
  background: var(--brand);
  color: var(--charcoal);
  box-shadow: 0 4px 16px rgba(245,180,0,0.35);
}
.btn-brand:hover { background: var(--brand-dark); box-shadow: var(--shadow-brand); }

.btn-urgent {
  background: var(--urgent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(220,38,38,0.35);
  font-size: 1.05rem;
  padding: 16px 36px;
}
.btn-urgent:hover { background: var(--urgent-dark); box-shadow: 0 8px 32px rgba(220,38,38,0.45); }

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── 6. Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,26,26,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(245,180,0,0.10);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar--scrolled {
  background: rgba(26,26,26,0.97) !important;
  box-shadow: 0 2px 40px rgba(0,0,0,0.55);
}

.navbar__inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.navbar__logo img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand);
}
.navbar__logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.1;
}
.navbar__logo-text span { color: var(--brand); display: block; font-size: 0.7rem; letter-spacing: 0.1em; font-weight: 600; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 52px;
}
.navbar__links a {
  color: rgba(255,255,255,0.80);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.navbar__links a:hover,
.navbar__links a[aria-current="page"] { color: var(--brand); }
.navbar__links a:hover::after,
.navbar__links a[aria-current="page"]::after { transform: scaleX(1); }

.navbar__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--urgent);
  color: var(--white) !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.navbar__cta:hover { background: var(--urgent-dark) !important; transform: translateY(-1px); }
.navbar__cta::after { display: none !important; }

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.navbar__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.navbar__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(26,26,26,0.97);
  border-top: 1px solid rgba(245,180,0,0.15);
  padding: 20px 0;
}
.navbar__mobile.open { display: flex; }
.navbar__mobile a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition), background var(--transition);
}
.navbar__mobile a:hover,
.navbar__mobile a[aria-current="page"] { color: var(--brand); background: rgba(245,180,0,0.06); }

/* ── 7. Footer ── */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding-block: 60px 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 28px;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer__brand-logo img {
  height: 44px; width: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand);
}
.footer__brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
}
.footer__tagline {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 1.1rem;
  transition: background var(--transition), transform var(--transition);
}
.footer__social a:hover { background: var(--brand); color: var(--charcoal); transform: translateY(-3px); }

.footer__col h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.70);
  transition: color var(--transition);
}
.footer__col ul a:hover { color: var(--brand); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.40);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── 8. Scroll Reveal ── */
.fade-in,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-clip {
  opacity: 0;
  will-change: opacity, transform;
}

.fade-in        { transform: translateY(36px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left    { transform: translateX(-52px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right   { transform: translateX(52px);  transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-scale   { transform: scale(0.88);       transition: opacity 0.6s cubic-bezier(.34,1.4,.64,1), transform 0.6s cubic-bezier(.34,1.4,.64,1); }
.reveal-clip    { clip-path: inset(0 0 100% 0); opacity: 1; transition: clip-path 0.7s ease; }

.fade-in.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible   { opacity: 1; transform: none; }
.reveal-clip.visible    { clip-path: inset(0 0 0% 0); }

@media (prefers-reduced-motion: reduce) {
  .fade-in, .reveal-left, .reveal-right, .reveal-scale, .reveal-clip {
    opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;
  }
}

/* ── 9. Phone FAB ── */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--urgent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(220,38,38,0.45), 0 2px 8px rgba(0,0,0,0.18);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(220,38,38,0.35);
  animation: fab-ring 2.2s ease-out infinite;
}
@keyframes fab-ring {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}
.whatsapp-fab:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 12px 36px rgba(220,38,38,0.55), 0 4px 12px rgba(0,0,0,0.20); }
.whatsapp-fab svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.whatsapp-fab__tooltip {
  position: absolute;
  right: 74px;
  top: 50%; transform: translateY(-50%);
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.whatsapp-fab__tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--charcoal);
}
.whatsapp-fab:hover .whatsapp-fab__tooltip { opacity: 1; }

/* ── 10. Hero (shared short hero for inner pages) ── */
.page-hero {
  position: relative;
  height: clamp(260px, 36vw, 440px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(40px, 6vw, 72px);
  background: var(--charcoal);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,26,0.25) 0%, rgba(26,26,26,0.80) 100%);
}
.page-hero__content {
  position: relative; z-index: 1;
  width: var(--container);
  margin-inline: auto;
}
.page-hero__content h1 { color: var(--white); margin-bottom: 10px; }
.page-hero__content .breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}
.page-hero__content .breadcrumb a { color: var(--brand); }
.page-hero__content .breadcrumb span { color: rgba(255,255,255,0.40); }

/* ── 11. Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(0,0,0,0.07);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: var(--brand); }
.card:hover::after { transform: scaleX(1); }

.card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition), transform var(--transition);
}
.card__icon svg { width: 28px; height: 28px; stroke: var(--brand-dark); }
.card:hover .card__icon { background: var(--brand); transform: rotate(-6deg) scale(1.05); }
.card:hover .card__icon svg { stroke: var(--charcoal); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--grey-mid); font-size: 0.92rem; line-height: 1.65; }

/* Dark card variant */
.card--dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.card--dark h3 { color: var(--white); }
.card--dark p  { color: rgba(255,255,255,0.70); }
.card--dark .card__icon { background: rgba(245,180,0,0.15); }
.card--dark .card__icon svg { stroke: var(--brand); }
.card--dark:hover { border-color: rgba(245,180,0,0.45); }

/* ── 12. Info Strip ── */
.info-strip {
  background: var(--brand);
  padding: 20px 0;
}
.info-strip__inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.info-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--charcoal);
}
.info-strip__item svg { width: 22px; height: 22px; stroke: var(--charcoal); flex-shrink: 0; }

/* ── 13. CTA Banner ── */
.cta-banner {
  background: var(--charcoal);
  padding-block: var(--section-v);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 120%, rgba(245,180,0,0.12) 0%, transparent 70%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,0.70); max-width: 520px; margin-inline: auto; margin-bottom: 36px; }

.phone-hero {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--urgent);
  color: var(--white);
  padding: 20px 40px;
  border-radius: 60px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  box-shadow: 0 8px 40px rgba(220,38,38,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.phone-hero svg { width: 36px; height: 36px; stroke: #fff; flex-shrink: 0; }
.phone-hero:hover { transform: scale(1.04) translateY(-3px); box-shadow: 0 16px 64px rgba(220,38,38,0.55); }

/* ── 14. Process Steps ── */
.steps {
  display: flex;
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--brand), var(--brand-dark));
}
.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.step__num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--brand);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative; z-index: 1;
  box-shadow: 0 4px 20px rgba(245,180,0,0.35);
}
.step h4 { font-weight: 700; margin-bottom: 8px; font-size: 1rem; }
.step p  { font-size: 0.88rem; color: var(--grey-mid); line-height: 1.5; }

/* ── 15. FAQ Accordion ── */
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.09);
}
.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  transition: color var(--transition);
}
.faq-item__question:hover { color: var(--brand-dark); }
.faq-item__question svg {
  width: 22px; height: 22px;
  stroke: var(--brand);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-item__question svg { transform: rotate(45deg); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s ease, padding 0.36s ease;
}
.faq-item__answer p {
  color: var(--grey-mid);
  font-size: 0.92rem;
  line-height: 1.7;
  padding-bottom: 20px;
}
.faq-item.open .faq-item__answer { max-height: 300px; }

/* ── 16. Section Dividers ── */
.section-header { margin-bottom: clamp(40px, 6vw, 64px); }
.section-header--center { text-align: center; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--grey-mid); font-size: 1rem; max-width: 560px; line-height: 1.7; }
.section-header--center p { margin-inline: auto; }

/* ── 17. Trust Badge / Proof Strip ── */
.proof-strip {
  background: #D5C58A;
  padding-block: 48px;
}
.proof-strip__grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.proof-item {
  text-align: center;
}
.proof-item__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand-dark);
  line-height: 1;
}
.proof-item__label {
  font-size: 0.88rem;
  color: var(--grey-mid);
  margin-top: 4px;
  font-weight: 600;
}

/* ── 18. Responsive ── */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__cta   { display: none; }
  .navbar__hamburger { display: flex; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }

  .steps { flex-direction: column; gap: 32px; }
  .steps::before { display: none; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .info-strip__inner { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .grid-5 { grid-template-columns: 1fr; }
  .phone-hero { padding: 16px 24px; font-size: 1.4rem; }
}
