/* ============================================
   RO on Rent — Blue Gel Aqua Solutions
   Shared Stylesheet
   ============================================ */

:root {
  --primary: #1e7dc2;
  --primary-dark: #15659f;
  --primary-light: #e8f3fb;
  --secondary-bg: #eaf4fb;
  --text-dark: #1a1a1a;
  --text-body: #5a5a5a;
  --text-muted: #767676;
  --border-color: #e3e3e3;
  --bg-gray: #f7f8fa;
  --white: #ffffff;
  --green: #16a34a;
  --green-dark: #15803d;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  line-height: 1.6;
  background: var(--white);
  overflow-x: clip;
}

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

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

h1, h2, h3, h4 {
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline {
  background: var(--white);
  color: var(--text-dark);
  border: 2px solid var(--border-color);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-whatsapp {
  background: var(--white);
  color: var(--green-dark);
  border: 2px solid var(--green);
}
.btn-whatsapp:hover { background: #f0fdf4; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo img { height: 46px; width: auto; }
.main-nav { display: none; align-items: center; gap: 1.75rem; }
.main-nav a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-dark);
  transition: color 0.2s;
  position: relative;
}
.main-nav a:hover { color: var(--primary); }
.nav-cta { display: none; align-items: center; gap: 0.75rem; }

.dropdown { position: relative; }
.dropdown-trigger {
  display: flex; align-items: center; gap: 0.3rem;
  cursor: pointer; font-weight: 600; font-size: 0.98rem;
  background: none; border: none; color: var(--text-dark); font-family: inherit;
}
.dropdown-trigger:hover { color: var(--primary); }
.dropdown-menu {
  position: absolute; top: 130%; left: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 0.5rem;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 60;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 0.6rem 0.85rem; border-radius: 6px; font-size: 0.93rem; font-weight: 500;
}
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }

.mobile-menu-btn {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: none; background: var(--bg-gray); border-radius: var(--radius-sm);
  cursor: pointer;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 1rem 1.25rem 1.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.7rem 0;
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text-dark);
}
.mobile-nav .mobile-section-label {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted); margin: 1rem 0 0.25rem; font-weight: 700;
}
.mobile-nav .mobile-cta { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-cta { display: flex; }
  .mobile-menu-btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 55%, #d6ebfa 100%);
  padding: 3.5rem 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: 4.3rem;
  margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--primary); }
.hero-features { list-style: none; margin: 1.25rem 0 1.75rem; }
.hero-features li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.05rem; font-weight: 600; color: var(--text-dark);
  margin-bottom: 0.65rem;
}
.hero-features li .check { color: var(--green); flex-shrink: 0; }
.hero-image img { width: 100%; max-width: 760px; margin: 0 auto; }

.word-slider {
  display: inline-block;
  height: 1.2em;
  overflow: hidden;
  vertical-align: bottom;
  color: var(--primary);
}

.word-slider-inner {
  display: flex;
  flex-direction: column;
  animation: smoothSlide 12s infinite;
}

.word-slider-inner span {
  display: block;
  height: 1.2em;
  line-height: 1.2em;
}

@keyframes smoothSlide {
  0%, 16% {
    transform: translateY(0);
  }
  20%, 36% {
    transform: translateY(-1.2em);
  }
  40%, 56% {
    transform: translateY(-2.4em);
  }
  60%, 76% {
    transform: translateY(-3.6em);
  }
  80%, 96% {
    transform: translateY(-4.8em);
  }
  100% {
    transform: translateY(-6em);
  }
}

@media (min-width: 960px) {
  .hero { padding: 5rem 0; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero h1 { font-size: 4.3rem; }
}

/* ---------- Strip / Banner ---------- */
.strip {
  background: var(--primary);
  padding: 1.5rem 0;
}
.strip-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem;
}
.strip-item { display: flex; align-items: center; gap: 0.75rem; color: var(--white); font-weight: 700; font-size: 1.05rem; }
.strip-item .icon-circle { background: rgba(255,255,255,0.2); border-radius: 50%; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- Sections ---------- */
section { padding: 4rem 0; }
.section-bg-gray { background: var(--bg-gray); }
.section-bg-light-blue { background: var(--primary-light); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-header h2 { font-size: 2.1rem; margin-bottom: 0.75rem; }
.section-header p { font-size: 1.05rem; color: var(--text-body); }

@media (min-width: 768px) {
  section { padding: 5.5rem 0; }
  .section-header h2 { font-size: 2.6rem; }
}

/* ---------- Card grid ---------- */
.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f1f1;
  transition: box-shadow 0.25s, transform 0.25s;
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-body { padding: 1.75rem; text-align: center; }
.card-icon {
  width: 64px; height: 64px; margin: 0 auto 1.1rem;
  background: var(--primary-light); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.93rem; color: var(--text-body); }

.card-img { width: 100%; height: 180px; object-fit: cover; }
.card-img-placeholder {
  width: 100%; height: 180px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}

/* ---------- Pricing ---------- */
.plan-card {
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  transition: all 0.25s;
}
.plan-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.plan-card.popular { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--white);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.35rem 0.9rem; border-radius: 999px; white-space: nowrap;
}
.plan-head { padding: 1.75rem 1.5rem 1rem; border-bottom: 1px solid #f1f1f1; }
.plan-head h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.plan-price { font-size: 2.1rem; font-weight: 800; color: var(--primary); }
.plan-price span { font-size: 1rem; color: var(--text-muted); font-weight: 600; }
.plan-body { padding: 1.5rem; }
.plan-discount {
  background: var(--primary-light); color: var(--primary-dark);
  font-weight: 700; padding: 0.5rem 1rem; border-radius: var(--radius-sm); margin-bottom: 0.75rem; font-size: 0.92rem;
}
.plan-savings { color: var(--green-dark); font-size: 0.88rem; margin-bottom: 1rem; }
.plan-foot { padding: 0 1.5rem 1.75rem; }

/* ---------- Promises ---------- */
.promise-card { text-align: center; padding: 1.75rem 1.25rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.promise-card .icon-wrap { background: var(--primary-light); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--primary); }
.promise-card h3 { font-size: 1rem; }

/* ---------- Steps ---------- */
.step-card { position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 2.25rem 1.5rem 1.75rem; text-align: center; }
.step-num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; border: 4px solid var(--white); box-shadow: var(--shadow-sm);
}
.step-icon { width: 76px; height: 76px; margin: 0 auto 1.25rem; background: var(--bg-gray); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.step-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

/* ---------- FAQ (accordion via <details>) ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid #f1f1f1;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--text-dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem; font-weight: 400; color: var(--primary); flex-shrink: 0; margin-left: 1rem;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: var(--primary-light); }
.faq-item p { padding: 0 1.4rem 1.4rem; color: var(--text-body); line-height: 1.65; }

/* ---------- Badges / city pills ---------- */
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.pill {
  background: var(--white); border: 1px solid var(--border-color);
  padding: 0.65rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

/* ---------- Article / KB cards ---------- */
.kb-card { display: flex; flex-direction: column; height: 100%; }
.kb-card .card-body { text-align: left; flex: 1; display: flex; flex-direction: column; }
.kb-tag {
  display: inline-block; background: var(--primary-light); color: var(--primary-dark);
  font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.75rem; border-radius: 999px; margin-bottom: 0.85rem; align-self: flex-start;
}
.kb-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.kb-card p { font-size: 0.92rem; flex: 1; margin-bottom: 1rem; }
.kb-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); border-top: 1px solid #f1f1f1; padding-top: 0.85rem; }

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--primary);
  text-align: center;
  color: var(--white);
}
.cta-section h2 { color: var(--white); font-size: 2.1rem; margin-bottom: 1rem; }
.cta-section p { color: #d9ecfb; font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; }
.cta-section .btn-primary { background: var(--white); color: var(--primary); }
.cta-section .btn-primary:hover { background: #f0f7fc; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-gray); border-top: 1px solid var(--border-color); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-col h4 { font-size: 1rem; margin-bottom: 1rem; }
.footer-col p { font-size: 0.9rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { font-size: 0.9rem; color: var(--text-body); }
.footer-col ul a:hover { color: var(--primary); }
.footer-contact-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; margin-bottom: 0.75rem; }
.footer-contact-item.whatsapp { color: var(--green-dark); font-weight: 600; }
.footer-logo img { height: 38px; margin-bottom: 1rem; }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  font-size: 0.85rem; color: var(--text-muted);
}
.footer-bottom .legal-links { display: flex; gap: 1.5rem; }
.footer-bottom .legal-links a:hover { color: var(--primary); }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  font-size: 0.88rem; color: var(--text-muted); padding: 1.25rem 0 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: #c4c4c4; }
.breadcrumb .current { color: var(--text-dark); font-weight: 600; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { background: var(--primary-light); padding: 2.5rem 0 3rem; }
.page-hero h1 { font-size: 2rem; max-width: 760px; }
.page-hero .lead { font-size: 1.15rem; color: var(--text-body); max-width: 700px; margin-top: 1rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 2.85rem; } }

/* ---------- Article (knowledge base) ---------- */
.article-content { max-width: 760px; margin: 0 auto; }
.article-content h2 { font-size: 1.65rem; margin: 2.25rem 0 1rem; }
.article-content h3 { font-size: 1.3rem; margin: 1.75rem 0 0.75rem; }
.article-content p { margin-bottom: 1.1rem; font-size: 1.05rem; line-height: 1.75; }
.article-content strong { color: var(--text-dark); }
.article-content a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.published-by { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.75rem; }

/* ---------- Contact cards ---------- */
.contact-card { text-align: center; padding: 2.25rem 1.5rem; }
.contact-card .card-icon { width: 70px; height: 70px; }
.contact-card .big-link { display: block; font-size: 1.4rem; font-weight: 800; color: var(--primary); margin: 0.75rem 0 1.25rem; word-break: break-word; }
.contact-card.whatsapp .card-icon { background: #e7f9ee; color: var(--green); }
.contact-card.whatsapp .big-link { color: var(--green-dark); }

/* ---------- Stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 640px; margin: 2.5rem auto 0; text-align: center; }
.stat-num { font-size: 2.1rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.9rem; color: var(--text-body); }

/* ---------- Advantage list ---------- */
.advantage-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 760px; margin: 0 auto; }
@media (min-width: 700px) { .advantage-grid { grid-template-columns: repeat(2, 1fr); } }
.advantage-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.advantage-dot { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.advantage-dot span { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); display: block; }
.advantage-item p { color: var(--text-dark); font-size: 0.98rem; margin: 0; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.icon { width: 1.4em; height: 1.4em; flex-shrink: 0; }
.svg-inline { display: inline-block; vertical-align: middle; }
