/* ===== FONTS ===== */
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url('../fonts/Oswald-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url('../fonts/Oswald-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url('../fonts/Oswald-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* iOS fix: overflow-x on html prevents body from being the scroll context */
  overflow-x: hidden;
}
body {
  font-family: 'Manrope', sans-serif;
  color: #334155;
  background: #f8fafc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* overflow-x: clip avoids creating a scroll container (no iOS vertical scroll block) */
  overflow-x: clip;
  /* Smooth momentum scrolling on iOS */
  -webkit-overflow-scrolling: touch;
}
::selection { background: #008080; color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --primary: #008080;
  --primary-dark: #006666;
  --secondary: #001f3f;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --whatsapp: #25D366;
  --radius: 1.5rem;
  --radius-sm: 0.75rem;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; border-radius: var(--radius-sm); transition: all 0.3s;
  border: none; cursor: pointer; font-family: inherit; text-align: center;
}
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(0,128,128,0.25); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,128,128,0.3); }
.btn-dark { background: var(--secondary); color: #fff; box-shadow: 0 4px 14px rgba(0,31,63,0.2); }
.btn-dark:hover { background: #001530; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,31,63,0.25); }
.btn-outline { background: var(--white); color: var(--secondary); border: 1px solid var(--slate-200); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: var(--white); color: var(--secondary); }
.btn-white:hover { background: var(--slate-100); transform: translateY(-2px); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #20bd5a; transform: translateY(-2px); }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary); font-weight: 700; border-bottom: 2px solid rgba(0,128,128,0.2); padding-bottom: 0.25rem; transition: all 0.3s; }
.link-arrow:hover { border-color: var(--primary); }

.desktop-only { display: none; }
@media (min-width: 768px) { .desktop-only { display: inline-flex; } }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200); transition: all 0.3s;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 5rem; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-icon { position: relative; width: 2.5rem; height: 2.5rem; }
.logo-square { position: absolute; top: 0; left: 0; width: 1.5rem; height: 1.5rem; background: var(--primary); opacity: 0.9; border-radius: 3px; }
.logo-diamond { position: absolute; bottom: 0; right: 0; width: 1.5rem; height: 1.5rem; background: var(--secondary); opacity: 0.95; border-radius: 3px; transform: rotate(45deg); }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--secondary); text-transform: uppercase; line-height: 1; }
.logo-sub { font-weight: 500; font-size: 0.7rem; color: var(--primary); letter-spacing: 0.05em; }
@media (min-width: 640px) { .logo-name { font-size: 1.5rem; } .logo-sub { font-size: 0.75rem; } .logo-text { flex-direction: row; align-items: baseline; gap: 0.5rem; } }

.nav-links { display: none; }
@media (min-width: 768px) {
  .nav-links { display: flex; align-items: center; gap: 2rem; }
  .nav-link { color: var(--slate-600); font-weight: 500; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; position: relative; transition: color 0.3s; }
  .nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s; }
  .nav-link:hover { color: var(--primary); }
  .nav-link:hover::after { width: 100%; }
  .btn-nav-phone { padding: 0.625rem 1.5rem; border-radius: 9999px; font-size: 0.85rem; }
}

.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 1.5rem; height: 2px; background: var(--slate-600); transition: all 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 768px) { .nav-toggle { display: none; } }

.scroll-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--primary); width: 0; transition: width 0.15s; }

/* Mobile menu */
.nav-mobile { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--slate-100); box-shadow: 0 10px 40px rgba(0,0,0,0.1); padding: 1rem; }
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 0.75rem 1rem; font-size: 1.125rem; font-weight: 500; color: var(--slate-600); text-transform: uppercase; letter-spacing: 0.05em; border-radius: var(--radius-sm); }
.nav-mobile a:hover { color: var(--primary); background: var(--slate-100); }
.nav-mobile .btn { width: 100%; margin-top: 0.5rem; padding: 1rem; font-size: 1.125rem; }

/* ===== HERO ===== */
.hero {
  position: relative; padding: 3rem 0 4rem; overflow-x: clip; background: var(--bg-light);
}
@media (min-width: 768px) { .hero { padding: 8rem 0 9rem; } }

.hero-pattern { position: absolute; inset: 0; z-index: 0; opacity: 0.03; background: radial-gradient(#008080 1px, transparent 1px); background-size: 24px 24px; }
.hero-blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); mix-blend-mode: multiply; opacity: 0.5; animation: blob 7s infinite; }
.blob-1 { top: -5rem; right: -5rem; width: 18rem; height: 18rem; background: rgba(0,128,128,0.2); }
.blob-2 { top: -5rem; right: 10rem; width: 18rem; height: 18rem; background: rgba(147,197,253,0.2); animation-delay: 2s; }
.blob-3 { bottom: -8rem; left: -5rem; width: 18rem; height: 18rem; background: rgba(0,31,63,0.1); animation-delay: 4s; }
@media (min-width: 768px) { .blob-1, .blob-2, .blob-3 { width: 24rem; height: 24rem; } }

@keyframes blob {
  0% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-50px) scale(1.1); }
  66% { transform: translate(-20px,20px) scale(0.9); }
  100% { transform: translate(0,0) scale(1); }
}

/* hero-grid removed, replaced by hero-inner in swiper section */

.hero-content { text-align: center; }
@media (min-width: 1024px) { .hero-content { text-align: left; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 1rem;
  background: rgba(255,255,255,0.8); border: 1px solid var(--slate-200); border-radius: 9999px;
  backdrop-filter: blur(4px); box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate-600);
}
.badge-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero-title {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  font-size: 2.5rem; line-height: 1.1; color: var(--secondary);
  margin-top: 1.5rem; letter-spacing: -0.02em;
}
@media (min-width: 640px) { .hero-title { font-size: 3.25rem; } }
@media (min-width: 768px) { .hero-title { font-size: 4rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 5.5rem; } }

.text-gradient {
  background: linear-gradient(135deg, var(--primary), #14b8a6, #2563eb);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc { font-size: 1rem; color: var(--slate-600); max-width: 32rem; margin: 1.5rem auto 0; line-height: 1.7; font-weight: 300; }
@media (min-width: 768px) { .hero-desc { font-size: 1.125rem; } }
@media (min-width: 1024px) { .hero-desc { margin: 1.5rem 0 0; } }

/* hero-mobile-img removed — swiper shows on all viewports */

.hero-ctas { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; justify-content: center; } }
@media (min-width: 1024px) { .hero-ctas { justify-content: flex-start; } }

.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--slate-200); }
@media (min-width: 1024px) { .hero-trust { justify-content: flex-start; } }
.trust-item { display: flex; align-items: center; gap: 0.375rem; font-size: 0.8rem; font-weight: 500; color: var(--slate-500); }

/* ===== CARD SWIPER (TINDER STACK) ===== */
.hero-inner { display: grid; gap: 2rem; align-items: center; position: relative; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.swiper-wrap { position: relative; }

.swiper {
  position: relative;
  touch-action: pan-y;
  user-select: none;
  padding-bottom: 2rem; /* room for stack shadow below */
}

.swiper-track {
  position: relative;
  aspect-ratio: 3/4;
  width: 100%;
}
@media (min-width: 768px) { .swiper-track { aspect-ratio: 4/5; } }

/* All cards absolutely fill the track */
.swiper-card {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--secondary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  transition:
    transform 0.4s cubic-bezier(.22,.68,0,1.0),
    filter 0.4s ease,
    opacity 0.4s ease;
  will-change: transform;
  transform-origin: center 110%;
  touch-action: pan-y; /* allow vertical scroll pass-through on iOS */
}

/* Stack positions */
.swiper-card[data-stack="0"] {
  z-index: 10;
  transform: translateY(0) scale(1);
  filter: none;
  cursor: grab;
  pointer-events: auto;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.08);
}
.swiper-card[data-stack="0"]:active { cursor: grabbing; }

.swiper-card[data-stack="1"] {
  z-index: 9;
  transform: translateY(8px) scale(0.97);
  filter: brightness(0.78);
  pointer-events: none;
}

.swiper-card[data-stack="2"] {
  z-index: 8;
  transform: translateY(16px) scale(0.94);
  filter: brightness(0.6);
  pointer-events: none;
}

.swiper-card[data-stack="hidden"] {
  z-index: 7;
  transform: translateY(28px) scale(0.88);
  opacity: 0;
  pointer-events: none;
}

/* Flying animations — !important overrides inline drag style */
.swiper-card.flying-left {
  transition: transform 0.3s ease-in !important, opacity 0.3s ease-in !important;
  transform: translateX(-140%) rotate(-18deg) !important;
  opacity: 0 !important;
  pointer-events: none;
  z-index: 11 !important;
}
.swiper-card.flying-right {
  transition: transform 0.3s ease-in !important, opacity 0.3s ease-in !important;
  transform: translateX(140%) rotate(18deg) !important;
  opacity: 0 !important;
  pointer-events: none;
  z-index: 11 !important;
}

/* Dragging — no transition */
.swiper-card.dragging {
  transition: none !important;
  cursor: grabbing;
}

/* Card media */
.swiper-card img, .swiper-card video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.92) contrast(1.08) saturate(1.15);
  transition: transform 0.5s;
}
.swiper-card[data-stack="0"]:hover img,
.swiper-card[data-stack="0"]:hover video { transform: scale(1.03); }

/* Card info overlay with gradient */
.card-info {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 1.5rem 1.5rem 2rem;
  background: linear-gradient(
    to top,
    rgba(0,10,25,0.88) 0%,
    rgba(0,10,25,0.4) 50%,
    transparent 80%
  );
}
.card-cat {
  display: inline-block; padding: 0.2rem 0.6rem; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: #fff;
  background: var(--primary); border-radius: 4px; margin-bottom: 0.5rem;
}
.card-info h3 { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.25rem; color: #fff; margin-bottom: 0.25rem; }
@media (min-width: 768px) { .card-info h3 { font-size: 1.5rem; } }
.card-info p { font-size: 0.85rem; color: rgba(255,255,255,0.8); line-height: 1.4; }

.card-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: rgba(0,128,128,0.9); color: #fff; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3); z-index: 3;
  transition: transform 0.3s, background 0.3s;
}
.swiper-card[data-stack="0"]:hover .card-play { transform: translate(-50%,-50%) scale(1.1); background: var(--primary); }

/* Counter + nav */
.swiper-dots {
  display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.25rem;
}
.swiper-counter {
  font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 0.95rem;
  color: var(--slate-400); letter-spacing: 0.05em; min-width: 3rem; text-align: center;
}
.swiper-counter strong { color: var(--primary); font-size: 1.1rem; }
.swiper-nav-btn {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1.5px solid var(--slate-200); background: var(--white);
  color: var(--slate-500); cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all 0.25s; line-height: 1;
}
.swiper-nav-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,128,128,0.06); }

/* ===== DETAIL OVERLAY ===== */
.detail-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,15,30,0.95); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.detail-overlay.open { opacity: 1; pointer-events: auto; }

.detail-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  background: rgba(255,255,255,0.1); border: none; color: #fff;
  border-radius: 50%; width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.3s; backdrop-filter: blur(4px);
}
.detail-close:hover { background: rgba(255,255,255,0.2); }

.detail-content {
  max-width: 56rem; width: 100%; max-height: 90vh; overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iOS momentum scrolling inside overlay */
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.detail-content img, .detail-content video {
  width: 100%; max-height: 70vh; object-fit: contain;
  border-radius: var(--radius-sm); box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.detail-content video { background: #000; }
.detail-text { text-align: center; max-width: 36rem; }
.detail-text .card-cat { font-size: 0.75rem; }
.detail-text h3 { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.5rem; color: #fff; margin: 0.5rem 0; }
.detail-text p { color: var(--slate-300); font-size: 1rem; line-height: 1.6; }

/* ===== FEATURES ===== */
.features { padding: 3rem 0; background: var(--white); border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-item { text-align: center; padding: 1rem; transition: transform 0.3s; }
.feature-item:hover { transform: translateY(-4px); }
.feature-icon { width: 2.5rem; height: 2.5rem; margin: 0 auto 0.75rem; stroke: var(--primary); }
.feature-item h3 { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.125rem; color: var(--secondary); }
.feature-item p { font-size: 0.75rem; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.25rem; }

/* ===== SECTIONS ===== */
.section-label { display: block; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; color: var(--primary); margin-bottom: 0.5rem; }
.section-title { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 2.25rem; color: var(--secondary); }
.section-desc { color: var(--slate-600); font-size: 1.125rem; margin-top: 0.5rem; max-width: 40rem; }
.section-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .section-header { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ===== SERVICES ===== */
.services { padding: 5rem 0; background: var(--bg-light); position: relative; }
.services::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top left, rgba(0,128,128,0.06), transparent); z-index: 0; }
.services .container { position: relative; z-index: 1; }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); auto-rows: minmax(320px, auto); } }

.service-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); min-height: 300px;
  transition: box-shadow 0.5s, transform 0.5s; background: var(--white);
}
.service-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.15); transform: translateY(-4px); }
.service-wide { grid-column: span 1; }
@media (min-width: 768px) { .service-wide { grid-column: span 2; } }
.service-tall { grid-row: span 1; }
@media (min-width: 768px) { .service-tall { grid-row: span 2; } }
.service-dark { background: var(--secondary); color: #fff; }

.service-card > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s; filter: brightness(0.95) contrast(1.05) saturate(1.1);
}
.service-card:hover > img { transform: scale(1.05); }
.service-dark > img { opacity: 0.6; mix-blend-mode: multiply; }
.service-card:not(.service-dark) > img { opacity: 0.2; }
.service-card:hover:not(.service-dark) > img { opacity: 0.3; }

.service-overlay { position: absolute; inset: 0; z-index: 1; }
.service-overlay:not(.dark) { background: linear-gradient(to top, var(--white), rgba(255,255,255,0.8), transparent); }
.service-overlay.dark { background: linear-gradient(to top, var(--secondary), rgba(0,31,63,0.6), transparent); }

.service-content { position: relative; z-index: 2; padding: 1.5rem; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
@media (min-width: 768px) { .service-content { padding: 2.5rem; } }

.service-icon-wrap {
  width: 3rem; height: 3rem; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; backdrop-filter: blur(4px); border: 1px solid;
  background: rgba(0,128,128,0.1); color: var(--primary); border-color: rgba(0,128,128,0.2);
  transition: transform 0.3s;
}
.service-icon-wrap.light { background: rgba(255,255,255,0.2); color: #fff; border-color: rgba(255,255,255,0.3); }
.service-card:hover .service-icon-wrap { transform: scale(1.1); }
@media (min-width: 768px) { .service-icon-wrap { width: 3.5rem; height: 3.5rem; } }

.service-content h3 { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.5rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .service-content h3 { font-size: 1.875rem; } }
.service-dark .service-content h3 { color: #fff; }
.service-content p { max-width: 28rem; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; }
.service-dark .service-content p { color: var(--slate-300); }
.service-card:not(.service-dark) .service-content p { color: var(--slate-600); }

.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.service-tags span {
  padding: 0.25rem 0.75rem; border-radius: var(--radius-sm); font-size: 0.7rem;
  font-weight: 700; text-transform: uppercase;
  background: rgba(255,255,255,0.5); border: 1px solid var(--slate-200); color: var(--secondary);
}
.service-tags.light span { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: var(--slate-300); }

/* ===== PORTFOLIO ===== */
.portfolio { padding: 5rem 0; background: var(--white); border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); }
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.portfolio-item {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); cursor: pointer; background: var(--secondary);
}
.portfolio-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; filter: brightness(0.95) contrast(1.05) saturate(1.1); }
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-item::after { content: ''; position: absolute; inset: 0; border: 2px solid var(--slate-100); border-radius: var(--radius-sm); pointer-events: none; z-index: 3; }

.portfolio-info {
  position: absolute; inset: 0; z-index: 2; padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, var(--secondary), rgba(0,31,63,0.4), transparent);
  opacity: 1; transition: opacity 0.3s;
}
@media (min-width: 768px) {
  .portfolio-info { opacity: 0; }
  .portfolio-item:hover .portfolio-info { opacity: 1; }
}

.portfolio-cat {
  display: inline-block; padding: 0.25rem 0.5rem; font-size: 0.625rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: #fff;
  background: var(--primary); border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  margin-bottom: 0.5rem; align-self: flex-start;
}
.portfolio-info h3 { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.25rem; color: #fff; margin-bottom: 0.25rem; }
.portfolio-info p { font-size: 0.85rem; color: var(--slate-200); }

/* Before/After removed — replaced by card swiper */

/* ===== CONTACT ===== */
.contact { padding: 5rem 0; background: var(--bg-light); position: relative; overflow: clip; }
.contact-inner { text-align: center; max-width: 48rem; margin: 0 auto; }

.area-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 2rem 0 3rem; }
.area-tags span {
  padding: 0.5rem 1.25rem; background: var(--white); border: 1px solid var(--slate-200);
  border-radius: 9999px; font-size: 0.85rem; font-weight: 500; color: var(--slate-600);
  transition: all 0.3s; cursor: default;
}
.area-tags span:hover { border-color: var(--primary); color: var(--primary); }

.cta-box {
  background: linear-gradient(135deg, var(--secondary), #0f172a);
  border-radius: var(--radius); padding: 2.5rem 2rem; box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  position: relative; overflow: clip; border: 1px solid rgba(100,116,139,0.2);
}
@media (min-width: 768px) { .cta-box { padding: 4rem; } }
.cta-box::before, .cta-box::after {
  content: ''; position: absolute; width: 16rem; height: 16rem; border-radius: 50%;
  background: rgba(0,128,128,0.2); filter: blur(60px); pointer-events: none;
}
.cta-box::before { top: -4rem; right: -4rem; }
.cta-box::after { bottom: -4rem; left: -4rem; }
.cta-box h3 { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.5rem; color: #fff; margin-bottom: 1rem; position: relative; z-index: 1; }
@media (min-width: 768px) { .cta-box h3 { font-size: 1.875rem; } }
.cta-box p { color: var(--slate-300); font-size: 1rem; max-width: 32rem; margin: 0 auto 2rem; position: relative; z-index: 1; }
.cta-buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; position: relative; z-index: 1; }
@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }

/* ===== FOOTER ===== */
.footer { background: var(--white); border-top: 1px solid var(--slate-200); padding: 4rem 0 6rem; }
@media (min-width: 768px) { .footer { padding: 4rem 0 2rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand p { color: var(--slate-500); font-size: 0.85rem; line-height: 1.7; max-width: 28rem; margin-top: 1.5rem; }
.footer-col h4 { font-weight: 700; color: var(--secondary); margin-bottom: 1.5rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 1rem; }
.footer-col li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.85rem; color: var(--slate-500); }
.footer-col li svg { margin-top: 2px; flex-shrink: 0; stroke: var(--primary); }
.footer-col a:hover { color: var(--primary); }
.footer-legal { font-size: 0.75rem; color: var(--slate-400); margin-top: 1rem; }

.footer-bottom {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid var(--slate-200);
  font-size: 0.75rem; color: var(--slate-400);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.made-with a { font-weight: 700; color: var(--secondary); transition: color 0.3s; }
.made-with a:hover { color: var(--primary); }

/* ===== WHATSAPP FLOAT ===== */
.wa-float { position: fixed; bottom: 1rem; right: 1rem; z-index: 40; }
@media (min-width: 768px) { .wa-float { bottom: 2rem; right: 2rem; } }
.wa-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--whatsapp); color: #fff; box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  transition: all 0.3s;
}
.wa-btn:hover { background: #20bd5a; transform: scale(1.05); box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
.wa-ping { position: absolute; inset: 0; border-radius: 50%; background: var(--whatsapp); opacity: 0.2; animation: ping 2s cubic-bezier(0,0,0.2,1) infinite; }
@keyframes ping { 75%,100% { transform: scale(2); opacity: 0; } }

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed; bottom: 5rem; right: 1rem; z-index: 40;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--white); color: var(--secondary); border: 1px solid var(--slate-100);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(1rem); pointer-events: none;
  transition: all 0.3s;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--slate-100); transform: translateY(-2px); }
@media (min-width: 768px) { .scroll-top { bottom: 6rem; right: 2rem; } }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,31,63,0.95); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,0.1);
  border: none; color: #fff; border-radius: 50%; width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.3s; backdrop-filter: blur(4px);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-img { max-height: 80vh; max-width: 90vw; border-radius: var(--radius-sm); box-shadow: 0 10px 40px rgba(0,0,0,0.5); border: 2px solid rgba(255,255,255,0.2); object-fit: contain; }
.lightbox-caption { margin-top: 1.5rem; text-align: center; }
.lightbox-caption h3 { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.25rem; color: #fff; }
.lightbox-caption p { color: var(--slate-300); font-size: 0.95rem; margin-top: 0.25rem; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* Grain texture overlay */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* Hero staggered entrance */
.hero-badge { opacity: 0; transform: translateY(16px); animation: fadeUp 0.6s ease-out 0.1s forwards; }
.hero-title { opacity: 0; transform: translateY(16px); animation: fadeUp 0.6s ease-out 0.2s forwards; }
.hero-desc { opacity: 0; transform: translateY(16px); animation: fadeUp 0.6s ease-out 0.35s forwards; }
.hero-ctas { opacity: 0; transform: translateY(16px); animation: fadeUp 0.6s ease-out 0.5s forwards; }
.hero-trust { opacity: 0; transform: translateY(16px); animation: fadeUp 0.6s ease-out 0.6s forwards; }
.swiper-wrap { opacity: 0; transform: translateX(30px); animation: fadeLeft 0.8s ease-out 0.3s forwards; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { to { opacity: 1; transform: translateX(0); } }

/* Enhanced hover states */
.service-card { transition: box-shadow 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.service-card:hover { transform: translateY(-6px) scale(1.01); }
.portfolio-item { transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s; }
.portfolio-item:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.18); }

/* Smooth image filters for real photos */
.service-card > img, .portfolio-item img, .hero-img img {
  filter: brightness(0.92) contrast(1.08) saturate(1.15);
}
.service-card:hover > img, .portfolio-item:hover img, .hero-img:hover img {
  filter: brightness(0.98) contrast(1.05) saturate(1.2);
}

/* CTA box glow effect */
.cta-box { transition: box-shadow 0.5s; }
.cta-box:hover { box-shadow: 0 20px 60px rgba(0,128,128,0.15), 0 10px 40px rgba(0,0,0,0.2); }

/* Feature items scale on hover */
.feature-item { transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }
.feature-item:hover { transform: translateY(-6px) scale(1.05); }
.feature-item:hover .feature-icon { stroke: var(--primary-dark); }

/* Area tags pop */
.area-tags span { transition: all 0.3s cubic-bezier(0.4,0,0.2,1); }
.area-tags span:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,128,128,0.15); border-color: var(--primary); color: var(--primary); }

/* ===== PORTFOLIO TOGGLE ===== */
.portfolio-toggle { text-align: center; margin-top: 2.5rem; }
.portfolio-toggle-btn {
  background: transparent; border: 2px solid var(--primary); color: var(--primary);
  padding: 1rem 2.5rem; border-radius: 9999px; font-weight: 700; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; transition: all 0.3s;
  font-family: inherit;
}
.portfolio-toggle-btn:hover { background: var(--primary); color: white; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,128,128,0.25); }
.portfolio-hidden { display: none; }
.portfolio-hidden.portfolio-show { display: block; animation: fadeUp 0.5s ease-out forwards; }

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  body::before { display: none; }
}
