/* ==========================================================================
   MICRO MACHINES CENTER — GLOBAL STYLESHEET
   Single source of truth for all styling. Edit the :root tokens below to
   re-theme the entire site (colors, fonts, spacing, radius, shadows).
   ========================================================================== */

:root{
  /* ---- Brand colors ---- */
  --color-primary:        #0F4A7A;   /* Primary Blue (brand) */
  --color-primary-dark:   #0A3455;   /* Darker blue — headers on hover, footer base */
  --color-primary-darker: #082A45;   /* Deepest blue — footer background */
  --color-primary-light:  #E8EFF5;   /* Pale blue tint — section backgrounds, badges */
  --color-primary-tint:   #DCE8F1;   /* Slightly stronger tint — hover backgrounds */

  --color-secondary:      #5A6672;   /* Secondary Gray — supporting text/icons */
  --color-gray-900:       #1C2530;   /* Near-black — headings */
  --color-gray-700:       #414B55;   /* Body copy on light backgrounds */
  --color-gray-500:       #74808C;   /* Muted text, captions */
  --color-gray-300:       #D8DEE4;   /* Borders, dividers */
  --color-gray-100:       #F5F7F9;   /* Light shaded section background */
  --color-white:          #FFFFFF;

  --color-whatsapp:       #25D366;   /* WhatsApp brand green */
  --color-whatsapp-dark:  #1EBE5A;

  --color-success:        #1E8E3E;
  --color-error:          #C62828;

  /* ---- Typography ---- */
  --font-heading: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  --font-body:    'Inter', 'Segoe UI', Arial, sans-serif;

  --fs-h1: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem);
  --fs-h2: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  --fs-h3: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
  --fs-h4: 1.15rem;
  --fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.9rem;
  --fs-eyebrow: 0.85rem;

  /* ---- Layout ---- */
  --container-max: 1240px;
  --section-py: 5.5rem;
  --section-py-sm: 3rem;
  --header-height: 92px;
  --header-height-scrolled: 74px;

  /* ---- Shape & shadow ---- */
  --radius-btn: 6px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(15, 74, 122, 0.08);
  --shadow-md: 0 10px 30px rgba(15, 74, 122, 0.12);
  --shadow-lg: 0 20px 50px rgba(15, 74, 122, 0.18);

  --transition-base: 0.25s ease;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-gray-700);
  background-color: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-height);
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; }
:focus-visible{
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

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

section{ position: relative; }
.section-py{ padding-block: var(--section-py); }
@media (max-width: 767.98px){
  .section-py{ padding-block: var(--section-py-sm); }
  body{ padding-top: var(--header-height-scrolled); }
}
.bg-shade{ background-color: var(--color-gray-100); }
.bg-primary-shade{ background-color: var(--color-primary-light); }
.bg-navy{ background-color: var(--color-primary-dark); color: var(--color-white); }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6{
  font-family: var(--font-heading);
  color: var(--color-gray-900);
  font-weight: 700;
  line-height: 1.22;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
h1{ font-size: var(--fs-h1); }
h2{ font-size: var(--fs-h2); }
h3{ font-size: var(--fs-h3); }
h4{ font-size: var(--fs-h4); }
p{ margin: 0 0 1rem; }
.lead{ font-size: var(--fs-lead); color: var(--color-gray-700); }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.eyebrow::before{
  content: "";
  width: 28px;
  height: 3px;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
  display: inline-block;
}
.section-head{ max-width: 700px; margin-bottom: 2.75rem; }
.section-head.text-center{ margin-inline: auto; }
.section-head.text-center .eyebrow::before{ display: none; }

.text-primary-brand{ color: var(--color-primary) !important; }
.text-secondary-gray{ color: var(--color-secondary) !important; }
.text-muted-gray{ color: var(--color-gray-500) !important; }

/* ==========================================================================
   BUTTONS (consistent across every page)
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}
.btn-primary{
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}
.btn-primary:hover{
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline{
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover{
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}
.btn-white{
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-primary);
}
.btn-white:hover{
  background-color: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
}
.btn-ghost-white{
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--color-white);
}
.btn-ghost-white:hover{
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn-sm{ padding: 0.6rem 1.25rem; font-size: 0.85rem; }
.btn-block{ width: 100%; }

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(28,37,48,0.08);
  transition: box-shadow var(--transition-base);
}
.site-header.is-scrolled{ box-shadow: var(--shadow-md); }

.topbar{
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.92);
  font-size: 0.82rem;
}
.topbar .container-xl{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.45rem;
}
.topbar-info{ display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar-info a{ color: rgba(255,255,255,0.92); display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar-info a:hover{ color: var(--color-white); text-decoration: underline; }
.topbar-social{ display: flex; align-items: center; gap: 0.85rem; }
.topbar-social a{
  color: rgba(255,255,255,0.92);
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background var(--transition-base);
}
.topbar-social a:hover{ background: rgba(255,255,255,0.18); }

.navbar-main{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}
.brand-logo{ display: inline-flex; align-items: center; }
.brand-logo img{ height: 60px; width: auto; }

.main-nav{ display: flex; align-items: center; gap: 0.25rem; }
.main-nav > ul{ display: flex; align-items: center; gap: 0.25rem; }
.nav-link{
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--color-gray-900);
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all var(--transition-base);
}
.nav-link:hover, .nav-link.active{
  color: var(--color-primary);
  background: var(--color-primary-light);
}
.nav-item-dropdown{ position: relative; }
.dropdown-menu-custom{
  position: absolute;
  top: 100%; left: 0;
  min-width: 280px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
  z-index: 1100;
}
.nav-item-dropdown:hover .dropdown-menu-custom,
.nav-item-dropdown.open .dropdown-menu-custom{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu-custom a{
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gray-700);
}
.dropdown-menu-custom a:hover{ background: var(--color-primary-light); color: var(--color-primary); }
.chevron{ transition: transform var(--transition-base); }
.nav-item-dropdown:hover .chevron{ transform: rotate(180deg); }

.nav-cta{ display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle{
  display: none;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-gray-300);
  background: var(--color-white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index:9999;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--color-gray-900);
  position: relative;
  transition: all var(--transition-base);
}
.nav-toggle span::before{ position: absolute; top: -7px; }
.nav-toggle span::after{ position: absolute; top: 7px; }
.nav-toggle.is-active span{ background: transparent; }
.nav-toggle.is-active span::before{ top: 0; transform: rotate(45deg); background: var(--color-primary); }
.nav-toggle.is-active span::after{ top: 0; transform: rotate(-45deg); background: var(--color-primary); }

@media (max-width: 991.98px){
  .topbar{ display: none; }
  .nav-toggle{ display: flex; }
  .main-nav{
    position: fixed;
    top: var(--header-height-scrolled);
    left: 0; right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition-base);
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav > ul{ flex-direction: column; align-items: stretch; gap: 0.25rem; width: 100%; }
  .nav-link{ padding: 0.9rem 1rem; width: 100%; justify-content: space-between; }
  .dropdown-menu-custom{
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    background: var(--color-gray-100);
    display: none;
    margin-bottom: 0.5rem;
  }
  .nav-item-dropdown.open .dropdown-menu-custom{ display: block; }
  .nav-cta{ margin-top: 1.25rem; flex-direction: column; align-items: stretch; }
  .brand-logo img{ height: 34px; }
}

/* ==========================================================================
   HERO / SLIDER (Homepage)
   ========================================================================== */
.hero-slider{
  position: relative;
  height: 88vh;
  min-height: 560px;
  max-height: 780px;
  overflow: hidden;
  background: var(--color-primary-darker);
}
.hero-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}
.hero-slide.is-active{ opacity: 1; z-index: 1; }
.hero-slide::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,42,69,0.88) 0%, rgba(8,42,69,0.62) 55%, rgba(8,42,69,0.4) 100%);
}
.hero-content{
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
  max-width: 800px;
}
.hero-content .eyebrow{ color: #B9D3E8; }
.hero-content .eyebrow::before{ background: var(--color-white); }
.hero-content h1{ color: var(--color-white); margin-bottom: 1.1rem; }
.hero-content p{ color: rgba(255,255,255,0.88); font-size: var(--fs-lead); max-width: 560px; }
.hero-cta{ display: flex; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }

.hero-dots{
  position: absolute;
  bottom: 2rem;
  left: 0; right: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}
.hero-dot{
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}
.hero-dot.is-active{ background: var(--color-white); width: 28px; border-radius: var(--radius-pill); }

.hero-stats-bar{
  position: relative;
  z-index: 6;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
@media (max-width: 767.98px){
  .hero-stats-bar{ margin-top: -40px; padding: 1.25rem; }
  .hero-slider{ height: auto; min-height: 0; padding-block: 4rem 2.5rem; }
}
.stat-item{ text-align: center; padding-inline: 0.5rem; }
.stat-number{
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--color-primary);
  display: block;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label{ font-size: 0.85rem; color: var(--color-gray-500); font-weight: 500; }

/* ==========================================================================
   PAGE BANNER (inner pages)
   ========================================================================== */
.page-banner{
  position: relative;
  padding-block: 4.5rem 3.5rem;
  background: linear-gradient(120deg, var(--color-primary-darker), var(--color-primary) 130%);
  color: var(--color-white);
  overflow: hidden;
}
.page-banner::before{
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 320px; height: 320px;
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 50%;
}
.page-banner::after{
  content: "";
  position: absolute;
  right: 80px; bottom: -100px;
  width: 220px; height: 220px;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 50%;
}
.page-banner h1{ color: var(--color-white); margin-bottom: 0.6rem; }
.breadcrumb-custom{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  position: relative;
  z-index: 2;
}
.breadcrumb-custom a{ color: rgba(255,255,255,0.85); }
.breadcrumb-custom a:hover{ color: var(--color-white); text-decoration: underline; }
.page-banner .lead{ color: rgba(255,255,255,0.85); position: relative; z-index: 2; }
.page-banner h1{ position: relative; z-index: 2; }

/* ==========================================================================
   CARDS
   ========================================================================== */
.card-base{
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  height: auto;
}
.card-base:hover{ box-shadow: var(--shadow-md); transform: translateY(-5px); }

.service-card{ overflow: hidden; display: flex; flex-direction: column; }
.service-card-img{ height: 210px; overflow: hidden; position: relative; }
.service-card-img img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-card-img img{ transform: scale(1.08); }
.service-card-body{ padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3{ font-size: 1.2rem; }
.service-card-body p{ color: var(--color-gray-500); font-size: 0.95rem; flex: 1; }
.card-link{
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.card-link svg{ transition: transform var(--transition-base); }
.card-link:hover svg{ transform: translateX(4px); }

.icon-badge{
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

.capability-card{ padding: 2rem 1.75rem; text-align: left; }

.testimonial-card{ padding: 2rem; position: relative; }
.testimonial-quote-icon{ color: var(--color-primary-tint); margin-bottom: 1rem; }
.testimonial-name{ font-family: var(--font-heading); font-weight: 700; color: var(--color-gray-900); margin-bottom: 0; }
.testimonial-role{ font-size: 0.85rem; color: var(--color-gray-500); }

.case-study-card{ overflow: hidden; }
.case-study-img{ height: 230px; overflow: hidden; }
.case-study-img img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.case-study-card:hover .case-study-img img{ transform: scale(1.06); }
.case-study-body{ padding: 1.6rem; }
.case-study-number{ font-family: var(--font-heading); font-weight: 700; color: var(--color-primary-tint); font-size: 1rem; }
.case-study-text{
  max-height: 4.6em;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 0.95rem;
  color: var(--color-gray-500);
}
.case-study-text.is-expanded{ max-height: 600px; }
.case-study-toggle{
  border: none;
  background: none;
  padding: 0;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==========================================================================
   LOGOS STRIP / TRUST BAR
   ========================================================================== */
.logos-strip{ display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem 3.5rem; }
.logos-strip img{ height: 38px; width: auto; opacity: 0.72; filter: grayscale(1); transition: all var(--transition-base); }
.logos-strip img:hover{ opacity: 1; filter: grayscale(0); }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner{
  background: linear-gradient(120deg, var(--color-primary-darker), var(--color-primary));
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h2{ color: var(--color-white); margin-bottom: 0.5rem; }
.cta-banner p{ color: rgba(255,255,255,0.82); margin-bottom: 0; }
.cta-banner-actions{ display: flex; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   ACCORDION (Services page)
   ========================================================================== */
.service-block{ padding-block: 3.25rem; border-bottom: 1px solid var(--color-gray-300); }
.service-block:last-child{ border-bottom: none; }
.service-block-img{ border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.service-feature-list li{
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  color: var(--color-gray-700);
  font-size: 0.96rem;
}
.service-feature-list svg{ flex-shrink: 0; color: var(--color-primary); margin-top: 3px; }
.service-nav-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1.5rem;
  background: var(--color-gray-100);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}
.service-nav-pills a{
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-gray-700);
  border: 1px solid var(--color-gray-300);
  transition: all var(--transition-base);
}
.service-nav-pills a:hover, .service-nav-pills a.active{
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-filters{ display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.gallery-filter-btn{
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-gray-300);
  background: var(--color-white);
  color: var(--color-gray-700);
  cursor: pointer;
  transition: all var(--transition-base);
}
.gallery-filter-btn:hover{ border-color: var(--color-primary); color: var(--color-primary); }
.gallery-filter-btn.active{ background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }

.gallery-item{
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: 260px;
  box-shadow: var(--shadow-sm);
}
.gallery-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img{ transform: scale(1.1); }
.gallery-item-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,42,69,0.85) 0%, rgba(8,42,69,0) 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.gallery-item:hover .gallery-item-overlay{ opacity: 1; }
.gallery-item-overlay span{ color: var(--color-white); font-family: var(--font-heading); font-weight: 600; font-size: 0.92rem; }
.gallery-item[hidden]{ display: none; }

.lightbox{
  position: fixed; inset: 0;
  background: rgba(8,20,32,0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open{ display: flex; }
.lightbox img{ max-width: 92vw; max-height: 82vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-prev, .lightbox-next{
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--color-white);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-base);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover{ background: rgba(255,255,255,0.28); }
.lightbox-close{ top: 1.5rem; right: 1.5rem; }
.lightbox-prev{ left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next{ right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-caption{ position: absolute; bottom: 2rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.85); font-size: 0.9rem; }

.video-frame-wrap{ position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16/9; }
.video-frame-wrap iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   FORMS (Contact page)
   ========================================================================== */
.form-control-custom{
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--color-gray-900);
  background: var(--color-white);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.form-control-custom:focus{
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-light);
}
.form-label-custom{ font-weight: 600; font-size: 0.88rem; color: var(--color-gray-900); margin-bottom: 0.4rem; display: block; }
.form-group{ margin-bottom: 1.25rem; }
.form-feedback{
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin-top: 1rem;
}
.form-feedback.is-visible{ display: block; }
.form-feedback.success{ background: #E8F5E9; color: var(--color-success); }
.form-feedback.error{ background: #FDECEA; color: var(--color-error); }

.contact-info-card{ display: flex; gap: 1.1rem; padding: 1.6rem; align-items: flex-start; }
.contact-info-card .icon-badge{ margin-bottom: 0; }
.contact-info-card h4{ margin-bottom: 0.3rem; }
.contact-info-card p{ margin-bottom: 0.15rem; color: var(--color-gray-500); font-size: 0.94rem; }
.contact-info-card a{ color: var(--color-gray-700); }
.contact-info-card a:hover{ color: var(--color-primary); }

.map-embed-wrap{ border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.map-embed-wrap iframe{ width: 100%; height: 460px; border: 0; display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background: var(--color-primary-darker); color: rgba(255,255,255,0.78); }
.footer-top{ padding-block: 4rem 2.5rem; }
.footer-brand img{ height: 50px; margin-bottom: 1.1rem; }
.footer-brand p{ font-size: 0.92rem; color: rgba(255,255,255,0.65); max-width: 320px; }
.footer-social{ display: flex; gap: 0.7rem; margin-top: 1.25rem; }
.footer-social a{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-white);
  transition: all var(--transition-base);
}
.footer-social a:hover{ background: var(--color-white); color: var(--color-primary-darker); transform: translateY(-3px); }
.footer-heading{ color: var(--color-white); font-size: 1rem; margin-bottom: 1.4rem; }
.footer-links li{ margin-bottom: 0.75rem; }
.footer-links a{ font-size: 0.92rem; color: rgba(255,255,255,0.7); transition: color var(--transition-base); }
.footer-links a:hover{ color: var(--color-white); padding-left: 4px; }
.footer-contact li{ display: flex; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.footer-contact a{ color: rgba(255,255,255,0.75); }
.footer-contact a:hover{ color: var(--color-white); }
.footer-contact svg{ flex-shrink: 0; margin-top: 3px; color: #7FA8C9; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 1.4rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a{ color: rgba(255,255,255,0.55); }
.footer-bottom a:hover{ color: var(--color-white); }

/* ==========================================================================
   WHATSAPP FLOATING CTA
   ========================================================================== */
.whatsapp-float{
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1500;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-base);
  animation: wa-pulse 2.6s infinite;
}
.whatsapp-float:hover{ background: var(--color-whatsapp-dark); transform: scale(1.08); }
.whatsapp-float svg{ width: 32px; height: 32px; }
@keyframes wa-pulse{
  0%{ box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.45); }
  70%{ box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0); }
  100%{ box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 575.98px){
  .whatsapp-float{ right: 1rem; bottom: 1rem; width: 54px; height: 54px; }
  .whatsapp-float svg{ width: 28px; height: 28px; }
}

/* ==========================================================================
   MISC UTILITIES
   ========================================================================== */
.fade-in-up{ opacity: 0; transform: translateY(24px); transition: all 0.7s ease; }
.fade-in-up.is-visible{ opacity: 1; transform: translateY(0); }
.divider-sm{ width: 60px; height: 3px; background: var(--color-primary); border-radius: var(--radius-pill); margin-bottom: 1.25rem; }
.rounded-img{ border-radius: var(--radius-md); }
.shadow-custom{ box-shadow: var(--shadow-md); }
.back-to-top{
  position: fixed;
  right: 1.5rem;
  bottom: 3rem;
  z-index: 1400;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}
.back-to-top.is-visible{ display: inline-flex; }
.back-to-top:hover{ background: var(--color-primary-dark); transform: translateY(-3px); }
@media (max-width: 575.98px){ .back-to-top{ right: 1rem; bottom: 2rem; } }
