/* =========================================================
   DESIGN TOKENS — Change these to re-theme the entire site
   ========================================================= */
:root {
  --color-primary: #0d9488;        /* Teal */
  --color-primary-dark: #0f766e;
  --color-primary-light: #ccfbf1;
  --color-accent: #f97316;         /* Warm coral */
  --color-accent-dark: #ea580c;
  --color-bg: #fafaf7;             /* Soft cream */
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-border: #e2e8f0;
  --color-whatsapp: #25d366;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(15,23,42,0.06);
  --shadow-md: 0 10px 30px rgba(15,23,42,0.08);
  --shadow-lg: 0 20px 50px rgba(15,23,42,0.12);

  --container: 1200px;
  --nav-height: 72px;

  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head { text-align: center; }
.section-head .section-subtitle { margin-left: auto; margin-right: auto; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(250,250,247,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* BRAND — plug-and-play: remove .logo-img and layout still works */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-wrap {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  overflow: hidden;
}
.logo-wrap .logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--color-primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-cta:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text);
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger span::before,
.hamburger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px; height: 2px;
  background: var(--color-text);
  transition: transform 0.3s ease;
}
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { transform: translateY(7px) rotate(45deg); }
.hamburger.open span::after { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://maex.in/sites/static/images/1b16fe2b4-e72e-41fa-b50e-690b0b4e68bb.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,148,136,0.75) 0%, rgba(15,23,42,0.65) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 820px;
  margin-bottom: 24px;
}
.hero h1 .accent { color: #fde68a; }
.hero p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 600px;
  opacity: 0.95;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(249,115,22,0.35);
}
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(249,115,22,0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.hero-scroll .arrow {
  width: 24px; height: 24px;
  border-right: 2px solid rgba(255,255,255,0.8);
  border-bottom: 2px solid rgba(255,255,255,0.8);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: rotate(45deg) translate(0,0); }
  50% { transform: rotate(45deg) translate(4px,4px); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--color-primary-light);
}
.about-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-visual:hover img { transform: scale(1.05); }
.about-visual .badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--color-surface);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-text strong { display: block; font-size: 1.1rem; }
.badge-text span { font-size: 0.85rem; color: var(--color-text-muted); }

.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--color-text-muted); margin-bottom: 16px; font-size: 1.05rem; }
.about-text .lead { font-size: 1.15rem; color: var(--color-text); font-weight: 500; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--color-surface); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--color-bg);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; }
.service-card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* =========================================================
   BENEFITS / FEATURES
   ========================================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.benefit-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit h4 { font-size: 1.05rem; margin-bottom: 6px; font-weight: 700; }
.benefit p { font-size: 0.9rem; color: var(--color-text-muted); }

/* =========================================================
   HOURS & ADDRESS
   ========================================================= */
.info { background: var(--color-surface); }
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.info-card {
  background: var(--color-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.info-card h3 .icon-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hours-list { display: flex; flex-direction: column; gap: 12px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.95rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { font-weight: 600; }
.hours-row .time { color: var(--color-text-muted); }
.hours-row.today { color: var(--color-primary); font-weight: 600; }
.hours-row.today .time { color: var(--color-primary); }

.address-block { display: flex; flex-direction: column; gap: 16px; }
.address-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.address-row .icon-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.address-row .label { font-size: 0.8rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.address-row .value { font-weight: 600; font-size: 1rem; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--color-surface);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial .quote-mark {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 4rem;
  color: var(--color-primary-light);
  font-family: Georgia, serif;
  line-height: 1;
}
.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #fbbf24;
}
.testimonial p {
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.7;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.author-info strong { display: block; font-size: 0.95rem; }
.author-info span { font-size: 0.85rem; color: var(--color-text-muted); }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { background: var(--color-surface); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--color-bg);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,0.5) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .zoom-icon {
  position: absolute;
  bottom: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}
.gallery-item:hover .zoom-icon { opacity: 1; transform: translateY(0); }

/* Gallery Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.25s ease;
}
.modal.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: #000;
}
.modal-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transition: transform 0.2s ease;
}
.modal-close:hover { transform: rotate(90deg); }

/* =========================================================
   MAP
   ========================================================= */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--color-text);
  color: #cbd5e1;
  padding: 48px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .logo-wrap { background: rgba(255,255,255,0.1); }
.footer-brand .brand-name { color: #fff; }
.footer-copy { font-size: 0.85rem; color: #94a3b8; }
.footer-copy a { color: #fde68a; }

/* =========================================================
   FLOATING CTA BAR (mobile)
   ========================================================= */
.mobile-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: none;
  gap: 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  padding: 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.mobile-cta a {
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mobile-cta .call-btn { background: var(--color-primary); color: #fff; }
.mobile-cta .wa-btn { background: var(--color-whatsapp); color: #fff; }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  z-index: 95;
  transition: transform 0.3s ease;
  animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes whatsappPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 500px; margin: 0 auto; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a::after { display: none; }
  .hamburger { display: flex; }
  .nav-cta { width: 100%; justify-content: center; }

  .section { padding: 72px 0; }
  .hero-inner { padding: 60px 24px; }
  .hero-scroll { display: none; }

  .mobile-cta { display: flex; }
  .whatsapp-float { bottom: 100px; right: 20px; width: 54px; height: 54px; }

  .info-card { padding: 28px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .container { padding: 0 18px; }
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }