/* ==========================================================
   ARISTO EYE HOSPITAL — GLOBAL STYLESHEET  v2.0
   ========================================================== */

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

:root {
  --blue:        #0b5fa5;
  --blue-dark:   #083d6e;
  --blue-mid:    #1471bb;
  --blue-light:  #e6f1fb;
  --teal:        #1a8c6b;
  --teal-light:  #e1f5ee;
  --gold:        #d4a017;
  --red:         #e53e3e;
  --text:        #1a1a2e;
  --text-2:      #4a5568;
  --text-3:      #8c8fa8;
  --bg:          #f4f6fb;
  --surface:     #ffffff;
  --border:      rgba(0,0,0,0.09);
  --radius:      14px;
  --radius-sm:   8px;
  --radius-xs:   5px;
  --shadow:      0 4px 20px rgba(11,95,165,0.10);
  --shadow-lg:   0 14px 44px rgba(11,95,165,0.16);
  --transition:  all 0.25s ease;
  --font:        'Plus Jakarta Sans', sans-serif;
  --font-serif:  'Libre Baskerville', serif;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, select, textarea { font-family: var(--font); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 8px 1rem;
  position: relative;
  letter-spacing: 0.01em;
}
.announcement-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.announcement-bar .close-ann {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.2); border: none; border-radius: 50%;
  width: 22px; height: 22px; font-size: 12px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.announcement-bar .close-ann:hover { background: rgba(255,255,255,0.35); }

/* ── TOPBAR ── */
.topbar {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.8);
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-left i { color: #7dd3f7; }
.topbar-left a { color: rgba(255,255,255,0.8); transition: var(--transition); }
.topbar-left a:hover { color: #fff; }
.topbar-right { display: flex; gap: 8px; align-items: center; }
.topbar-right a {
  color: rgba(255,255,255,0.65);
  width: 26px; height: 26px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; transition: var(--transition);
}
.topbar-right a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ── HEADER ── */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.5rem;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 21px; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(11,95,165,0.3);
}
.logo-text strong { display: block; font-size: 15.5px; font-weight: 800; color: var(--text); line-height: 1.2; white-space: nowrap; letter-spacing: -0.01em; }
.logo-text span { font-size: 10.5px; color: var(--text-3); letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 8px 12px;
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: var(--transition); white-space: nowrap;
  position: relative;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: 2px; left: 12px; right: 12px;
  height: 2px; background: var(--blue); border-radius: 2px;
  transform: scaleX(0); transition: transform 0.2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a.active { color: var(--blue); background: var(--blue-light); }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-call {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-2); padding: 6px 12px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: var(--transition); white-space: nowrap;
}
.btn-call:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.btn-call .phone-label { display: block; font-size: 10px; color: var(--text-3); line-height: 1; }
.btn-call strong { display: block; font-size: 13px; color: var(--text); font-weight: 700; }
.btn-appt {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
  color: #fff; padding: 10px 20px; border-radius: 40px;
  font-size: 13px; font-weight: 700; border: none;
  transition: var(--transition); white-space: nowrap;
  box-shadow: 0 4px 14px rgba(11,95,165,0.3);
}
.btn-appt:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(11,95,165,0.4); color: #fff; }

/* Hamburger */
.hamburger {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: var(--radius-sm); width: 40px; height: 40px;
  align-items: center; justify-content: center; font-size: 18px; color: var(--text);
  transition: var(--transition);
}
.hamburger:hover { border-color: var(--blue); color: var(--blue); }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(5px);
}
.mobile-nav.open { display: block; }
.mobile-nav-drawer {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: min(310px, 90vw); background: var(--surface);
  padding: 1.5rem; overflow-y: auto;
  display: flex; flex-direction: column;
  box-shadow: 4px 0 40px rgba(0,0,0,0.2);
  animation: slideIn 0.28s ease;
}
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.mobile-close { background: none; border: 1px solid var(--border); border-radius: 6px; width: 34px; height: 34px; font-size: 16px; display: flex; align-items: center; justify-content: center; color: var(--text); transition: var(--transition); }
.mobile-close:hover { border-color: var(--red); color: var(--red); }
.mobile-nav-drawer a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: var(--transition); margin-bottom: 2px; }
.mobile-nav-drawer a:hover { color: var(--blue); background: var(--blue-light); }
.mobile-nav-drawer a i { width: 18px; color: var(--blue); opacity: 0.7; }
.mobile-appt { margin-top: 1rem; display: flex !important; justify-content: center; background: var(--blue) !important; color: #fff !important; padding: 13px !important; border-radius: 40px !important; font-weight: 700 !important; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 40px; font-size: 14px; font-weight: 700; transition: var(--transition); border: none; cursor: pointer; letter-spacing: 0.01em; }
.btn-primary { background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark)); color: #fff; box-shadow: 0 4px 14px rgba(11,95,165,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,95,165,0.4); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--blue-light); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #137a5c; color: #fff; }

/* ── SECTION HEADERS ── */
.sec-title { text-align: center; margin-bottom: 3rem; }
.sec-title .eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-light);
  padding: 5px 16px; border-radius: 20px; margin-bottom: 14px;
}
.sec-title h2 { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--text); font-weight: 700; margin-bottom: 14px; line-height: 1.3; }
.sec-title p { color: var(--text-2); font-size: 15px; max-width: 600px; margin: 0 auto; line-height: 1.75; }
.sec-title.light .eyebrow { color: #7dd3f7; background: rgba(255,255,255,0.12); }
.sec-title.light h2 { color: #fff; }
.sec-title.light p { color: rgba(255,255,255,0.7); }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--teal) 100%);
  padding: 4.5rem 1.5rem 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(255,255,255,0.07) 0%, transparent 65%);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='white' fill-opacity='0.04'/%3E%3C/svg%3E");
}
.page-hero .breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 1rem; font-size: 13px; position: relative; z-index: 1; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.3); }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); color: #fff; font-weight: 700; margin-bottom: 0.75rem; position: relative; z-index: 1; line-height: 1.2; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 15px; position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }

/* ── CARDS ── */
.card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* ── BADGES ── */
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; letter-spacing: 0.04em; }
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-teal { background: var(--teal-light); color: var(--teal); }
.badge-gold { background: #fef5e7; color: var(--gold); }

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed; bottom: 90px; right: 24px;
  width: 44px; height: 44px;
  background: var(--blue); color: #fff; border: none; border-radius: 50%;
  font-size: 17px; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: var(--transition); z-index: 500;
  box-shadow: 0 4px 16px rgba(11,95,165,0.35);
}
.scroll-top.show { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-btn {
  position: fixed; bottom: 24px; right: 24px;
  width: 52px; height: 52px;
  background: #25d366; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; z-index: 500;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-btn:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 10px 28px rgba(37,211,102,0.5); color: #fff; }
.whatsapp-btn .wa-tooltip {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  background: #333; color: #fff; font-size: 12px; font-weight: 600;
  padding: 5px 10px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.whatsapp-btn:hover .wa-tooltip { opacity: 1; }

/* ── FOOTER ── */
.site-footer { background: #0d1b2a; color: rgba(255,255,255,0.6); }
.footer-top { padding: 4.5rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.1fr 1.4fr 1.7fr; gap: 3rem; }
.footer-col h4 { font-size: 12px; font-weight: 800; color: #fff; margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-col p, .footer-col address { font-size: 13px; line-height: 2; color: rgba(255,255,255,0.55); font-style: normal; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.55); transition: var(--transition); margin-bottom: 4px; padding: 2px 0; }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-col .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1.1rem; }
.footer-col .f-logo-icon { width: 40px; height: 40px; border-radius: 9px; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 19px; flex-shrink: 0; }
.footer-col .f-logo strong { color: #fff; font-size: 14.5px; font-weight: 800; display: block; }
.footer-col .f-logo span { font-size: 10px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col address p { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 6px; line-height: 1.65; }
.footer-col address i { color: var(--blue); flex-shrink: 0; margin-top: 3px; width: 14px; }
.schedule-list { }
.schedule-list li { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: rgba(255,255,255,0.55); }
.schedule-list li:last-child { border-bottom: none; }
.schedule-list .day { font-weight: 700; color: rgba(255,255,255,0.8); }
.schedule-list .closed { color: rgba(255,255,255,0.3) !important; }
.footer-social { display: flex; gap: 8px; margin-top: 1.25rem; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.13); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; padding-left: 0 !important; }
.footer-newsletter { margin-top: 1.5rem; }
.footer-newsletter p { font-size: 12.5px; color: rgba(255,255,255,0.55); margin-bottom: 10px; }
.newsletter-form { display: flex; gap: 6px; }
.newsletter-form input { flex: 1; padding: 9px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.07); color: #fff; font-size: 13px; font-family: var(--font); outline: none; transition: border-color 0.2s; }
.newsletter-form input:focus { border-color: var(--blue); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form button { padding: 9px 16px; background: var(--blue); color: #fff; border-radius: 6px; font-size: 12px; font-weight: 700; transition: var(--transition); white-space: nowrap; }
.newsletter-form button:hover { background: var(--blue-mid); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.55); display: inline; padding: 0; margin: 0; }
.footer-bottom a:hover { color: #fff; padding-left: 0 !important; }
.footer-links { display: flex; gap: 20px; }

/* ── TESTIMONIALS ── */
.testimonials-section { padding: 5rem 0; background: var(--surface); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.testi-card { background: var(--bg); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); position: relative; transition: var(--transition); }
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-card::before { content: '\201C'; font-size: 5rem; font-family: Georgia, serif; color: var(--blue-light); position: absolute; top: -10px; left: 18px; line-height: 1; }
.testi-stars { color: #f6ad55; margin-bottom: 1rem; font-size: 13px; letter-spacing: 2px; }
.testi-card p { font-size: 14px; color: var(--text-2); line-height: 1.75; margin-bottom: 1.5rem; padding-top: 1rem; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-light); display: flex; align-items: center; justify-content: center; color: var(--blue); font-weight: 800; font-size: 15px; flex-shrink: 0; }
.testi-author strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.testi-author span { font-size: 12px; color: var(--text-3); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: none; }

/* ── PRINT STYLES ── */
@media print {
  .topbar, .announcement-bar, .site-header, .scroll-top, .whatsapp-btn, .mobile-nav, .site-footer { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; }
  .page-hero { background: #f0f0f0 !important; color: #000 !important; padding: 1rem !important; }
  .page-hero h1, .page-hero p, .page-hero .breadcrumb a, .page-hero .breadcrumb span { color: #000 !important; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .main-nav a { padding: 7px 10px; font-size: 13px; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .main-nav, .btn-call { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-top { padding: 3rem 0 2rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .page-hero { padding: 3rem 1rem 2.5rem; }
  .whatsapp-btn { bottom: 16px; right: 16px; width: 46px; height: 46px; font-size: 22px; }
  .scroll-top { bottom: 74px; right: 16px; }
}

/* ── LOGO IMAGE ── */
.logo img { height: 52px; width: auto; display: block; transition: opacity 0.2s; }
.logo img:hover { opacity: 0.88; }
.site-header .logo { padding: 8px 0; }

/* Footer logo image – white version */
.f-logo img { height: 48px; width: auto; display: block; filter: brightness(0) invert(1); margin-bottom: 12px; }
