/* Ibizavisual 2026 — capas sobre el tema Porto sin romper URLs */
:root {
  --iv-ink: #0f1c2e;
  --iv-sea: #1a6b8a;
  --iv-sea-deep: #0e4a63;
  --iv-sand: #f3efe6;
  --iv-coral: #e07a3d;
  --iv-white: #fff;
  --iv-muted: #5a6573;
  --iv-radius: 4px;
  --iv-font: "Source Sans 3", "Segoe UI", sans-serif;
  --iv-display: "Fraunces", Georgia, serif;
}

html { scroll-behavior: smooth; }
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  font-family: var(--iv-font);
  color: var(--iv-ink);
  background: var(--iv-sand);
}
.body {
  background: transparent;
  overflow-x: hidden;
  max-width: 100%;
  padding-top: var(--iv-header-h, 88px);
}
img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Header flotante fijo — logo, idioma y menú siempre arriba */
header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(15, 28, 46, 0.08);
  box-shadow: 0 10px 28px rgba(15, 28, 46, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10000 !important;
  width: 100% !important;
  float: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
header .container {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.7rem 15px !important;
  width: 100% !important;
  max-width: 1170px;
  margin: 0 auto !important;
  float: none !important;
  box-sizing: border-box;
}
header .logo,
header .logo a,
header nav,
header .nav,
header .nav > li,
header .social-icons,
header .iv-menu-toggle {
  float: none !important;
  position: static !important;
}
header .logo {
  order: 1;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1;
  max-width: 52%;
  flex: 0 1 auto;
}
header .logo img {
  max-height: 48px;
  width: auto;
  max-width: 100%;
  display: block;
}
header > .container > nav:first-of-type {
  order: 2;
  margin: 0 !important;
  width: auto;
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
header .iv-menu-toggle { order: 3; flex: 0 0 auto; }
header > .container > nav:last-of-type {
  order: 4;
  width: 100%;
  margin: 0 !important;
}
header .social-icons { display: none !important; }
header .nav-top .flags a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 0 !important;
  border: none;
  background: transparent;
}
.nav-top {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.75rem;
  float: none !important;
  width: auto !important;
}
.nav-top > li {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
}
.nav-top > li > span,
.nav-top > li > a {
  font-size: 0.85rem !important;
  color: var(--iv-muted) !important;
  white-space: nowrap;
}
.nav-top .phone span,
.nav-top .envelope a { font-weight: 600; }
.nav-top .flags img {
  width: 20px;
  height: auto;
  display: block;
  border-radius: 2px;
}
.nav-main {
  clear: both;
  width: 100%;
  margin: 0.35rem 0 0 !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  float: none !important;
}
.nav-main > li {
  float: none !important;
  margin: 0 !important;
  display: block;
}
.nav-main > li > a {
  border-radius: 999px !important;
  padding: 0.45rem 0.95rem !important;
  font-weight: 600 !important;
  color: var(--iv-ink) !important;
  background: transparent !important;
  display: block !important;
  white-space: nowrap;
}
.nav-main > li > a:hover,
.nav-main > li.active > a {
  background: var(--iv-sea) !important;
  color: var(--iv-white) !important;
}
.iv-menu-toggle {
  display: none;
  border: 1px solid rgba(15, 28, 46, 0.15);
  background: #fff;
  border-radius: var(--iv-radius);
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  color: var(--iv-ink);
  cursor: pointer;
  margin: 0 !important;
}

/* CSS Hero (reemplaza Revolution Slider) */
.iv-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid;
  place-items: center;
  color: var(--iv-white);
  overflow: hidden;
  background: var(--iv-ink) center / cover no-repeat;
}
.iv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(14, 74, 99, 0.88) 0%, rgba(15, 28, 46, 0.55) 55%, rgba(224, 122, 61, 0.35) 100%),
    url("../img/slides/slide-bg.jpg") center / cover no-repeat;
  transform: scale(1.02);
  animation: iv-ken 18s ease-in-out infinite alternate;
}
@keyframes iv-ken {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
.iv-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  padding: 4.5rem 0 3.5rem;
  text-align: left;
}
.iv-hero__brand {
  font-family: var(--iv-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  animation: iv-rise 0.8s ease both;
}
.iv-hero__lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.45;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  animation: iv-rise 0.9s 0.1s ease both;
}
.iv-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: iv-rise 1s 0.18s ease both;
}
@keyframes iv-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.iv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.iv-btn:hover { transform: translateY(-2px); }
.iv-btn--primary {
  background: var(--iv-coral);
  color: #fff !important;
}
.iv-btn--primary:hover { background: #c9652c; color: #fff !important; }
.iv-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff !important;
}
.iv-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.iv-btn--wa {
  background: #25d366;
  color: #fff !important;
}

/* Services strip */
.iv-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: min(1100px, 92vw);
  margin: -2.5rem auto 2rem;
  position: relative;
  z-index: 2;
}
.iv-services a {
  background: #fff;
  padding: 1.35rem 1.25rem;
  border-radius: 12px;
  text-decoration: none !important;
  color: var(--iv-ink) !important;
  box-shadow: 0 16px 40px rgba(15, 28, 46, 0.08);
  border: 1px solid rgba(15, 28, 46, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.iv-services a:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15, 28, 46, 0.12);
}
.iv-services h2 {
  font-family: var(--iv-display);
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
  color: var(--iv-sea-deep);
}
.iv-services p {
  margin: 0;
  color: var(--iv-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Examples + AI note */
.iv-examples,
.iv-ai-note {
  width: min(1100px, 92vw);
  margin: 1.5rem auto 2rem;
}
.iv-examples__inner,
.iv-ai-note__inner {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 12px 36px rgba(15, 28, 46, 0.05);
  border: 1px solid rgba(15, 28, 46, 0.06);
}
.iv-examples h2,
.iv-ai-note h2 {
  font-family: var(--iv-display);
  color: var(--iv-sea-deep);
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}
.iv-examples p,
.iv-ai-note p {
  color: var(--iv-muted);
  line-height: 1.55;
  margin: 0 0 0.85rem;
}
.iv-examples__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}
.iv-examples__card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1rem;
  border-radius: 12px;
  text-decoration: none !important;
  color: var(--iv-ink) !important;
  background: linear-gradient(160deg, #f7fafc 0%, #eef5f8 100%);
  border: 1px solid rgba(26, 107, 138, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.iv-examples__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 28, 46, 0.1);
}
.iv-examples__name {
  font-family: var(--iv-display);
  font-weight: 700;
  color: var(--iv-sea-deep);
}
.iv-examples__url {
  font-size: 0.9rem;
  color: var(--iv-sea);
  font-weight: 600;
}
.iv-site-card .iv-site-card__preview {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  min-height: 140px;
  background: #e8eef5;
  padding: 0;
}
@media (max-width: 1100px) {
  .iv-examples__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .iv-examples__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .iv-examples__grid { grid-template-columns: 1fr; }
}

/* Creators accordion directory */
.iv-creators {
  width: min(860px, 100%);
  margin: 0.5rem 0 2rem;
}
.iv-creators__intro {
  margin-bottom: 1.25rem;
  color: var(--iv-muted);
  line-height: 1.55;
}
.iv-acc {
  border: 1px solid rgba(15, 28, 46, 0.1);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 0.65rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 28, 46, 0.04);
}
.iv-acc > summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-family: var(--iv-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--iv-sea-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.iv-acc > summary::-webkit-details-marker { display: none; }
.iv-acc > summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--iv-coral);
  line-height: 1;
}
.iv-acc[open] > summary::after { content: "–"; }
.iv-acc > summary:hover { background: rgba(26, 107, 138, 0.04); }
.iv-acc__panel {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid rgba(15, 28, 46, 0.06);
}
.iv-profile {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(15, 28, 46, 0.08);
}
.iv-profile:last-child { border-bottom: none; padding-bottom: 0.25rem; }
.iv-profile h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--iv-ink);
  font-family: var(--iv-display);
}
.iv-profile p {
  margin: 0.2rem 0;
  color: var(--iv-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.iv-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.iv-profile__actions a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
}
.iv-profile__actions .iv-wa {
  background: #25d366;
  color: #fff !important;
}
.iv-profile__actions .iv-mail {
  background: rgba(26, 107, 138, 0.1);
  color: var(--iv-sea-deep) !important;
}
.iv-profile__actions .iv-web {
  background: var(--iv-sea);
  color: #fff !important;
}
.iv-creators__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--iv-muted);
}

/* Photo/video directory */
.iv-dir {
  width: min(1100px, 92vw);
  margin: 1.5rem auto 2rem;
}
.iv-dir h2 {
  font-family: var(--iv-display);
  color: var(--iv-sea-deep);
  margin: 1.75rem 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}
.iv-dir__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.iv-dir__card {
  background: #fff;
  border-radius: 12px;
  padding: 1.15rem 1.1rem;
  border: 1px solid rgba(15, 28, 46, 0.08);
  box-shadow: 0 10px 28px rgba(15, 28, 46, 0.05);
}
.iv-dir__card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--iv-display);
  font-size: 1.05rem;
  color: var(--iv-ink);
}
.iv-dir__card p {
  margin: 0.25rem 0;
  color: var(--iv-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.iv-dir__card a { color: var(--iv-sea); font-weight: 600; }
@media (max-width: 900px) {
  .iv-dir__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .iv-dir__grid { grid-template-columns: 1fr; }
}

/* Blog */
.iv-blog-list { display: grid; gap: 1.25rem; margin: 1.5rem 0 2rem; }
.iv-blog-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(15, 28, 46, 0.08);
  box-shadow: 0 12px 32px rgba(15, 28, 46, 0.05);
}
.iv-blog-card__date { color: var(--iv-muted); font-size: 0.9rem; margin: 0 0 0.35rem; }
.iv-blog-card h2 { font-family: var(--iv-display); font-size: 1.35rem; margin: 0 0 0.5rem; }
.iv-blog-card h2 a { color: var(--iv-sea-deep); text-decoration: none; }
.iv-article {
  width: min(760px, 92vw);
  margin: 2rem auto 3rem;
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(15, 28, 46, 0.05);
  line-height: 1.7;
}
.iv-article h1 {
  font-family: var(--iv-display);
  color: var(--iv-sea-deep);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.15;
}
.iv-article h2 {
  font-family: var(--iv-display);
  color: var(--iv-sea-deep);
  margin-top: 1.75rem;
}
.iv-article__meta { color: var(--iv-muted); font-size: 0.92rem; }
.iv-article__nav { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(15,28,46,0.08); }
.iv-article a { color: var(--iv-sea); font-weight: 600; }

/* SEO text block */
.text-index {
  width: min(860px, 92vw) !important;
  margin: 1.5rem auto 3rem !important;
  padding: 2rem 1.5rem !important;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(15, 28, 46, 0.05);
  line-height: 1.7;
  font-size: 1.02rem;
}
.text-index h2,
.text-index h3 {
  font-family: var(--iv-display);
  color: var(--iv-sea-deep);
  margin-top: 1.75rem;
  line-height: 1.25;
}
.text-index a { color: var(--iv-sea); font-weight: 600; }
.iv-inline-fig {
  margin: 1.6rem 0 1.85rem;
  padding: 0;
  border: 0;
}
.iv-inline-fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  max-height: 420px;
  box-shadow: 0 10px 28px rgba(15, 28, 46, 0.08);
}
.iv-inline-fig figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: var(--iv-muted);
  line-height: 1.45;
}
.iv-examples__card {
  padding: 0;
  overflow: hidden;
}
.iv-examples__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: #e8eef5;
}
.iv-examples__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.95rem 1rem 1.05rem;
}
.main .container h1 {
  font-family: var(--iv-display);
  color: var(--iv-sea-deep);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
}
.btn-primary,
a.btn-primary {
  background: var(--iv-sea) !important;
  background-image: none !important;
  border: none !important;
  border-radius: 999px !important;
  text-shadow: none !important;
  box-shadow: none !important;
  padding: 0.75rem 1.4rem !important;
  font-weight: 700 !important;
}
.btn-primary:hover,
a.btn-primary:hover { background: var(--iv-sea-deep) !important; }

/* Startup page */
.iv-startup {
  width: min(860px, 92vw);
  margin: 2rem auto 3.5rem;
  padding: 2.4rem 1.6rem 2.6rem;
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.92) 0%, rgba(238,245,248,0.95) 55%, rgba(255,248,242,0.9) 100%),
    radial-gradient(circle at 85% 15%, rgba(224,122,61,0.18), transparent 45%);
  box-shadow: 0 14px 40px rgba(15, 28, 46, 0.06);
}
.iv-startup__inner { max-width: 40rem; }
.iv-startup__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--iv-sea);
}
.iv-startup h1 {
  margin: 0 0 1rem;
  font-family: var(--iv-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  color: var(--iv-sea-deep);
}
.iv-startup__lead {
  margin: 0 0 1.6rem;
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--iv-ink);
}
.iv-startup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.iv-btn--ghost-dark {
  border-color: rgba(14, 74, 99, 0.35) !important;
  color: var(--iv-sea-deep) !important;
}
.iv-btn--ghost-dark:hover {
  background: rgba(14, 74, 99, 0.08) !important;
}

/* Contact page */
.iv-contact {
  width: min(720px, 92vw);
  margin: 2rem auto 3rem;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(15, 28, 46, 0.05);
}
.iv-contact label {
  display: block;
  font-weight: 700;
  margin: 0.85rem 0 0.35rem;
}
.iv-contact input,
.iv-contact textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(15, 28, 46, 0.15);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font: inherit;
}
.iv-contact textarea { min-height: 140px; resize: vertical; }
.iv-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.iv-contact__note { color: var(--iv-muted); font-size: 0.95rem; margin-top: 1rem; }

/* 404 */
.iv-404 {
  text-align: center;
  padding: 4rem 1rem 5rem;
}
.iv-404 h1 {
  font-family: var(--iv-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--iv-sea-deep);
}
.iv-404 ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.iv-404 ul a {
  display: inline-block;
  padding: 0.55rem 1rem;
  background: #fff;
  border-radius: 999px;
  color: var(--iv-sea-deep) !important;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid rgba(15, 28, 46, 0.1);
}

/* Footer */
footer {
  background: var(--iv-ink) !important;
  color: rgba(255, 255, 255, 0.86) !important;
  margin-top: 2rem;
}
footer h4 { color: #fff !important; font-family: var(--iv-display); }
footer a { color: #9fd4e8 !important; }
footer .footer-copyright {
  background: rgba(0, 0, 0, 0.25) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
footer .footer-copyright p { color: rgba(255, 255, 255, 0.7) !important; }
.iv-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.iv-footer-links a { font-weight: 600; text-decoration: none !important; }
.iv-footer-links a:hover { color: #fff !important; }

/* Hide broken selectnav if present */
.selectnav { display: none !important; }

/* Gana a theme-responsive.css (carga después si no; y usa el breakpoint 979 del tema) */
@media (max-width: 979px) {
  .container,
  .body .container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  [class*="span"] {
    float: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  header {
    overflow: visible !important;
    min-height: 0 !important;
    position: fixed !important;
  }
  header div.container,
  header .container {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content max-content !important;
    grid-template-areas:
      "logo flags toggle"
      "menu menu menu" !important;
    align-items: center !important;
    column-gap: 0.4rem !important;
    row-gap: 0.45rem !important;
    padding: 0.55rem 12px !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }
  header .logo,
  header h1.logo {
    grid-area: logo !important;
    float: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    min-width: 0 !important;
  }
  header .logo img,
  header h1.logo img {
    max-height: 36px !important;
    width: auto !important;
    max-width: min(140px, 42vw) !important;
  }
  header nav {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    position: static !important;
  }
  header > .container > nav:first-of-type {
    grid-area: flags !important;
    width: max-content !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
  }
  header .iv-menu-toggle {
    grid-area: toggle !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    min-width: 52px;
    padding: 0.35rem 0.55rem !important;
    flex-shrink: 0 !important;
    z-index: 10002 !important;
    white-space: nowrap !important;
  }
  header > .container > nav:last-of-type {
    grid-area: menu !important;
    width: 100% !important;
  }
  header nav ul.nav-top,
  header nav ul.nav-top.nav-pills {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    float: none !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.35rem !important;
  }
  header nav ul.nav-top li {
    float: none !important;
    display: none !important;
    margin: 0 !important;
  }
  header nav ul.nav-top li.flags,
  header nav ul.nav-top li.flags.iv-langs {
    display: inline-flex !important;
    gap: 0.12rem !important;
    padding: 0.12rem !important;
    border-radius: 6px;
    border: 1px solid rgba(15, 28, 46, 0.1);
    background: #fff;
  }
  header nav ul.nav-top li.envelope,
  header nav ul.nav-top li.phone {
    display: none !important;
  }
  header nav ul.nav-top .iv-langs a,
  header nav ul.nav-top .flags a {
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0.1rem !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  header nav ul.nav-top .iv-langs a img,
  header nav ul.nav-top .flags img {
    width: 16px !important;
    height: 11px !important;
    object-fit: cover;
  }
  header nav ul.nav-top .iv-langs a[aria-current="true"] img,
  header nav ul.nav-top .flags a[aria-current="true"] img {
    width: 26px !important;
    height: 17px !important;
    outline: 1px solid var(--iv-sea);
    outline-offset: 1px;
  }
  header nav ul.nav-main,
  header nav ul.nav-main.nav-pills {
    display: none !important;
    float: none !important;
    position: static !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0.25rem 0 0 !important;
    gap: 0.2rem !important;
  }
  header nav ul.nav-main.is-open {
    display: flex !important;
  }
  header nav ul.nav-main > li {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
  }
  header nav ul.nav-main > li > a {
    white-space: normal !important;
    padding: 0.7rem 0.9rem !important;
  }
  header nav select.selectnav { display: none !important; }

  .iv-hero {
    min-height: auto !important;
    padding: 0 !important;
  }
  .iv-hero__inner {
    text-align: left !important;
    padding: 2.6rem 0 2rem !important;
    width: min(1100px, 92vw) !important;
  }
  .iv-hero__lead {
    margin-bottom: 1.1rem !important;
  }
  .iv-hero__brand {
    font-size: clamp(2rem, 10vw, 2.6rem) !important;
    word-break: break-word;
  }
  .iv-hero__lead {
    font-size: 1.05rem !important;
    max-width: 100% !important;
  }
  .iv-hero__actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
  }
  .iv-hero__actions .iv-btn {
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .iv-services {
    grid-template-columns: 1fr !important;
    margin: 1rem auto 1.25rem !important;
    width: min(1100px, 92vw) !important;
  }
  .iv-examples,
  .iv-ai-note,
  .iv-dir,
  .text-index,
  .iv-article,
  .iv-contact,
  .iv-creators {
    width: min(1100px, 92vw) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }
  .text-index {
    padding: 1.25rem 1rem !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .iv-examples__grid,
  .iv-dir__grid {
    grid-template-columns: 1fr !important;
  }
  .iv-whatsapp-float {
    right: 0.85rem !important;
    bottom: 0.85rem !important;
    width: 54px !important;
    height: 54px !important;
  }
  footer .span1,
  footer .span2,
  footer .span7,
  footer .span10 {
    width: 100% !important;
    float: none !important;
  }
}

/* Floating WhatsApp */
.iv-whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: iv-wa-in 0.55s ease both;
}
.iv-whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
  color: #fff;
}
.iv-whatsapp-float svg { display: block; }
@keyframes iv-wa-in {
  from { opacity: 0; transform: translateY(16px) scale(0.85); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .iv-hero::before,
  .iv-hero__brand,
  .iv-hero__lead,
  .iv-hero__actions,
  .iv-whatsapp-float { animation: none; }
}

/* Multi-language flags — compact so Menú stays visible */
.nav-top > li.flags.iv-langs,
.nav-top > li.iv-langs {
  display: inline-flex !important;
  align-items: center;
  gap: 0.18rem;
  flex-wrap: nowrap !important;
}
.iv-langs a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 0.12rem !important;
  border-radius: 4px;
  border: none;
  background: transparent;
}
.iv-langs a img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 28, 46, 0.14);
  transition: width 0.15s ease, height 0.15s ease;
}
.iv-langs a[aria-current="true"] img {
  width: 28px;
  height: 18px;
  box-shadow: 0 0 0 1.5px var(--iv-sea);
}