/* ==========================================================================
   Annai Cattle Feeds - AM Traders
   Global stylesheet
   ========================================================================== */

:root {
  /* Sunset palette — yellow -> orange -> deep orange -> red -> pink */
  --sun-yellow: #ffeb3b;
  --sun-orange: #ff9800;
  --sun-deep-orange: #ff5722;
  --sun-red: #f44336;
  --sun-pink: #e91e63;

  --green-900: #7a0f2e;   /* deep plum-red — dark bg / headings */
  --green-800: #c2185b;   /* dark pink — footer / table head */
  --green-700: #e91e63;   /* pink — links / taglines */
  --green-600: #f44336;   /* red — icons / accents / ticks */
  --green-100: #fff1e0;   /* warm light tint — hovers / badges */
  --yellow: #ffeb3b;
  --yellow-dark: #ff9800;
  --cream: #fffaf2;
  --sand: #fff3e0;
  --ink: #2a201f;
  --muted: #6b5c58;
  --white: #ffffff;
  --line: #f0ddd0;
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(122, 15, 46, 0.1);
  --shadow: 0 12px 30px rgba(122, 15, 46, 0.16);
  --wrap: 1180px;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Baloo Thambi 2", "Manrope", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-700); }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--green-900);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.ta { font-family: var(--font-display); color: var(--green-700); font-weight: 600; }
.lead { font-size: 1.06rem; color: var(--muted); max-width: 62ch; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem;
  font-weight: 800; color: var(--green-600); margin-bottom: 0.6rem;
}
.disclaimer { font-size: 0.82rem; color: var(--muted); font-style: italic; margin-top: 0.8rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--green-900);
  color: #fff; padding: 0.6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--yellow-dark); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-weight: 800; font-size: 0.95rem; padding: 0.8rem 1.4rem;
  border-radius: 999px; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: var(--green-900); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-100); }
.btn-ghost { background: rgba(255, 255, 255, 0.15); color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.28); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }

/* ---------- Header ---------- */
.topbar { background: var(--green-900); color: #dfeedd; font-size: 0.8rem; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; justify-content: center; padding: 0.5rem 0; }
.topbar-call { color: var(--yellow); font-weight: 700; text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.header-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 1rem; padding: 0.7rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; min-width: 0; text-decoration: none; }
.brand img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--green-900); line-height: 1.1; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 42px; padding: 0 10px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--white); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--green-900); border-radius: 2px; }

.primary-nav { display: none; grid-column: 1 / -1; }
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0.5rem 0 0.8rem; padding: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.nav-link {
  display: flex; flex-direction: column; padding: 0.6rem 0.7rem; border-radius: 10px;
  text-decoration: none; color: var(--ink); font-weight: 700;
}
.nav-link:hover { background: var(--green-100); }
.nav-link.is-active { background: var(--green-100); color: var(--green-800); }
.nav-link { white-space: nowrap; }
.nav-ta { font-size: 0.6rem; font-weight: 500; color: var(--muted); font-family: var(--font-display); white-space: nowrap; }
.nav-cta { margin-top: 0.4rem; }
.nav-cta .btn, .btn { white-space: nowrap; }
.brand img { background: var(--white); border-radius: 10px; padding: 3px; box-shadow: var(--shadow-sm); }

@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .header-inner { grid-template-columns: auto 1fr; }
  .primary-nav { display: block; grid-column: auto; justify-self: end; }
  .primary-nav ul { flex-direction: row; align-items: center; gap: 0.2rem; margin: 0; }
  .nav-link { padding: 0.45rem 0.7rem; font-size: 0.92rem; }
  .brand img { width: 64px; height: 64px; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 235, 59, 0.22), transparent 45%),
    linear-gradient(150deg, var(--green-900), var(--green-700) 65%, var(--green-600));
  color: #f4fbf2; padding: clamp(2.2rem, 5vw, 4rem) 0;
}
.hero h1 { color: #fff; }
.hero .hl { color: var(--yellow); }
.hero .lead { color: #dcefd8; }
.hero .ta { color: var(--yellow); }
.hero .eyebrow { color: var(--yellow); }
.hero-inner { display: grid; gap: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 1.6rem; padding: 0; margin: 1.8rem 0 0; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--yellow); }
.hero-stats span { font-size: 0.82rem; color: #cfe6cb; }
.hero-figure { margin: 0; }
.hero-figure img { border-radius: var(--radius); box-shadow: var(--shadow); border: 4px solid rgba(255, 255, 255, 0.18); }
.hero-figure figcaption { font-size: 0.8rem; color: #cfe6cb; margin-top: 0.5rem; text-align: center; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 3rem; }
}

.page-hero { background: linear-gradient(140deg, var(--green-900), var(--green-700)); color: #eef7ec; padding: clamp(2rem, 4vw, 3.2rem) 0; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #d8ecd4; }
.page-hero .ta { color: var(--yellow); }
.page-hero .eyebrow { color: var(--yellow); }
.notfound { text-align: center; }
.notfound .lead { margin-inline: auto; }
.notfound .hero-actions { justify-content: center; }

/* Smooth entrance animation for page/section titles */
@keyframes titleFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-hero h1, .hero h1, .section-title {
  animation: titleFadeIn 0.7s ease both;
}
.page-hero .lead, .page-hero .ta { animation: titleFadeIn 0.7s ease 0.12s both; }

/* Full-cover home hero with green overlay */
.hero-cover {
  position: relative; min-height: min(78vh, 620px); display: flex; align-items: center;
  background-size: cover; background-position: center; color: #fff; overflow: hidden;
}
.hero-cover::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 152, 0, 0.20), transparent 45%),
    linear-gradient(150deg, rgba(122,15,46,0.92), rgba(233,30,99,0.82) 65%, rgba(244,67,54,0.78));
  z-index: 0;
}
.hero-cover .hero-inner { position: relative; z-index: 1; }
.hero-cover .hero-copy { max-width: 640px; }
.hero-callout {
  display: inline-block; background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius); padding: 0.9rem 1.2rem; margin: 1rem 0 0.4rem;
}
.hero-callout h2 { color: #fff; font-size: clamp(1.15rem, 2.4vw, 1.5rem); margin-bottom: 0.3rem; }
.hero-callout .ta { color: var(--yellow); margin: 0; }

/* ---------- Hero Slider ---------- */
.hero-slider { padding: 0; overflow: hidden; }
.hero-slides { position: relative; min-height: min(78vh, 620px); }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity 0.9s ease;
  min-height: min(78vh, 620px);
}
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
}
.hero-slide--green::before {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 152, 0, 0.20), transparent 45%),
    linear-gradient(150deg, rgba(122,15,46,0.92), rgba(233,30,99,0.82) 65%, rgba(244,67,54,0.78));
}
.hero-slide--amber::before {
  background:
    radial-gradient(circle at 85% 15%, rgba(255,87,34,0.30), transparent 50%),
    linear-gradient(150deg, rgba(101,17,12,0.92), rgba(255,87,34,0.82) 65%, rgba(255,152,0,0.72));
}
.hero-slide--dark::before {
  background:
    radial-gradient(circle at 15% 80%, rgba(255,235,59,0.22), transparent 50%),
    linear-gradient(150deg, rgba(20,8,14,0.94), rgba(122,15,46,0.88) 60%, rgba(194,24,91,0.8));
}
.hero-slide .hero-inner { position: relative; z-index: 1; }
.hero-slide .hero-copy { max-width: 640px; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.28); color: #fff; font-size: 1rem; cursor: pointer;
  display: none; align-items: center; justify-content: center; transition: background 0.2s ease;
}
.hero-arrow:hover { background: rgba(0,0,0,0.5); }
.hero-arrow--prev { left: 1rem; }
.hero-arrow--next { right: 1rem; }

.hero-dots {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); z-index: 2;
  display: flex; gap: 0.5rem;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.25); padding: 0; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dot.is-active { background: var(--yellow); transform: scale(1.15); border-color: var(--yellow); }

@media (min-width: 700px) {
  .hero-arrow { display: flex; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(2.2rem, 5vw, 3.8rem) 0; }
.section-tint { background: var(--sand); }
.section-title { text-align: center; }
.section-sub { text-align: center; margin-bottom: 1.8rem; }
.section-title + .grid, .section-sub + .grid { margin-top: 1.6rem; }

.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-sm);
}
.card-icon { font-size: 1.8rem; display: block; margin-bottom: 0.5rem; }
.card-warn { border-left: 5px solid #c62828; }
.link-arrow { font-weight: 800; text-decoration: none; font-size: 0.9rem; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.product-body { padding: 1.1rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.product-body .pack {
  display: inline-block; align-self: flex-start; background: var(--green-100); color: var(--green-800);
  font-size: 0.75rem; font-weight: 800; padding: 0.2rem 0.6rem; border-radius: 999px; margin: 0.2rem 0 0.4rem;
}
.product-body .btn, .product-body .link-arrow { margin-top: auto; align-self: flex-start; }

.split { display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 2.6rem; } }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

.tick-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 0.5rem; }
.tick-list li { padding-left: 1.7rem; position: relative; }
.tick-list li::before {
  content: "✔"; position: absolute; left: 0; color: var(--green-600); font-weight: 800;
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem 1.2rem 1.2rem 3.4rem; position: relative;
}
.steps li::before {
  content: counter(step); position: absolute; left: 1rem; top: 1.1rem;
  width: 28px; height: 28px; border-radius: 50%; background: var(--green-700); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 0.85rem;
}
.steps strong { display: block; font-family: var(--font-display); color: var(--green-900); }
.steps span { font-size: 0.92rem; color: var(--muted); }

.quote {
  margin: 0; background: var(--white); border-left: 5px solid var(--yellow);
  border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm);
}
.quote cite { font-style: normal; font-weight: 700; font-size: 0.85rem; color: var(--muted); }

.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.plan-featured { border: 2px solid var(--green-600); box-shadow: var(--shadow); }
.plan-tag { font-size: 0.8rem; font-weight: 800; color: var(--green-600); text-transform: uppercase; letter-spacing: 0.08em; }

.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 1rem 0; }
.chip-list li {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 0.9rem; font-size: 0.88rem; font-weight: 600;
}
.chip-list[style*="counter-reset"] { counter-reset: state; }
.chip-list[style*="counter-reset"] li { counter-increment: state; }
.chip-list[style*="counter-reset"] li::before {
  content: counter(state) ". "; color: var(--green-600); font-weight: 800;
}

.table-scroll { overflow-x: auto; margin-top: 1.2rem; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; min-width: 520px; }
.data-table caption { caption-side: bottom; font-size: 0.82rem; color: var(--muted); padding-top: 0.6rem; text-align: left; }
.data-table th, .data-table td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--green-800); color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.data-table tbody tr:nth-child(even) { background: #faf7ef; }

.faq { display: grid; gap: 0.7rem; margin-top: 1.4rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1.2rem; }
.faq summary { cursor: pointer; font-weight: 800; font-family: var(--font-display); color: var(--green-900); }
.faq details[open] summary { margin-bottom: 0.5rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 2.6rem; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.6rem; }
.contact-list strong { display: block; font-family: var(--font-display); color: var(--green-900); }
.contact-list address { font-style: normal; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1rem; display: grid; gap: 0.3rem; }
.field label { font-weight: 700; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 0.7rem 0.85rem; border: 1px solid var(--line);
  border-radius: 10px; background: #fffdf7; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-600); outline: none; box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.18); }
.field .error { color: #c62828; font-size: 0.8rem; min-height: 1em; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c62828; }
.form-status { font-weight: 700; color: var(--green-700); margin-top: 0.8rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- CTA band + footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--green-800), var(--green-600)); color: #fff; padding: 2.2rem 0; }
.cta-band h2 { color: #fff; }
.cta-band .ta { color: var(--yellow); }
.cta-band-inner { display: grid; gap: 1.2rem; align-items: center; }
@media (min-width: 860px) { .cta-band-inner { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.site-footer { background: var(--green-900); color: #cfe0cb; padding: 2.6rem 0 1.2rem; font-size: 0.92rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 0.7rem; }
.site-footer a { color: var(--yellow); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer img { width: 76px; height: 76px; object-fit: contain; background: #fff; border-radius: 12px; padding: 4px; margin-bottom: 0.7rem; }
.site-footer .ta { color: #fff; }
.footer-grid { display: grid; gap: 1.8rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; } }
.footer-links, .footer-meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.site-footer address { font-style: normal; }
.footer-bottom {
  display: grid; gap: 0.3rem; border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2rem; padding-top: 1rem; font-size: 0.82rem;
}
@media (min-width: 720px) { .footer-bottom { grid-template-columns: 1fr auto; } .footer-bottom p:last-child { text-align: right; } }
.footer-bottom p { margin: 0; }

.float-call {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%; background: var(--yellow);
  display: grid; place-items: center; font-size: 1.4rem; text-decoration: none;
  box-shadow: var(--shadow);
}
@media (min-width: 992px) { .float-call { display: none; } }

.reveal {
  opacity: 0; transform: translateY(22px) scale(0.98);
  transition: opacity 0.6s cubic-bezier(.22,.68,.32,1), transform 0.6s cubic-bezier(.22,.68,.32,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Extra motion — sunset theme
   ========================================================================== */

/* Animated gradient wash on hero-style sections */
@keyframes sunsetDrift {
  0%   { background-position: 0% 50%, 0% 0%; }
  50%  { background-position: 100% 50%, 100% 100%; }
  100% { background-position: 0% 50%, 0% 0%; }
}
.hero, .page-hero, .hero-cover::before, .hero-slide--green::before,
.hero-slide--amber::before, .hero-slide--dark::before {
  background-size: 220% 220%, 220% 220%;
  animation: sunsetDrift 14s ease-in-out infinite;
}
.cta-band {
  background-size: 220% 220%;
  animation: sunsetDrift 10s ease-in-out infinite;
}

/* Soft floating motion for hero figure / slider imagery */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-figure img { animation: floatY 5.5s ease-in-out infinite; }

/* Glowing shimmer sweep across primary buttons */
.btn-primary { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--yellow), var(--yellow-dark)); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
}
.btn-primary:hover::after { animation: btnShimmer 1.1s ease; }
@keyframes btnShimmer { to { transform: translateX(120%); } }
.btn { transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease; }
.btn:hover { box-shadow: 0 8px 22px rgba(244, 67, 54, 0.28); }
.btn:active { transform: translateY(0) scale(0.97); }
@keyframes btnRipple { to { transform: scale(2.4); opacity: 0; } }

/* Gentle pulse to draw the eye to primary CTAs in the hero */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(255, 152, 0, 0); }
}
.hero-actions .btn-primary, .cta-actions .btn-primary { animation: ctaPulse 2.6s ease-in-out infinite; }
.hero-actions .btn-primary:hover, .cta-actions .btn-primary:hover { animation: none; }

/* Animated underline sweep on nav links */
.nav-link { position: relative; }
.nav-link::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.15rem; height: 2px;
  background: linear-gradient(90deg, var(--sun-orange), var(--sun-pink));
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

/* Logo micro-interaction */
.brand img { transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease; }
.brand:hover img { transform: rotate(-6deg) scale(1.08); box-shadow: 0 6px 16px rgba(244, 67, 54, 0.25); }

/* Card lift + tilt + icon bounce */
.card, .plan, .quote { transition: transform 0.3s cubic-bezier(.22,.68,.32,1), box-shadow 0.3s ease, border-color 0.3s ease; }
.card:hover, .plan:hover, .quote:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
@keyframes iconBounce {
  0%, 100% { transform: translateY(0) rotate(0); }
  30% { transform: translateY(-6px) rotate(-8deg); }
  55% { transform: translateY(0) rotate(6deg); }
  75% { transform: translateY(-2px) rotate(-2deg); }
}
.card:hover .card-icon { animation: iconBounce 0.7s ease; }

/* Product image zoom on hover */
.product-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.product-card img { transition: transform 0.5s cubic-bezier(.22,.68,.32,1); }
.product-card:hover img { transform: scale(1.08); }

/* Split-media image gentle zoom */
.split-media img { transition: transform 0.5s ease; }
.split-media:hover img { transform: scale(1.03); }

/* Steps: numbered badge pop-in on reveal */
@keyframes badgePop {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}
.steps li.is-visible::before { animation: badgePop 0.5s ease 0.15s both; }

/* Hero slider dots + arrows */
.hero-dot { transition: background 0.2s ease, transform 0.2s ease; }
.hero-dot.is-active { animation: dotGlow 1.6s ease-in-out infinite; }
@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 235, 59, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(255, 235, 59, 0); }
}
.hero-arrow { transition: background 0.2s ease, transform 0.2s ease; }
.hero-arrow:hover { transform: translateY(-50%) scale(1.1); }

/* Floating call button — breathing ring */
.float-call { position: fixed; }
.float-call::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--sun-orange); animation: ringPulse 1.8s ease-out infinite;
}
@keyframes ringPulse {
  0% { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}
.float-call { transition: transform 0.2s ease; }
.float-call:hover { transform: scale(1.08); }

/* Section title gradient underline draws in on reveal */
.section-title { position: relative; padding-bottom: 0.6rem; }
.section-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; height: 3px; width: 64px;
  background: linear-gradient(90deg, var(--sun-yellow), var(--sun-orange), var(--sun-deep-orange), var(--sun-red), var(--sun-pink));
  transform: translateX(-50%) scaleX(0); border-radius: 3px; transition: transform 0.6s ease 0.15s;
}
.section-title.is-visible::after, .section-title.reveal.is-visible::after { transform: translateX(-50%) scaleX(1); }

/* FAQ chevron rotation */
.faq summary { transition: color 0.2s ease; }
.faq details[open] summary { color: var(--sun-deep-orange); }

/* Chip list gentle pop on hover */
.chip-list li { transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.chip-list li:hover { transform: translateY(-3px); background: var(--green-100); }

/* Table row highlight sweep */
.data-table tbody tr { transition: background 0.2s ease; }
.data-table tbody tr:hover { background: var(--green-100); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
