/* ============================================================
   AQUAVITAL — Shared Stylesheet
   Colors: Navy #072959 | Turquoise #37A5C8 | Gold #C9A961
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --navy:       #072959;
  --navy-dark:  #041a3a;
  --navy-light: #0d3d7a;
  --turquoise:  #37A5C8;
  --turq-dark:  #2994b8;
  --turq-light: #5bbcd6;
  --gold:       #C9A961;
  --white:      #FFFFFF;
  --light-bg:   #F4F8FB;
  --light-2:    #eaf3f8;
  --text:       #1a2b4a;
  --text-mid:   #3d5275;
  --text-light: #6b7a8d;
  --border:     #dde8f0;
  --success:    #1a9e5c;
  --warning:    #d97706;
  --danger:     #dc3545;
  --shadow:     0 4px 24px rgba(7,41,89,0.10);
  --shadow-lg:  0 8px 40px rgba(7,41,89,0.18);
  --radius:     14px;
  --radius-sm:  8px;
  --nav-h:      70px;
  --transition: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem,5vw,3.6rem); }
h2 { font-size: clamp(1.6rem,3.5vw,2.6rem); }
h3 { font-size: 1.3rem; }
p  { color: var(--text-mid); }
a  { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul  { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: var(--transition);
  border: none; text-decoration: none; white-space: nowrap;
}
.btn-primary   { background: var(--turquoise); color: white; box-shadow: 0 4px 15px rgba(55,165,200,.35); }
.btn-primary:hover { background: var(--turq-dark); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(55,165,200,.45); }
.btn-navy      { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-outline   { background: transparent; color: white; border: 2px solid rgba(255,255,255,.75); }
.btn-outline:hover { background: white; color: var(--navy); transform: translateY(-2px); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: white; }
.btn-ghost     { background: rgba(255,255,255,.12); color: white; }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-success   { background: var(--success); color: white; }
.btn-danger    { background: var(--danger); color: white; }
.btn-sm  { padding: 8px 20px; font-size: 0.84rem; }
.btn-lg  { padding: 15px 40px; font-size: 1.05rem; }
.btn-xl  { padding: 18px 48px; font-size: 1.1rem; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 10px; justify-content: center; }

/* ── Sections ── */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-bg { background: var(--light-bg); }
.section-navy { background: var(--navy); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title .tag {
  display: inline-block; background: rgba(55,165,200,.14);
  color: var(--turquoise); padding: 5px 18px; border-radius: 30px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 14px;
}
.section-title h2   { color: var(--navy); margin-bottom: 14px; }
.section-title p    { max-width: 580px; margin: 0 auto; font-size: 1.05rem; }
.section-navy .section-title h2 { color: white; }
.section-navy .section-title p  { color: rgba(255,255,255,.7); }

/* ── Cards ── */
.card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
  transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-flat  { box-shadow: none; border: 1.5px solid var(--border); }
.card-flat:hover { border-color: var(--turquoise); box-shadow: var(--shadow); transform: translateY(-3px); }

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 12px; border-radius: 20px;
  font-size: 0.76rem; font-weight: 600; white-space: nowrap;
}
.badge-success   { background: #d0f5e4; color: #0a6e36; }
.badge-warning   { background: #fff3cd; color: #935f00; }
.badge-danger    { background: #fde8e8; color: #c62828; }
.badge-info      { background: #ddf0f8; color: #0e6b8f; }
.badge-navy      { background: rgba(7,41,89,.1); color: var(--navy); }
.badge-turquoise { background: rgba(55,165,200,.14); color: var(--turq-dark); }
.badge-gray      { background: #f0f4f8; color: var(--text-light); }

/* ── Alerts ── */
.alert {
  padding: 14px 20px; border-radius: var(--radius-sm);
  display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem;
  margin-bottom: 20px;
}
.alert i { margin-top: 2px; flex-shrink: 0; }
.alert-success { background: #d0f5e4; color: #0a6e36; border-left: 4px solid var(--success); }
.alert-warning { background: #fff3cd; color: #935f00; border-left: 4px solid var(--warning); }
.alert-danger  { background: #fde8e8; color: #c62828; border-left: 4px solid var(--danger); }
.alert-info    { background: #ddf0f8; color: #0e6b8f; border-left: 4px solid var(--turquoise); }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.84rem; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.form-group label .req { color: var(--danger); margin-left: 2px; }
.form-control {
  width: 100%; padding: 11px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text); background: white;
  transition: var(--transition);
}
.form-control:focus {
  outline: none; border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(55,165,200,.15);
}
.form-control::placeholder { color: #b8c5d0; }
.form-control:disabled { background: var(--light-bg); cursor: not-allowed; }
textarea.form-control { min-height: 90px; resize: vertical; }
select.form-control { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a8d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-row   { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.form-row-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.input-group { display: flex; }
.input-group .form-control { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.input-group .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; flex-shrink: 0; }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--turquoise); cursor: pointer; }
.form-hint { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }
.form-section-title { font-family: 'Montserrat',sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--navy); letter-spacing: 1px; text-transform: uppercase; padding-bottom: 10px; border-bottom: 2px solid var(--light-2); margin-bottom: 20px; margin-top: 10px; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; background: white; }
.data-table th {
  background: var(--navy); color: white;
  padding: 13px 16px; text-align: left;
  font-size: 0.82rem; font-weight: 600; letter-spacing: .4px; white-space: nowrap;
}
.data-table th:first-child { border-radius: var(--radius) 0 0 0; }
.data-table th:last-child  { border-radius: 0 var(--radius) 0 0; }
.data-table td { padding: 12px 16px; font-size: 0.88rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:hover td { background: #f7fbff; }
.data-table tr:last-child td { border-bottom: none; }
.data-table .actions { display: flex; gap: 6px; }

/* ── Modal ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(4,26,58,.65); z-index: 2000;
  justify-content: center; align-items: center;
  padding: 20px; backdrop-filter: blur(5px);
}
.modal-overlay.active { display: flex; }
.modal {
  background: white; border-radius: 18px;
  max-width: 720px; width: 100%; max-height: 92vh;
  overflow-y: auto; box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.modal-lg { max-width: 900px; }
.modal-sm { max-width: 480px; }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: white; z-index: 1;
  border-radius: 18px 18px 0 0;
}
.modal-header h3 { color: var(--navy); font-size: 1.1rem; }
.modal-close {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer; color: var(--text-light);
  font-size: 1.1rem; transition: var(--transition);
  border: none; background: var(--light-bg);
}
.modal-close:hover { background: var(--border); color: var(--navy); }
.modal-body   { padding: 28px; }
.modal-footer {
  padding: 18px 28px; border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 12px;
  border-radius: 0 0 18px 18px;
}

/* ── Page Header (internal pages) ── */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: calc(var(--nav-h) + 44px) 0 50px; color: white;
}
.page-header h1 { font-size: 1.9rem; margin-bottom: 6px; }
.page-header p  { color: rgba(255,255,255,.7); font-size: 0.95rem; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; margin-bottom: 18px; color: rgba(255,255,255,.55);
}
.breadcrumb a { color: var(--turquoise); }
.breadcrumb i { font-size: 0.7rem; }

/* ── Toolbar ── */
.toolbar {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 0; flex-wrap: wrap;
}
.toolbar .search-box { position: relative; flex: 1; min-width: 220px; }
.toolbar .search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-light); font-size: 0.9rem; }
.toolbar .search-box input { padding-left: 40px; }
.toolbar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* ── Stats Cards ── */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 30px; }
.stat-card {
  background: white; border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 18px;
  border-left: 4px solid var(--turquoise);
}
.stat-card.navy-accent { border-left-color: var(--navy); }
.stat-card.success-accent { border-left-color: var(--success); }
.stat-card.warning-accent { border-left-color: var(--warning); }
.stat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.stat-icon.turquoise { background: rgba(55,165,200,.14); color: var(--turquoise); }
.stat-icon.navy      { background: rgba(7,41,89,.1);    color: var(--navy); }
.stat-icon.success   { background: rgba(26,158,92,.12); color: var(--success); }
.stat-icon.warning   { background: rgba(217,119,6,.12); color: var(--warning); }
.stat-icon.danger    { background: rgba(220,53,69,.12); color: var(--danger); }
.stat-info .value { font-family: 'Montserrat',sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-info .label { font-size: 0.82rem; color: var(--text-light); margin-top: 4px; }

/* ── Loading ── */
.loading-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(255,255,255,.85); z-index: 3000;
  flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.loading-overlay.active { display: flex; }
.spinner {
  width: 46px; height: 46px; border: 4px solid var(--border);
  border-top-color: var(--turquoise); border-radius: 50%;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { color: var(--navy); font-weight: 600; font-size: 0.9rem; }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state .empty-icon { font-size: 3.5rem; color: var(--border); margin-bottom: 18px; }
.empty-state h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.1rem; }
.empty-state p  { font-size: 0.9rem; color: var(--text-light); }

/* ── Toast ── */
#toast-container { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 4000; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  background: var(--navy); color: white;
  padding: 13px 24px; border-radius: 50px;
  font-size: 0.88rem; font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
  display: flex; align-items: center; gap: 10px;
  animation: toastIn .3s ease, toastOut .3s ease 2.7s forwards;
  pointer-events: all;
}
.toast.success { background: var(--success); }
.toast.error   { background: var(--danger); }
.toast.warning { background: var(--warning); }
@keyframes toastIn  { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
@keyframes toastOut { from { opacity:1; } to { opacity:0; transform:translateY(10px); } }

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  transition: background .35s ease, box-shadow .35s ease;
}
.navbar.transparent { background: transparent; }
.navbar.scrolled,
.navbar.solid       { background: var(--navy); box-shadow: 0 4px 24px rgba(0,0,0,.2); }
.navbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: white; font-family: 'Montserrat',sans-serif;
  font-weight: 700; font-size: 1.3rem;
}
.nav-logo svg { flex-shrink: 0; }
.nav-logo-text { color: var(--turquoise); letter-spacing: -.3px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,.82); padding: 8px 13px;
  border-radius: 8px; font-size: 0.88rem; font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(255,255,255,.12); }
.nav-cta { background: var(--turquoise) !important; color: white !important; padding: 8px 20px !important; border-radius: 50px !important; margin-left: 8px; }
.nav-cta:hover { background: var(--turq-dark) !important; }
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 5px; }
.nav-dropdown > a::after { content: '▾'; font-size: 0.7rem; opacity: .7; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 10px); right: 0;
  background: white; border-radius: 12px; box-shadow: var(--shadow-lg);
  min-width: 210px; padding: 8px; z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; color: var(--text) !important; border-radius: 8px;
  font-size: 0.875rem; font-weight: 400;
}
.dropdown-menu a:hover { background: var(--light-bg); color: var(--navy) !important; }
.dropdown-menu a i { width: 18px; color: var(--turquoise); }
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: transparent; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }

/* Mobile nav */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; align-items: flex-start;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--navy); padding: 16px;
    box-shadow: 0 12px 36px rgba(0,0,0,.3); gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 11px 14px; }
  .nav-cta { display: inline-flex !important; width: auto !important; }
  .nav-dropdown .dropdown-menu {
    position: static; box-shadow: none; background: rgba(255,255,255,.08);
    margin-top: 4px; padding: 4px; display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { color: rgba(255,255,255,.85) !important; }
  .dropdown-menu a:hover { background: rgba(255,255,255,.1); color: white !important; }
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 65px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 44px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 16px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; background: rgba(255,255,255,.1); color: white;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--turquoise); }
.footer h4 { color: white; font-size: 0.95rem; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: 0.875rem; transition: var(--transition); }
.footer-links a:hover { color: var(--turquoise); padding-left: 4px; }
.footer-contact li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; margin-bottom: 14px;
}
.footer-contact i { color: var(--turquoise); margin-top: 3px; flex-shrink: 0; width: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: var(--turquoise); }

/* ── WhatsApp float ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 60px; height: 60px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 22px rgba(37,211,102,.45);
  z-index: 999; color: white; font-size: 1.6rem; transition: var(--transition);
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 7px 28px rgba(37,211,102,.55); }

/* ─────────────────────────────────────────
   LANDING PAGE — HERO
───────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(145deg, #020f24 0%, var(--navy) 55%, #0d4580 100%);
  position: relative; overflow: hidden; padding-top: var(--nav-h);
}
.hero-blob {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(55,165,200,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-blob-1 { width: 700px; height: 700px; right: -150px; top: -150px; }
.hero-blob-2 { width: 400px; height: 400px; left: -80px; bottom: -60px; }
.hero-blob-3 { width: 300px; height: 300px; right: 30%; top: 20%; opacity: .6; }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px; padding: 80px 0;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(55,165,200,.18); color: var(--turq-light);
  padding: 6px 18px; border-radius: 30px; font-size: 0.8rem;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 22px; border: 1px solid rgba(55,165,200,.25);
}
.hero h1 { color: white; margin-bottom: 20px; }
.hero h1 span { color: var(--turquoise); }
.hero p { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-bottom: 36px; max-width: 500px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .number { font-family: 'Montserrat',sans-serif; font-weight: 800; font-size: 1.8rem; color: white; line-height: 1; }
.hero-stat .label  { font-size: 0.8rem; color: rgba(255,255,255,.55); margin-top: 4px; }
.hero-divider      { width: 1px; background: rgba(255,255,255,.15); align-self: stretch; }
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-drop-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-drop-pulse {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(55,165,200,.22) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}
.hero-drop-pulse-2 { width: 240px; height: 240px; animation-delay: .5s; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity:.6; } 50% { transform: scale(1.15); opacity:1; } }
.hero-drop-svg { width: 200px; filter: drop-shadow(0 20px 40px rgba(7,41,89,.5)); }

/* ── Service Cards ── */
.service-card {
  background: white; border-radius: var(--radius); padding: 32px 26px;
  box-shadow: var(--shadow); text-align: center; transition: var(--transition);
  border-bottom: 3px solid transparent; cursor: default;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-bottom-color: var(--turquoise); }
.service-icon {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; background: rgba(55,165,200,.12); color: var(--turquoise);
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--turquoise); color: white; }
.service-card h3 { color: var(--navy); margin-bottom: 10px; }
.service-card p  { font-size: 0.88rem; color: var(--text-light); }

/* ── Rental Section ── */
.rental-section { background: var(--light-bg); }
.rental-plans   { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.plan-card {
  background: white; border-radius: var(--radius); padding: 36px 32px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: var(--transition); border: 2px solid transparent;
}
.plan-card:hover { border-color: var(--turquoise); box-shadow: var(--shadow-lg); }
.plan-card.featured { border-color: var(--turquoise); }
.plan-badge-wrap {
  position: absolute; top: 20px; right: -28px;
  background: var(--turquoise); color: white;
  padding: 5px 44px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  transform: rotate(35deg); transform-origin: center;
}
.plan-icon { font-size: 2.2rem; color: var(--turquoise); margin-bottom: 16px; }
.plan-card h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 8px; }
.plan-card .plan-desc { font-size: 0.9rem; margin-bottom: 24px; }
.plan-price { margin-bottom: 24px; }
.plan-price .from  { font-size: 0.8rem; color: var(--text-light); }
.plan-price .value { font-family: 'Montserrat',sans-serif; font-weight: 800; font-size: 2.2rem; color: var(--navy); }
.plan-price .per   { font-size: 0.85rem; color: var(--text-light); }
.plan-features { margin-bottom: 30px; }
.plan-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; padding: 7px 0; border-bottom: 1px solid var(--border);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features i.check  { color: var(--success); }
.plan-features i.times  { color: var(--text-light); }

/* ── Products ── */
.product-card { text-align: center; padding: 36px 26px; }
.product-logo-area {
  height: 90px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.product-brand { font-family: 'Montserrat',sans-serif; font-size: 1.8rem; font-weight: 800; }
.product-card h3 { color: var(--navy); margin-bottom: 10px; }
.product-card p  { font-size: 0.87rem; color: var(--text-light); margin-bottom: 20px; }
.product-models { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.product-models span { background: var(--light-bg); color: var(--navy); font-size: 0.75rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; }

/* ── How It Works ── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 38px; left: calc(16.66% + 20px); right: calc(16.66% + 20px);
  height: 2px; background: var(--border);
}
.step { text-align: center; position: relative; }
.step-number {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: white;
  font-family: 'Montserrat',sans-serif; font-size: 1.6rem; font-weight: 800;
  box-shadow: 0 6px 20px rgba(7,41,89,.3); position: relative; z-index: 1;
}
.step h3 { color: var(--navy); margin-bottom: 10px; }
.step p   { font-size: 0.87rem; }

/* ── Trust / Certificates ── */
.trust-section { background: linear-gradient(135deg, var(--navy) 0%, #0d4580 100%); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.trust-text h2 { color: white; margin-bottom: 16px; }
.trust-text p  { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.trust-legal {
  background: rgba(255,255,255,.1); border-radius: var(--radius-sm);
  padding: 20px; border: 1px solid rgba(255,255,255,.15);
}
.trust-legal p { color: rgba(255,255,255,.65); font-size: 0.82rem; line-height: 1.7; margin: 0; }
.cert-preview {
  background: white; border-radius: var(--radius); padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3); text-align: center;
}
.cert-preview .cert-icon { font-size: 3rem; color: var(--turquoise); margin-bottom: 12px; }
.cert-preview h3 { color: var(--navy); margin-bottom: 8px; }
.cert-preview p  { font-size: 0.85rem; color: var(--text-light); margin-bottom: 20px; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { color: var(--navy); margin-bottom: 16px; }
.contact-info > p { margin-bottom: 32px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-item-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: rgba(55,165,200,.12); color: var(--turquoise);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-item h4 { color: var(--navy); font-size: 0.9rem; margin-bottom: 3px; }
.contact-item p  { font-size: 0.87rem; color: var(--text-light); margin: 0; }
.contact-item a  { color: var(--turquoise); }
.contact-form-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.contact-form-card h3 { color: var(--navy); margin-bottom: 24px; }

/* ─────────────────────────────────────────
   OS PAGE
───────────────────────────────────────── */
.os-page { padding-top: 0; background: var(--light-bg); min-height: 100vh; }
.os-content { padding: 32px 0 60px; }
.os-equipment-block {
  background: var(--light-bg); border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); padding: 18px;
  margin-bottom: 14px;
}
.os-equipment-block .remove-equip { float: right; cursor: pointer; color: var(--danger); font-size: 0.8rem; font-weight: 600; }

/* ─────────────────────────────────────────
   CERTIFICATE PAGE
───────────────────────────────────────── */
.cert-page { background: var(--light-bg); min-height: 100vh; }
.cert-content { display: grid; grid-template-columns: 1fr 380px; gap: 28px; padding: 32px 0 60px; }
.cert-form-panel { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cert-form-header { background: var(--navy); padding: 20px 28px; }
.cert-form-header h2 { color: white; font-size: 1.1rem; margin-bottom: 2px; }
.cert-form-header p  { color: rgba(255,255,255,.65); font-size: 0.82rem; }
.cert-form-body { padding: 28px; }
.cert-preview-panel { position: sticky; top: calc(var(--nav-h) + 20px); }
.cert-preview-title { font-family: 'Montserrat',sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.cert-history-panel { background: white; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 0; padding: 24px; }
.cert-history-panel h3 { color: var(--navy); font-size: 1rem; margin-bottom: 18px; }
.history-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--border); cursor: pointer;
}
.history-item:last-child { border-bottom: none; }
.history-item:hover .hist-num { color: var(--turquoise); }
.hist-icon { width: 38px; height: 38px; background: rgba(55,165,200,.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--turquoise); flex-shrink: 0; }
.hist-num   { font-family: 'Montserrat',sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--navy); }
.hist-client { font-size: 0.8rem; color: var(--text-light); margin-top: 2px; }
.hist-date  { font-size: 0.78rem; color: var(--text-light); margin-left: auto; flex-shrink: 0; }

/* Certificate document preview */
.cert-doc-wrap { background: white; border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--border); }
#cert-preview-doc { transform-origin: top left; }
.cert-page-1, .cert-page-2 {
  width: 595px; min-height: 842px; background: white; padding: 40px 44px;
  font-family: 'Poppins', sans-serif; box-sizing: border-box; position: relative;
}
.cert-page-1 { border-bottom: 3px solid var(--light-bg); }
.cp-header { text-align: center; padding-bottom: 20px; border-bottom: 2px solid var(--border); margin-bottom: 22px; }
.cp-header-logo { height: 68px; margin: 0 auto 6px; object-fit: contain; }
.cp-logo-svg { margin: 0 auto 6px; display: block; }
.cp-logo-name { font-family: 'Montserrat',sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--turquoise); letter-spacing: 1px; }
.cp-top-stripe { height: 5px; background: linear-gradient(90deg, var(--navy) 0%, var(--turquoise) 60%, var(--gold) 100%); margin-bottom: 0; border-radius: 3px; }
.cp-cert-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy); color: white; border-radius: 6px;
  padding: 5px 16px; font-size: 0.72rem; font-weight: 700; letter-spacing: .8px;
  margin-bottom: 14px;
}
.cp-title { font-family: 'Montserrat',sans-serif; font-size: 0.85rem; font-weight: 800; color: var(--navy); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; line-height: 1.4; }
.cp-certify { font-size: 0.78rem; color: var(--text-light); text-align: center; margin-bottom: 14px; font-style: italic; }
.cp-client-card {
  background: var(--light-bg); border-radius: 8px; padding: 16px 18px;
  border-left: 4px solid var(--turquoise); margin-bottom: 16px;
}
.cp-client-card .label { font-size: 0.68rem; font-weight: 700; color: var(--turquoise); text-transform: uppercase; letter-spacing: .8px; }
.cp-client-card .value { font-size: 0.82rem; color: var(--text); font-weight: 600; margin-top: 2px; }
.cp-equip-card {
  background: #f0f8fc; border-radius: 8px; padding: 14px 18px;
  border: 1.5px solid rgba(55,165,200,.25); margin-bottom: 16px;
}
.cp-equip-card .label { font-size: 0.68rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; }
.cp-equip-item { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text); margin-bottom: 4px; }
.cp-compliance { font-size: 0.74rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; background: rgba(55,165,200,.06); border-radius: 6px; padding: 12px 14px; border: 1px solid rgba(55,165,200,.15); }
.cp-sig-area { display: flex; justify-content: center; gap: 32px; margin-bottom: 16px; }
.cp-sig-box { text-align: center; }
.cp-sig-line { width: 160px; border-top: 1.5px solid var(--navy); margin-bottom: 5px; }
.cp-sig-label { font-size: 0.7rem; color: var(--text-light); }
.cp-sig-canvas { border-bottom: 1.5px solid var(--navy); display: block; cursor: crosshair; }
.cp-qr-row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 14px; }
.cp-qr-box { text-align: center; }
.cp-qr-label { font-size: 0.65rem; color: var(--text-light); margin-top: 4px; }
.cp-footer-stripe { height: 4px; background: linear-gradient(90deg, var(--navy), var(--turquoise)); border-radius: 2px; margin-top: 14px; }
.cp-footer-contacts { display: flex; justify-content: center; gap: 20px; margin-top: 10px; font-size: 0.7rem; color: var(--text-light); }
.cp-footer-contacts span { display: flex; align-items: center; gap: 4px; }
.cp-footer-contacts i { color: var(--turquoise); }
.cp-seals { display: flex; gap: 10px; justify-content: center; margin: 12px 0; }
.cp-seal {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.42rem; font-weight: 700; text-align: center; line-height: 1.3;
  text-transform: uppercase; letter-spacing: .3px; padding: 6px;
  border: 2px solid var(--gold);
}
/* Page 2 procedure */
.cp2-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.cp2-title-area .tag { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--turquoise); }
.cp2-title-area h2  { color: var(--navy); font-size: 0.88rem; font-weight: 800; letter-spacing: .8px; }
.step-card {
  background: var(--light-bg); border-radius: 10px; padding: 16px 18px;
  margin-bottom: 12px; display: flex; gap: 14px; align-items: flex-start;
  border-left: 4px solid var(--turquoise);
}
.step-card.step-1 { border-left-color: var(--navy); }
.step-card.step-2 { border-left-color: var(--turquoise); }
.step-card.step-3 { border-left-color: var(--gold); }
.step-card.step-4 { border-left-color: var(--success); }
.step-badge {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 800; color: white;
  background: var(--navy); font-family: 'Montserrat', sans-serif;
}
.step-content .step-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--text-light); }
.step-content .step-title { font-family: 'Montserrat',sans-serif; font-size: 0.82rem; font-weight: 800; color: var(--navy); margin-bottom: 5px; }
.step-content p { font-size: 0.74rem; color: var(--text-mid); line-height: 1.6; margin: 0; }
.cp2-legal { background: rgba(7,41,89,.06); border-radius: 8px; padding: 14px 16px; margin-top: 14px; border: 1px solid rgba(7,41,89,.12); }
.cp2-legal .cp2-legal-title { font-size: 0.7rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 6px; }
.cp2-legal p { font-size: 0.7rem; color: var(--text-mid); line-height: 1.7; margin: 0; }

/* Signature pad */
.sig-pad-wrap {
  border: 2px dashed var(--border); border-radius: var(--radius-sm);
  background: #fafcff; overflow: hidden; position: relative;
}
.sig-pad-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px; color: var(--text-light); font-size: 0.82rem;
  pointer-events: none;
}
.sig-pad-placeholder i { font-size: 1.8rem; opacity: .4; }
#sig-canvas { display: block; cursor: crosshair; touch-action: none; }

/* Equipment rows */
.equip-row { background: var(--light-bg); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 10px; border: 1.5px solid var(--border); position: relative; }
.equip-row .equip-remove { position: absolute; top: 12px; right: 12px; cursor: pointer; color: var(--danger); font-size: 0.82rem; font-weight: 600; background: none; border: none; font-family: inherit; }

/* Validation (validar.html) */
.validar-hero { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); padding: calc(var(--nav-h) + 50px) 0 70px; color: white; text-align: center; }
.validar-hero h1 { margin-bottom: 14px; }
.validar-hero p  { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 500px; margin: 0 auto 36px; }
.validar-search { display: flex; gap: 0; max-width: 480px; margin: 0 auto; }
.validar-search input { border-radius: 50px 0 0 50px; border: none; padding-left: 24px; font-size: 1rem; }
.validar-search .btn { border-radius: 0 50px 50px 0; padding: 0 30px; }
.result-box { background: white; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 36px; margin-top: 40px; max-width: 680px; margin-left: auto; margin-right: auto; }
.result-valid   .result-badge { background: #d0f5e4; color: var(--success); }
.result-invalid .result-badge { background: #fde8e8; color: var(--danger); }
.result-badge { font-family: 'Montserrat',sans-serif; font-size: 0.85rem; font-weight: 700; padding: 8px 20px; border-radius: 30px; display: inline-block; margin-bottom: 20px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.result-field .label { font-size: 0.75rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; }
.result-field .value { font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.next-date-badge { background: var(--light-2); border-radius: var(--radius-sm); padding: 14px 18px; border-left: 4px solid var(--turquoise); margin-top: 20px; }

/* Dashboard */
.dash-page { background: var(--light-bg); min-height: 100vh; }
.dash-content { padding: 32px 0 60px; }
.reminder-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.reminder-item:last-child { border-bottom: none; }
.reminder-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.reminder-dot.red    { background: var(--danger); }
.reminder-dot.orange { background: var(--warning); }
.reminder-dot.green  { background: var(--success); }
.reminder-info { flex: 1; }
.reminder-info .r-client { font-weight: 600; font-size: 0.88rem; color: var(--navy); }
.reminder-info .r-date   { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }
.reminder-days { font-family: 'Montserrat',sans-serif; font-weight: 700; font-size: 0.82rem; border-radius: 20px; padding: 3px 10px; }
.reminder-days.red    { background: #fde8e8; color: var(--danger); }
.reminder-days.orange { background: #fff3cd; color: var(--warning); }
.reminder-days.green  { background: #d0f5e4; color: var(--success); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4  { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .hero-inner { gap: 36px; }
  .cert-content { grid-template-columns: 1fr; }
  .cert-preview-panel { position: static; }
}
@media (max-width: 768px) {
  .section  { padding: 60px 0; }
  .grid-2,.grid-3 { grid-template-columns: 1fr; }
  .rental-plans { grid-template-columns: 1fr; }
  .form-row,.form-row-3 { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .result-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .modal-header,.modal-body,.modal-footer { padding: 18px; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
