/* ===== CSS VARIABLES ===== */
:root {
  --blue-dark:  #0a1628;
  --blue-mid:   #0d2240;
  --blue-main:  #1565c0;
  --blue-light: #1e88e5;
  --blue-sky:   #e3f2fd;
  --accent:     #ff6f00;
  --accent-lt:  #ffa726;
  --white:      #ffffff;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-300:   #cbd5e1;
  --gray-500:   #64748b;
  --gray-700:   #334155;
  --text:       #1a2332;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Nunito', sans-serif;
  --shadow-sm: 0 2px 8px rgba(13,34,64,.08);
  --shadow-md: 0 8px 32px rgba(13,34,64,.12);
  --shadow-lg: 0 20px 60px rgba(13,34,64,.18);
  --radius: 16px;
  --radius-sm: 8px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .85rem 2rem;
  border-radius: 50px;
  transition: background .25s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(255,111,0,.35);
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: var(--accent-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,111,0,.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--blue-main);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .8rem 1.8rem;
  border-radius: 50px;
  border: 2px solid var(--blue-main);
  transition: all .25s;
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--blue-main);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== SECTION LABELS & TITLES ===== */
.section-label {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue-main);
  background: var(--blue-sky);
  display: inline-block;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  text-align: center;
  margin-bottom: 3rem;
}
.section-title.left { text-align: left; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(21,101,192,.08);
  transition: box-shadow .3s;
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: .9rem;
  padding-bottom: .9rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.8rem; }
.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--blue-main);
  line-height: 1;
}
.logo-text small {
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--gray-500);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .05em;
  color: var(--gray-700);
  transition: color .2s;
}
.nav-links a:hover { color: var(--blue-main); }
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--blue-main);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  padding: .55rem 1.3rem;
  border-radius: 50px;
  transition: background .2s, transform .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-header-cta:hover { background: var(--blue-light); transform: scale(1.04); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-main);
  border-radius: 2px;
  transition: all .3s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.2rem;
  gap: .8rem;
  border-top: 1px solid var(--gray-100);
  background: var(--white);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-700);
  padding: .3rem 0;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,22,40,.88) 0%,
    rgba(10,22,40,.70) 55%,
    rgba(10,22,40,.30) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 4rem;
  max-width: 680px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,111,0,.95);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  animation: fadeUp .7s .2s both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 1.2rem;
  animation: fadeUp .7s .35s both;
}
.hero-title span { color: var(--accent-lt); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 2.2rem;
  max-width: 420px;
  line-height: 1.6;
  animation: fadeUp .7s .5s both;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .7s .65s both;
}
.hero-ctas .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.hero-ctas .btn-secondary:hover {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: var(--white);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  letter-spacing: .1em;
  animation: fadeUp .7s 1.2s both;
}
.scroll-arrow {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 1.8s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--blue-main);
  padding: 2.2rem 0;
}
.stats-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  padding: .5rem 1.5rem;
}
.stat strong, .stat .count {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  display: inline-block;
}
.stat small {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .2rem;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.2);
}

/* ===== SERVICES ===== */
.services {
  padding: 6rem 0;
  background: var(--gray-50);
}
.services .container { text-align: center; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--blue-main);
}
.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: .5rem;
}
.service-card p {
  color: var(--gray-500);
  font-size: .95rem;
  line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery {
  padding: 6rem 0;
  background: var(--white);
}
.gallery .container { text-align: center; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: transform .3s;
  animation-delay: var(--delay, 0s);
}
.gallery-item:nth-child(4) { grid-column: span 1; }
.gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21,101,192,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  padding: .5rem 1rem;
  border-radius: 8px;
  transition: background .2s;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }

/* ===== ABOUT ===== */
.about {
  padding: 6rem 0;
  background: var(--blue-sky);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-col {
  position: relative;
}
.about-img-col img {
  border-radius: var(--radius);
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-badge-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--blue-main);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.about-badge-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}
.about-badge-card small {
  font-size: .8rem;
  opacity: .8;
}
.about-text-col { padding-bottom: 2rem; }
.about-text-col p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: .98rem;
}
.about-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.about-list li {
  font-size: .95rem;
  color: var(--text);
  font-weight: 600;
}

/* ===== SEO KEYWORDS ===== */
.seo-keywords {
  padding: 5rem 0;
  background: var(--blue-dark);
}
.kw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.kw-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background .3s, border-color .3s;
}
.kw-card:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--blue-light);
}
.kw-card span { font-size: 2rem; display: block; margin-bottom: .8rem; }
.kw-card strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .04em;
  display: block;
  margin-bottom: .5rem;
}
.kw-card p {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  line-height: 1.5;
}

/* ===== CONTACT ===== */
.contact {
  padding: 6rem 0;
  background: var(--white);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info .section-label { margin-bottom: .8rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--blue-sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500);
  margin-bottom: .2rem;
}
.contact-item a, .contact-item span {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
  transition: color .2s;
}
.contact-item a:hover { color: var(--blue-main); }
.contact-socials {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  transition: all .25s;
}
.social-btn.instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}
.social-btn.instagram:hover { opacity: .88; transform: translateY(-2px); }
.social-btn.whatsapp {
  background: #25d366;
  color: white;
}
.social-btn.whatsapp:hover { background: #1ebe5c; transform: translateY(-2px); }
.contact-map iframe {
  width: 100%;
  height: 340px;
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow-md);
}
.map-cta { margin-top: 1rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--blue-dark);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: 1.6rem;
}
.footer-logo div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: white;
  letter-spacing: .05em;
}
.footer-logo div small {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  transition: color .2s;
  letter-spacing: .05em;
}
.footer-links a:hover { color: white; }
.footer-copy {
  color: rgba(255,255,255,.4);
  font-size: .8rem;
  text-align: right;
  line-height: 1.6;
}
.footer-copy a { color: rgba(255,255,255,.55); transition: color .2s; }
.footer-copy a:hover { color: white; }

/* ===== WhatsApp Float ===== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform .3s, box-shadow .3s;
  animation: waPulse 2.5s infinite;
}
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,.65);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%        { box-shadow: 0 4px 30px rgba(37,211,102,.85), 0 0 0 10px rgba(37,211,102,.08); }
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .kw-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-col img { height: 380px; }
  .about-badge-card { right: 0; bottom: -1rem; }
}

@media (max-width: 768px) {
  .nav-links, .btn-header-cta { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item:nth-child(5) { grid-column: span 1; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
  .stats-inner { gap: .5rem; }
  .stat-divider { display: none; }
  .kw-grid { grid-template-columns: 1fr; }
  .hero-scroll-hint { display: none; }
  .about-img-col { order: -1; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(5) { grid-column: span 1; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .contact-socials { flex-direction: column; }
}
