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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: var(--font-weight-body);
  color: var(--color-marine);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul {
  list-style: none;
}

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

.section {
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: 2.5rem;
  color: var(--color-navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-loader);
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-isotipo {
  width: 60px;
  height: 60px;
  animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader-isotipo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.6; }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: var(--z-nav);
  transition: box-shadow var(--transition-base), height var(--transition-base);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  box-shadow: var(--shadow-nav);
  border-bottom-color: rgba(15, 45, 89, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.navbar-isotipo {
  width: 36px;
  height: 36px;
}

.navbar-isotipo svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--color-electric);
  stroke-width: 4;
  stroke-linecap: round;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: 1.5rem;
  color: var(--color-navy);
  letter-spacing: -0.5px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: 1rem;
  color: var(--color-marine);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-base);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-electric);
  transition: width var(--transition-base);
}

.navbar-links a:hover {
  color: var(--color-electric);
}

.navbar-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: var(--z-dropdown);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  transition: transform var(--transition-base), opacity var(--transition-base);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  background: var(--gradient-hero);
  color: var(--color-white);
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero .container {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 32px;
}

.hero-content {
  max-width: 580px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: var(--font-weight-subheading);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span {
  color: #7DD3FC;
}

.hero-description {
  font-family: var(--font-body);
  font-weight: var(--font-weight-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-subheading);
  font-size: 1rem;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn-primary:hover {
  background: var(--color-electric);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 118, 168, 0.3);
  text-shadow: 0 1px 2px rgba(10, 37, 64, 0.4); /* Contrast fix for readability on button hover */
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0.9;
}

.hero-logo-img {
  max-width: 320px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.95);
}

.hero-diagrama {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.hero-diagrama:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 8px 30px rgba(125, 211, 252, 0.35));
}

.hero-diagrama:active {
  transform: scale(0.98);
}

.hero-diagrama-img {
  max-width: 480px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow:
    0 0 0 12px rgba(125, 211, 252, 0.4),
    0 0 80px 16px rgba(125, 211, 252, 0.25),
    0 16px 96px rgba(10, 37, 64, 0.35);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 24px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base), transform var(--transition-base);
  line-height: 1;
  padding: 0;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.9);
  transition: transform 0.35s ease;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

body.lightbox-open {
  overflow: hidden;
}

.hero-logo-isotipo {
  width: 100px;
  height: 100px;
}

.hero-logo-isotipo svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.8;
}

.hero-logo-text {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: 2.5rem;
  color: var(--color-white);
  letter-spacing: 3px;
}

.hero-watermark {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 400px;
  height: 400px;
  opacity: 0.04;
  pointer-events: none;
}

.hero-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Hero separator bar */
.hero-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 0;
  flex-shrink: 0;
}

.hero-bar-inner {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  min-width: max-content;
}

.hero-bar-item {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: var(--font-weight-subheading);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
  padding: 0 16px;
}

.hero-bar-sep {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* ===== SERVICES ===== */
.services {
  background: var(--color-white);
}

.services-header {
  margin-bottom: 60px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  background: rgba(0, 118, 168, 0.06);
  border: 1px solid rgba(15, 45, 89, 0.12);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.4s ease, border-color 0.3s ease;
  cursor: default;
  width: calc(33.333% - 20px);
  min-width: 280px;
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.06);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 118, 168, 0.06) 0%, rgba(10, 37, 64, 0.04) 100%);
  opacity: 1;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.service-card-watermark {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.service-card-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 118, 168, 0.2);
  border-color: rgba(0, 118, 168, 0.3);
}

.service-card:hover::before {
  background: linear-gradient(135deg, rgba(0, 118, 168, 0.1) 0%, rgba(10, 37, 64, 0.07) 100%);
}

.service-card:hover .service-card-watermark {
  opacity: 0.05;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 118, 168, 0.08);
  transition: background var(--transition-base);
}

.service-card:hover .service-card-icon {
  background: rgba(0, 118, 168, 0.15);
  animation: iconPulse 0.6s ease;
}

@keyframes iconPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--color-electric);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: 1.35rem;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.service-card p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.service-card-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: var(--font-weight-subheading);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(15, 45, 89, 0.12);
  border-radius: var(--radius-small);
  color: var(--color-marine);
}

.service-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(15, 45, 89, 0.06);
}

.service-bar-item {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: var(--font-weight-subheading);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-electric);
  flex-shrink: 0;
  padding: 0 8px;
}

.service-bar-sep {
  width: 1px;
  height: 24px;
  background: rgba(15, 45, 89, 0.15);
  flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about {
  background: var(--color-navy);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.about-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.about-watermark svg {
  width: 600px;
  height: 600px;
  opacity: 0.03;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 1;
}

.about .container {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content .section-title {
  color: var(--color-white);
}

.about-content .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.about-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-on-dark);
  margin-top: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-stat {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
}

.about-stat:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
}

.about-stat-number {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: 2.5rem;
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(10, 37, 64, 0.3);
  margin-bottom: 4px;
}

.about-stat-label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-on-dark-muted);
}

/* ===== CONTACT ===== */
.contact-info-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 200px;
  flex: 1 1 auto;
  max-width: 260px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 118, 168, 0.08);
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--color-electric);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-text h4 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-subheading);
  font-size: 1rem;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.contact-info-text p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-map {
  margin-top: 40px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(15, 45, 89, 0.08);
}

.contact-map iframe {
  width: 100%;
  height: 360px;
  border: none;
  display: block;
}

.contact-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  padding: 32px 40px;
  background: rgba(0, 118, 168, 0.06);
  border-radius: var(--radius-card);
  border: 1px solid rgba(15, 45, 89, 0.12);
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.06);
}

.contact-cta-text h3 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: 1.3rem;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.contact-cta-text p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 40px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  justify-items: center;
}

.footer-brand .navbar-brand {
  color: var(--color-white);
  display: block;
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand .navbar-isotipo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand .navbar-isotipo svg {
  stroke: var(--color-electric);
}

.footer-description {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-subheading);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-on-dark-muted);
  transition: color var(--transition-base), opacity var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-electric);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
  color: var(--color-electric);
}

/* ===== CTA SECTION (Reusable) ===== */
.cta-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section-dark {
  background: var(--color-navy);
  color: var(--color-white);
}

.cta-section-light {
  background: var(--color-white);
  color: var(--color-marine);
  border-top: 1px solid rgba(15, 45, 89, 0.06);
  border-bottom: 1px solid rgba(15, 45, 89, 0.06);
}

.cta-section-accent {
  background: var(--color-electric);
  color: var(--color-white);
}

.cta-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 16px;
}

.cta-description {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-subheading);
  font-size: 1.05rem;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.cta-btn-light {
  background: var(--color-white);
  color: var(--color-navy);
}

.cta-btn-light:hover {
  background: var(--color-electric);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 118, 168, 0.3);
}

.cta-btn-electric {
  background: var(--color-electric);
  color: var(--color-white);
}

.cta-btn-electric:hover {
  background: var(--color-white);
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn-outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.cta-btn-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Inline CTA button (smaller, for embedding in content) */
.cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-subheading);
  font-size: 0.95rem;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.cta-inline-electric {
  background: var(--color-electric);
  color: var(--color-white);
}

.cta-inline-electric:hover {
  background: var(--color-navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 118, 168, 0.25);
}

.cta-inline-outline {
  background: transparent;
  color: var(--color-electric);
  border: 2px solid var(--color-electric);
}

.cta-inline-outline:hover {
  background: var(--color-electric);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.animate-fade-in-up.delay-1 { animation-delay: 0.2s; }
.animate-fade-in-up.delay-2 { animation-delay: 0.4s; }
.animate-fade-in-up.delay-3 { animation-delay: 0.6s; }

/* ===== NAV ACTIVE ===== */
.navbar-links a.active {
  color: var(--color-electric);
}

.navbar-links a.active::after {
  width: 100%;
}

/* ===== STATS GRID 3 COLS ===== */
.stats-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== BRANCHES ===== */
.branch-sep {
  display: block !important;
}

/* ===== FAQ DETAILS ===== */
.faq-item {
  background: var(--color-white);
  border: 1px solid rgba(15, 45, 89, 0.12);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.06);
}

.faq-item:hover {
  border-color: rgba(0, 118, 168, 0.25);
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.1);
}

.faq-item summary {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-subheading);
  font-size: 1rem;
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--color-electric);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  padding: 0 24px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== PHOTO SECTIONS ===== */
.services-photo-row {
  margin-bottom: 48px;
  text-align: center;
}

.services-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 38%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: block;
}

.about-photo-section {
  margin-bottom: 48px;
  text-align: center;
}

.about-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: block;
}

.contact-photo-section {
  margin-bottom: 40px;
  text-align: center;
}

.contact-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: block;
}

/* ===== HERO SCROLL ARROW ===== */
.hero-scroll-arrow {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background var(--transition-base);
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-scroll-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 110px;
  height: 110px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  z-index: 998;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.65);
}

.whatsapp-float svg {
  width: 58px;
  height: 58px;
  fill: #ffffff;
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
