/* ==========================================================================
   ARYION Energy Storage Systems - Stylesheet
   Design language: modern, premium, conversion-focused energy/solar brand.
   Built on the approved cotehub client-website structure and UI behaviour.
   ========================================================================== */

:root {
  --blue: #3F5FE0;
  --blue-deep: #2D47B8;
  --navy: #14213D;
  --navy-soft: #1C2C52;
  --paper: #F5F7FB;
  --paper-dim: #ECEFF6;
  --ink: #171B26;
  --ink-soft: #4A5164;
  --line: #DEE2EC;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --whatsapp-deep: #1DA851;
  --orange: #FF7A1A;
  --orange-deep: #E85D00;
  --danger: #C0392B;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;
  --shadow-card: 0 10px 30px rgba(20, 33, 61, 0.08);
  --shadow-pop: 0 24px 60px rgba(20, 33, 61, 0.28);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-weight: 600;
  letter-spacing: 0.1px;
  color: var(--navy);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.1em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--alt { background: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy p { color: #C6CBDD; }

.section-rule {
  border: none;
  border-top: 3px solid var(--blue);
  opacity: 0.85;
  width: 56px;
  margin: 0 0 22px;
  border-radius: 4px;
}
.section-rule--center { margin: 0 auto 22px; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
  min-height: 48px;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(63, 95, 224, 0.35);
}
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 14px 30px rgba(63, 95, 224, 0.45); }
.btn-secondary {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-secondary:hover { background: var(--paper-dim); }
.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35); }
.btn-whatsapp:hover { background: var(--whatsapp-deep); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: 14px; min-height: 40px; }

/* ---------- Top utility bar ---------- */
.top-bar { background: var(--navy); color: #C7CEE3; font-size: 12.5px; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; }
.top-bar-contact { display: flex; align-items: center; gap: 18px; }
.top-bar-contact a { color: #C7CEE3; display: inline-flex; align-items: center; gap: 6px; transition: color 0.15s ease; }
.top-bar-contact a:hover { color: var(--orange); }
.top-bar-social { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.top-bar-social .social-title { font-size: 11.5px; color: #9AA3C2; margin-right: 2px; }
.top-bar-social a {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #E9ECF7;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.top-bar-social a:hover { background: var(--orange); color: var(--navy); transform: translateY(-2px); }
@media (max-width: 700px) { .top-bar-email { display: none; } }
@media (max-width: 980px) { .top-bar-social .social-title { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 94px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo-chip {
  background: var(--navy);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
}
.brand img { height: 46px; width: auto; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text .name { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.brand-text .sub { font-size: 10.5px; color: var(--blue); white-space: nowrap; }

.nav-desktop { display: flex; align-items: center; gap: 22px; flex: 1; justify-content: center; min-width: 0; }
.nav-desktop a { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; padding: 6px 2px; border-bottom: 2px solid transparent; transition: color 0.15s ease, border-color 0.15s ease; }
.nav-desktop a:hover { color: var(--blue); border-color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.icon-btn-call {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  border: 2px solid var(--navy); color: var(--navy);
  font-weight: 600; font-size: 13.5px; white-space: nowrap;
}
.icon-btn-call:hover { background: var(--navy); color: var(--white); }

.nav-toggle {
  display: none; background: none; border: none;
  width: 44px; height: 44px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; }

.nav-mobile { display: none; flex-direction: column; background: var(--white); border-top: 1px solid var(--line); padding: 8px 24px 20px; }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 13px 0; border-bottom: 1px solid var(--paper-dim); font-weight: 600; font-size: 15px; color: var(--navy); }
.nav-mobile .btn { margin-top: 14px; }

@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .icon-btn-call span.txt { display: none; }
}
@media (max-width: 560px) {
  .brand img { height: 36px; }
  .brand-logo-chip { padding: 6px 10px; }
  .site-header .container { height: 76px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 64px 0 90px;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,33,61,0.55) 0%, rgba(20,33,61,0.92) 100%);
  pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; position: relative; }
.hero-eyebrow-line { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--orange); font-weight: 600; font-size: 13.5px; }
.hero-eyebrow-line .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero h1 { color: var(--white); font-size: clamp(32px, 4.4vw, 50px); line-height: 1.12; margin-bottom: 20px; }
.hero p.lead { color: #C6CBDD; font-size: 18px; max-width: 540px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 22px; }
.hero-trust .item { font-size: 13px; color: #C6CBDD; max-width: 150px; }
.hero-trust .item b { display: block; color: var(--white); font-family: 'Poppins', sans-serif; font-size: 18px; margin-bottom: 2px; }

.founder-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-l);
  padding: 18px;
  text-align: center;
  position: relative;
}
.founder-card .photo-frame { border-radius: var(--radius-m); overflow: hidden; border: 3px solid var(--orange); margin-bottom: 16px; aspect-ratio: 4/5; }
.founder-card .photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.founder-card .founder-avatar { display: flex; align-items: center; justify-content: center; background: linear-gradient(155deg, var(--blue), var(--navy) 75%); position: relative; overflow: hidden; }
.founder-card .founder-avatar span { font-family: 'Poppins', sans-serif; font-size: 64px; font-weight: 600; color: var(--white); letter-spacing: 2px; position: relative; }
.founder-card .f-name { font-family: 'Poppins', sans-serif; color: var(--white); font-size: 20px; margin-bottom: 2px; }
.founder-card .f-role { color: var(--orange); font-size: 13px; font-weight: 600; letter-spacing: 0.3px; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .founder-card { max-width: 320px; margin: 0 auto; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: center; }
.about-photo { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-card); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.about-list li { font-size: 14.5px; color: var(--ink); padding-left: 22px; position: relative; font-weight: 600; }
.about-list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 10px; height: 10px;
  border: 2px solid var(--blue);
  border-radius: 2px;
  transform: rotate(45deg);
}
.about-vision {
  margin-top: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-s);
  padding: 18px 20px;
}
.about-vision h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 6px; }
.about-vision p { font-size: 14px; font-style: italic; margin-bottom: 0; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-list { grid-template-columns: 1fr; }
}

/* ---------- Services ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.patch-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.patch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.patch-card .icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: #EAF0FD; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--blue);
}
.patch-card h3 { font-size: 18px; margin-bottom: 8px; }
.patch-card p { font-size: 14.5px; margin-bottom: 0; }
.patch-card.featured { border: 1.5px solid var(--blue); position: relative; }
.patch-card.featured .thumb { border-radius: var(--radius-s); overflow: hidden; margin-bottom: 16px; aspect-ratio: 16/9; }
.patch-card.featured .thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 920px; margin: 0 auto; }
.product-card { background: var(--white); border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.product-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .body { padding: 18px 20px 22px; }
.product-card h4 { font-size: 17px; margin-bottom: 6px; }
.product-card .tag { font-size: 12px; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; }
.product-card p { font-size: 14px; margin: 8px 0 0; }

@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- Why Choose Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,0.1); border-radius: var(--radius-m); overflow: hidden; }
.why-item { background: var(--navy-soft); padding: 32px 26px; }
.why-item .icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,122,26,0.18); color: var(--orange); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.why-item h4 { font-size: 16px; margin-bottom: 6px; }
.why-item p { font-size: 13.5px; margin-bottom: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-card); background: var(--white); }
.gallery-grid img { width: 100%; height: 340px; object-fit: cover; transition: transform 0.35s ease; }
.gallery-grid a:hover img, .gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption { padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--navy); }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-grid img { height: 240px; } }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: var(--white); border-radius: var(--radius-m); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.testi-card .stars { color: var(--orange); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.testi-card p.quote { font-style: italic; font-size: 15px; color: var(--ink); margin-bottom: 18px; }
.testi-card .who { display: flex; align-items: center; gap: 10px; }
.testi-card .avatar { width: 42px; height: 42px; border-radius: 50%; background: #EAF0FD; color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; font-weight: 600; }
.testi-card .who .n { font-weight: 700; font-size: 14px; color: var(--navy); }
.testi-card .who .r { font-size: 12px; color: var(--ink-soft); }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 22px 4px; font-family: 'Poppins', sans-serif; font-size: 16.5px;
  color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .plus {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--blue); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: transform 0.2s ease;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-a p { padding: 0 4px 22px; font-size: 15px; }
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: #EAF0FD; color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-list .label { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; }
.contact-list .value { font-size: 15.5px; color: var(--navy); font-weight: 600; }
.contact-card-form { background: var(--white); border-radius: var(--radius-l); padding: 32px; box-shadow: var(--shadow-card); border: 1px solid var(--line); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-s);
  border: 1.5px solid var(--line); font-size: 15px; font-family: inherit;
  background: var(--paper); color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.form-row .error-msg { display: none; color: var(--danger); font-size: 12.5px; margin-top: 5px; font-weight: 600; }
.form-row.invalid input, .form-row.invalid select, .form-row.invalid textarea { border-color: var(--danger); }
.form-row.invalid .error-msg { display: block; }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 600; padding: 12px 14px; border-radius: var(--radius-s); display: none; }
.form-status.show { display: block; }
.form-status.success { background: #E4F8EC; color: #1C7C43; }
.form-status.error { background: #FBE7E4; color: var(--danger); }

.map-frame { border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C6CBDD; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-grid h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer-brand .brand-logo-chip { display: inline-flex; margin-bottom: 14px; }
.footer-brand img { height: 40px; }
.footer-brand p { font-size: 13.5px; color: #A6ADC4; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #C6CBDD; }
.footer-links a:hover { color: var(--white); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--blue); border-color: var(--blue); }
.footer-cta { text-align: center; padding: 30px 0; }
.footer-bottom { padding: 20px 0 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #8891AC; }
.footer-bottom a { color: #8891AC; }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   MAIN POPUP - approved single centered card layout (mandatory, exact spec)
   ========================================================================== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,33,61,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.open { display: flex; animation: overlayFadeIn 0.25s ease both; }
@keyframes overlayFadeIn { from { opacity: 0; } to { opacity: 1; } }

.popup-card {
  background: var(--white);
  border-radius: var(--radius-l);
  max-width: 430px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-pop);
  animation: popupPop 0.32s cubic-bezier(.2,.9,.3,1.2) both;
}
@keyframes popupPop {
  from { opacity: 0; transform: scale(0.94) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.popup-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(20,33,61,0.08);
  border: none;
  font-size: 19px;
  cursor: pointer;
  color: var(--navy);
  z-index: 6;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.popup-close:hover { background: rgba(20,33,61,0.16); transform: rotate(90deg); }

.popup-timer-bar {
  background: linear-gradient(135deg, var(--navy), var(--blue-deep));
  border-radius: var(--radius-l) var(--radius-l) 0 0;
  padding: 18px 30px 16px;
  text-align: center;
  transition: background 0.3s ease;
}
.popup-timer-bar.urgent {
  background: linear-gradient(135deg, #C0392B, #8E2318);
  animation: timerPulse 1s infinite;
}
@keyframes timerPulse {
  0% { box-shadow: 0 0 0 0 rgba(192,57,43,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(192,57,43,0); }
  100% { box-shadow: 0 0 0 0 rgba(192,57,43,0); }
}
.popup-timer-bar .label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--orange);
}
.popup-timer-bar.urgent .label { color: #FFD4CC; }
.popup-timer-bar .clock {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  margin-top: 4px;
}

.popup-body { padding: 26px 30px 30px; text-align: center; }
.popup-icon-badge {
  width: 58px; height: 58px;
  border-radius: 16px;
  margin: -46px auto 18px;
  background: linear-gradient(145deg, var(--orange), var(--orange-deep));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(232,93,0,0.4);
  position: relative;
  z-index: 2;
}
.popup-icon-badge svg { width: 28px; height: 28px; stroke: var(--white); }

.popup-body h3 { font-size: 22px; margin-bottom: 8px; text-align: center; }
.popup-body h3 .accent { color: var(--orange); }
.popup-body > p.sub { font-size: 14px; text-align: center; margin-bottom: 22px; }

.popup-body .enquiry-form { text-align: left; }
.popup-body .reassurance { text-align: center; font-size: 12px; color: var(--ink-soft); margin-top: 12px; }
.popup-body .reassurance .ic { color: var(--blue); }

@media (max-width: 480px) {
  .popup-timer-bar { padding: 16px 20px 14px; }
  .popup-body { padding: 24px 20px 26px; }
}

.phone-input-row { display: flex; gap: 8px; }
.phone-input-row .phone-prefix {
  flex: 0 0 72px;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.phone-input-row input { flex: 1; }

/* ---------- Floating elements (approved - exact spec, do not alter) ---------- */
.floating-badge {
  position: fixed; left: 18px; bottom: 18px; z-index: 300; width: 120px; height: 40px;
  border-radius: 10px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.25); background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.floating-badge img { width: 150px; object-fit: contain; }

.floating-whatsapp {
  position: fixed; right: 18px; bottom: 18px; z-index: 300; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37,211,102,.45); transition: transform .15s ease;
}
.floating-whatsapp:hover { transform: scale(1.06); }
.floating-whatsapp svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 480px) {
  .floating-badge { width: 120px; height: 46px; left: 12px; bottom: 12px; }
  .floating-whatsapp { width: 50px; height: 50px; right: 12px; bottom: 12px; }
  .floating-whatsapp svg { width: 26px; height: 26px; }
}

/* ---------- Utility ---------- */
.reveal-on-load { animation: fadeUp 0.7s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
