/* ============================================
   NISSI PRODUCERS — style.css
   Estética: Editorial Azul Oceánico | Premium
============================================ */

/* -------- VARIABLES & RESET -------- */
:root {
  --gold: #7BBDE8;
  --gold-light: #BDD8E9;
  --gold-dim: rgba(123,189,232,0.15);
  --black: #001D39;
  --dark: #021428;
  --dark2: #031e3a;
  --dark3: #0A4174;
  --white: #e8f4fb;
  --white-dim: rgba(189,216,233,0.65);
  --white-faint: rgba(189,216,233,0.08);
  /* Paleta completa */
  --blue-1: #001D39;
  --blue-2: #0A4174;
  --blue-3: #49769F;
  --blue-4: #4E8EA2;
  --blue-5: #6EA2B3;
  --blue-6: #7BBDE8;
  --blue-7: #BDD8E9;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
  --nav-h: 72px;
  --radius: 4px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* -------- TYPOGRAPHY -------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; }
em { font-style: italic; color: var(--gold); }

/* -------- UTILITY -------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; overflow: hidden; }

/* -------- NAVBAR -------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.navbar.scrolled {
  background: rgba(0,29,57,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(123,189,232,0.15);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.85; }

/* Wordmark texto navbar */
.logo-wordmark {
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--white);
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.logo-wordmark em { font-style: normal; font-weight: 300; color: var(--blue-6); }

/* Imagen base */
.logo-img {
  object-fit: contain; display: block;
  transition: transform var(--transition), filter var(--transition);
}

/* Ícono pequeño navbar */
.logo-img--nav {
  height: 46px; width: 46px;
  border-radius: 10px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}
.nav-logo:hover .logo-img--nav {
  transform: scale(1.06);
  filter: drop-shadow(0 3px 16px rgba(123,189,232,0.5));
}

/* Logo hero */
.hero-logo-wrap {
  margin-bottom: 24px;
  opacity: 0; animation: fadeUp 1s 0.2s forwards;
}
.hero-logo-img {
  width: 420px; max-width: 88vw; height: auto;
  margin: 0 auto; display: block;
  border-radius: 16px;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.7));
}

/* Logo footer */
.footer-logo { display: block; margin-bottom: 16px; }
.logo-img--footer {
  width: 260px; height: auto;
  border-radius: 10px;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
  transition: filter var(--transition), opacity var(--transition);
}
.footer-logo:hover .logo-img--footer {
  opacity: 0.85;
  filter: drop-shadow(0 3px 18px rgba(123,189,232,0.25));
}

.nav-links { display: flex; align-items: center; gap: 36px; }

.nav-link {
  font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white-dim); position: relative; transition: color var(--transition);
}
.nav-link::after {
  content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-link.nav-cta {
  color: var(--blue-6); border: 1px solid rgba(123,189,232,0.4);
  padding: 8px 20px; border-radius: 2px; letter-spacing: 0.12em;
  transition: all var(--transition);
}
.nav-link.nav-cta:hover { background: var(--blue-6); color: var(--blue-1); }
.nav-link.nav-cta::after { display: none; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 30px; padding: 4px; cursor: pointer;
}
.hamburger span {
  display: block; width: 100%; height: 1px; background: var(--white);
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* -------- BUTTONS -------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 32px; border-radius: 2px;
  transition: all var(--transition); cursor: pointer;
}
.btn-gold {
  background: var(--blue-6); color: var(--blue-1);
  box-shadow: 0 0 0 1px var(--blue-6);
}
.btn-gold:hover {
  background: transparent; color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 0 40px rgba(123,189,232,0.2);
}
.btn-outline {
  background: transparent; color: var(--white);
  box-shadow: 0 0 0 1px rgba(189,216,233,0.3);
}
.btn-outline:hover {
  box-shadow: 0 0 0 1px var(--blue-6); color: var(--blue-6);
}
.btn-sm { padding: 12px 24px; font-size: 10px; }
.btn-full { width: 100%; justify-content: center; }

/* -------- SECTION HEADERS -------- */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; font-size: 10px; font-weight: 500; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
  position: relative; padding: 0 20px;
}
.section-tag::before, .section-tag::after {
  content: ''; position: absolute; top: 50%;
  width: 14px; height: 1px; background: var(--gold); opacity: 0.5;
}
.section-tag::before { right: 0; }
.section-tag::after { left: 0; }
.section-title { font-size: clamp(32px, 4vw, 52px); color: var(--white); margin-bottom: 20px; }
.section-sub { font-size: 14px; color: var(--white-dim); max-width: 480px; margin: 0 auto; }

.divider-gold {
  width: 48px; height: 1px; background: var(--gold);
  margin: 24px 0 28px; opacity: 0.6;
}

/* -------- HERO -------- */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center 40%, rgba(0,29,57,0.2) 0%, rgba(0,29,57,0.82) 70%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero-content {
  position: relative; z-index: 2; max-width: 820px; padding: 0 24px;
}
.hero-tag {
  display: inline-block; font-size: 10px; font-weight: 500; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 32px;
  opacity: 0; animation: fadeUp 1s 0.3s forwards;
}
.hero-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(44px, 7vw, 92px); line-height: 1.05;
  color: var(--white); margin-bottom: 28px;
  display: flex; flex-direction: column; gap: 2px;
}
.hero-title .line-1 { opacity: 0; animation: fadeUp 1s 0.5s forwards; }
.hero-title .line-2 { opacity: 0; animation: fadeUp 1s 0.7s forwards; font-style: italic; color: var(--gold); }
.hero-title .line-3 { opacity: 0; animation: fadeUp 1s 0.9s forwards; }

.hero-sub {
  font-size: 14px; color: var(--white-dim); max-width: 520px; margin: 0 auto 44px;
  opacity: 0; animation: fadeUp 1s 1.1s forwards;
}
.hero-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px;
  opacity: 0; animation: fadeUp 1s 1.3s forwards;
}

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 36px;
  opacity: 0; animation: fadeUp 1s 1.5s forwards;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-n {
  font-family: var(--font-display); font-size: 32px; color: var(--gold);
  line-height: 1; font-style: italic;
}
.stat-l { font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--white-dim); }
.stat-divider { width: 1px; height: 40px; background: rgba(123,189,232,0.2); }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2; opacity: 0; animation: fadeIn 1s 2s forwards;
}
.hero-scroll span {
  font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--white-dim);
}
.scroll-line {
  width: 1px; height: 48px; background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* -------- SERVICIOS -------- */
.servicios { background: var(--dark2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(123,189,232,0.06);
  border: 1px solid rgba(123,189,232,0.08);
}
.service-card {
  background: var(--dark);
  padding: 48px 36px;
  position: relative; overflow: hidden;
  transition: all var(--transition);
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(123,189,232,0.08) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { background: #041e38; }

.card-icon {
  width: 56px; height: 56px; margin-bottom: 28px;
  transition: transform var(--transition);
}
.service-card:hover .card-icon { transform: scale(1.1); }

.card-num {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.3em;
  color: var(--gold); opacity: 0.5; margin-bottom: 12px;
}
.service-card h3 {
  font-size: 22px; color: var(--white); margin-bottom: 14px;
  font-style: italic;
}
.service-card p { font-size: 13px; color: var(--white-dim); line-height: 1.8; margin-bottom: 24px; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); opacity: 0.6; transition: all var(--transition);
}
.card-link:hover { opacity: 1; gap: 14px; }

.service-card--cta {
  background: rgba(10,65,116,0.3);
  border-left: 2px solid var(--blue-3);
  display: flex; align-items: center; justify-content: center;
}
.cta-inner { text-align: center; pointer-events: auto; }
.cta-icon { font-size: 24px; color: var(--gold); display: block; margin-bottom: 16px; }
.service-card--cta h3 { font-size: 20px; margin-bottom: 10px; font-style: italic; }
.service-card--cta p { font-size: 13px; color: var(--white-dim); margin-bottom: 24px; }
.service-card--cta .btn { pointer-events: auto; z-index: 10; }

/* -------- NOSOTROS -------- */
.nosotros { background: var(--black); }
.nosotros-container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.nosotros-visual { position: relative; }
.visual-frame {
  border: 1px solid rgba(123,189,232,0.12);
  border-radius: var(--radius); overflow: hidden;
}
.about-svg { width: 100%; }
.nosotros-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--blue-2); color: var(--blue-7);
  border: 2px solid var(--blue-3);
  width: 100px; height: 100px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.badge-num {
  font-family: var(--font-display); font-size: 28px; font-style: italic;
  line-height: 1; font-weight: 600; color: var(--blue-6);
}
.badge-txt { font-size: 9px; letter-spacing: 0.05em; font-weight: 600; text-transform: uppercase; line-height: 1.3; }

.nosotros-text .section-tag { margin-bottom: 16px; display: block; padding-left: 0; }
.nosotros-text .section-tag::before { display: none; }
.nosotros-text .section-tag::after { right: auto; left: auto; display: none; }
.nosotros-text .section-title { text-align: left; font-size: clamp(28px, 3.5vw, 44px); }
.nosotros-text p { font-size: 14px; color: var(--white-dim); margin-bottom: 16px; line-height: 1.9; }
.nosotros-text strong { color: var(--gold); font-weight: 600; }

.nosotros-values { margin: 28px 0 36px; display: flex; flex-direction: column; gap: 12px; }
.value {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--white-dim);
}
.value i { color: var(--gold); font-size: 10px; }

/* -------- PORTAFOLIO -------- */
.portafolio { background: var(--dark); }.portfolio-filters {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px;
}
.filter-btn {
  font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 10px 24px; border-radius: 2px; border: 1px solid rgba(189,216,233,0.1);
  color: var(--white-dim); transition: all var(--transition); cursor: pointer;
  background: transparent;
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--blue-6); color: var(--blue-6);
  background: rgba(123,189,232,0.1);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 4px;
}
.portfolio-item {
  position: relative; overflow: hidden; cursor: pointer;
  border-radius: 2px;
  transition: transform var(--transition);
}
.portfolio-item:hover { z-index: 2; }
.portfolio-item--tall { grid-row: span 2; }
.portfolio-item--wide { grid-column: span 2; }

.portfolio-img { width: 100%; height: 100%; min-height: 220px; }
.portfolio-img svg { width: 100%; height: 100%; }

.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.2) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  opacity: 0; transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.overlay-tag {
  font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.portfolio-overlay h4 { font-size: 18px; font-style: italic; margin-bottom: 4px; }
.portfolio-overlay p { font-size: 11px; color: var(--white-dim); letter-spacing: 0.05em; }

.portfolio-cta { text-align: center; margin-top: 48px; }

/* -------- AGENDAR -------- */
.agendar { padding: 100px 0; }
.agendar-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.agendar-bg svg { width: 100%; height: 100%; }
.agendar-container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}

.agendar-text .section-tag { display: block; padding-left: 0; margin-bottom: 16px; }
.agendar-text .section-tag::before, .agendar-text .section-tag::after { display: none; }
.agendar-text .section-title { text-align: left; font-size: clamp(32px, 4vw, 52px); margin-bottom: 0; }
.agendar-text p { font-size: 14px; color: var(--white-dim); margin-top: 24px; margin-bottom: 36px; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; color: var(--white-dim);
}
.contact-item i { color: var(--gold); font-size: 16px; width: 20px; text-align: center; }

.form-card {
  background: var(--dark2);
  border: 1px solid rgba(123,189,232,0.1);
  border-radius: 4px; padding: 40px;
}
.form-header { margin-bottom: 32px; }
.form-tag { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white-dim); margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--dark3);
  border: 1px solid rgba(123,189,232,0.07); border-radius: 2px;
  padding: 13px 16px; font-family: var(--font-body); font-size: 13px;
  color: var(--white); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(189,216,233,0.25); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: rgba(123,189,232,0.5);
  box-shadow: 0 0 0 3px rgba(123,189,232,0.08);
}
.form-group select { color: var(--white); }
.form-group select option { background: var(--dark3); color: var(--white); }
.form-group textarea { height: 96px; resize: vertical; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.7); cursor: pointer; }

/* -------- REDES -------- */
.redes { background: var(--black); }
.redes-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 720px; margin: 0 auto;
}
.red-card {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 28px; border-radius: 4px; border: 1px solid rgba(123,189,232,0.07);
  background: var(--dark2); transition: all var(--transition);
  position: relative; overflow: hidden;
}
.red-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  transition: opacity var(--transition);
}
.red-card--instagram::before { background: linear-gradient(135deg, rgba(225,48,108,0.12), rgba(253,126,20,0.12)); }
.red-card--facebook::before { background: rgba(24,119,242,0.1); }
.red-card--tiktok::before { background: rgba(0,0,0,0.3); }
.red-card--whatsapp::before { background: rgba(37,211,102,0.1); }
.red-card:hover::before { opacity: 1; }
.red-card:hover { border-color: rgba(123,189,232,0.3); transform: translateY(-3px); }

.red-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--white-faint); font-size: 22px; flex-shrink: 0;
  position: relative; z-index: 1;
}
.red-card--instagram .red-icon { color: #e1306c; }
.red-card--facebook .red-icon { color: #1877f2; }
.red-card--tiktok .red-icon { color: #fff; }
.red-card--whatsapp .red-icon { color: #25d366; }

.red-info { flex: 1; position: relative; z-index: 1; }
.red-name { display: block; font-size: 14px; font-weight: 500; color: var(--white); margin-bottom: 3px; }
.red-handle { font-size: 12px; color: var(--white-dim); }
.red-arrow { position: relative; z-index: 1; color: var(--white-dim); font-size: 12px; transition: color var(--transition); }
.red-card:hover .red-arrow { color: var(--blue-6); }

/* -------- FOOTER -------- */
.footer { background: var(--dark); border-top: 1px solid rgba(123,189,232,0.1); }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
  padding: 72px 60px 56px; max-width: 1200px; margin: 0 auto;
}
.footer-brand p { font-size: 13px; color: var(--white-dim); margin-top: 16px; margin-bottom: 24px; line-height: 1.8; max-width: 280px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(189,216,233,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--white-dim); transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--blue-6); color: var(--blue-6); background: var(--gold-dim); }

.footer-links h4, .footer-contact h4 {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; font-family: var(--font-body); font-weight: 500;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--white-dim); transition: color var(--transition); }
.footer-links a:hover { color: var(--blue-6); }

.footer-wa {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 2px;
  border: 1px solid rgba(37,211,102,0.3); color: #25d366;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: all var(--transition); margin-bottom: 20px;
}
.footer-wa:hover { background: rgba(37,211,102,0.08); border-color: #25d366; }
.footer-wa i { font-size: 18px; }
.footer-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: 14px; color: var(--blue-6); opacity: 0.7;
}

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 24px 60px; max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(189,216,233,0.05);
  font-size: 11px; color: var(--white-dim); letter-spacing: 0.05em;
}
.footer-craft { color: var(--blue-6); opacity: 0.7; }
.footer-logo { margin-bottom: 0; }

/* -------- FLOAT WHATSAPP -------- */
.float-wa {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: white; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.35);
  transition: all var(--transition);
}
.float-wa:hover { transform: scale(1.1); box-shadow: 0 6px 32px rgba(37,211,102,0.5); }
.float-tooltip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: var(--dark2); color: var(--white); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; white-space: nowrap; padding: 8px 14px; border-radius: 2px;
  border: 1px solid rgba(189,216,233,0.08); pointer-events: none;
  opacity: 0; transition: opacity var(--transition);
}
.float-tooltip::after {
  content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--dark2);
}
.float-wa:hover .float-tooltip { opacity: 1; }

/* -------- ANIMATIONS -------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* -------- RESPONSIVE -------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .nosotros-container { grid-template-columns: 1fr; gap: 48px; }
  .nosotros-visual { max-width: 480px; }
  .agendar-container { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px 40px 48px; }
  .footer-bottom { padding: 20px 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .navbar { padding: 0 20px; }
  .logo-img--nav { height: 40px; width: 40px; }
  .logo-wordmark { font-size: 11px; letter-spacing: 0.18em; }
  .hero-logo-img { width: 300px; }
  .logo-img--footer { width: 200px; }

  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(0,29,57,0.98); backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; gap: 0;
    padding: 0; max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    border-bottom: 1px solid rgba(123,189,232,0.15);
  }
  .nav-links.open { max-height: 400px; padding: 24px 0; }
  .nav-link { padding: 14px 0; font-size: 12px; }
  .nav-link.nav-cta { margin-top: 8px; }
  .hamburger { display: flex; }

  .hero-stats { gap: 20px; }
  .stat-n { font-size: 24px; }
  .hero-btns { flex-direction: column; align-items: center; }

  .services-grid { grid-template-columns: 1fr; background: none; gap: 4px; }
  .service-card { border-bottom: 1px solid rgba(123,189,232,0.1); }
  .service-card--cta { border-left: none; border-top: 2px solid var(--blue-6); }

  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item--tall { grid-row: span 1; }
  .portfolio-item--wide { grid-column: span 2; }
  .portfolio-overlay { opacity: 1; }

  .redes-grid { grid-template-columns: 1fr; max-width: 400px; }

  .footer-top { grid-template-columns: 1fr; padding: 48px 24px 40px; gap: 32px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; text-align: center; }

  .nosotros-badge { bottom: -10px; right: 16px; width: 80px; height: 80px; }
  .badge-num { font-size: 22px; }
  .badge-txt { font-size: 8px; }

  .form-card { padding: 28px 20px; }

  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item--wide { grid-column: span 1; }
  .float-wa { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 22px; }
  .hero-title { font-size: clamp(36px, 10vw, 52px); }
  .float-tooltip { display: none; }
}
