:root {
  --color-bg: #050814;
  --color-bg-soft: #0b1020;
  --color-card: #0b1024;
  --color-accent: #f4b41a;
  --color-accent-soft: rgba(244, 180, 26, 0.15);
  --color-text: #f9fafb;
  --color-text-soft: #cbd5f5;
  --color-border: #1f2937;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-image: url("../assets/fondowebpetra.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  color: var(--color-text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
  position: relative;
  z-index: 1;
}

.section {
  padding: 3.5rem 1.25rem;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: radial-gradient(circle at top, rgba(5, 8, 20, 0.95), rgba(5, 8, 20, 0.9));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.85);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid rgba(252, 211, 77, 0.9);
  box-shadow:
    0 0 0 2px rgba(15, 23, 42, 1),
    0 0 20px rgba(244, 180, 26, 0.8);
  background: radial-gradient(circle at 30% 20%, #fef3c7 0, #f97316 40%, #4b1c5b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text span:first-child {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.nav-logo-text span:last-child {
  font-size: 0.78rem;
  color: var(--color-text-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.1rem;
  color: var(--color-text-soft);
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent), #ec4899);
  transition: width 0.2s ease;
  border-radius: 999px;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  border-radius: 9999px;
  padding: 0.6rem 1.3rem;
  font-size: 0.86rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #ec4899);
  color: #050814;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.8);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--color-text-soft);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
  border-color: var(--color-accent);
  color: var(--color-text);
}

.nav-whatsapp-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

.nav-whatsapp-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--color-text-soft);
}

.hero {
  padding-top: 3rem;
  padding-bottom: 3.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.18;
  margin-bottom: 1rem;
  text-shadow: 0 3px 10px rgba(15, 23, 42, 0.9);
}

.hero-title-highlight {
  background: linear-gradient(to right, var(--color-accent), #ec4899);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--color-text-soft);
  max-width: 34rem;
  margin-bottom: 1.3rem;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-text-soft);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.9);
}

.hero-badge-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.hero-note {
  font-size: 0.78rem;
  color: var(--color-text-soft);
  max-width: 28rem;
}

.hero-note strong {
  color: var(--color-accent);
}

.hero-visual {
  position: relative;
  min-height: 260px;
}

.hero-portrait {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top, #020617 0, #020617 70%);
  box-shadow:
    0 20px 80px rgba(15, 23, 42, 0.95),
    0 0 40px rgba(17, 24, 39, 0.9);
  padding: 0.6rem;
  isolation: isolate;
}

.hero-portrait-inner {
  border-radius: 1.3rem;
  overflow: hidden;
  position: relative;
  min-height: 270px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.3),
    transparent
  );
}

.hero-orb {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 10%, #fef08a 0, #fb923c 35%, #4c1d95 100%);
  filter: blur(4px);
  opacity: 0.7;
  mix-blend-mode: screen;
  top: -18%;
  right: -9%;
  box-shadow: 0 0 60px rgba(244, 180, 26, 0.9);
}

.hero-tag {
  position: absolute;
  bottom: 0.9rem;
  left: 0.9rem;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.78rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-tag strong {
  font-size: 0.78rem;
}

.hero-tag span {
  font-size: 0.7rem;
  color: var(--color-text-soft);
}

.hero-floating-card {
  position: absolute;
  right: 0.9rem;
  bottom: 0.2rem;
  transform: translateY(-10%);
  padding: 0.75rem 0.9rem;
  border-radius: 1rem;
  background: rgba(3, 7, 18, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.75rem;
  width: 190px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
}

.hero-floating-card strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--color-accent);
}

.hero-floating-card span {
  display: block;
  color: var(--color-text-soft);
  font-size: 0.72rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  text-shadow: 0 3px 10px rgba(3, 7, 18, 0.9);
}

.section-subtitle {
  font-size: 0.92rem;
  color: var(--color-text-soft);
  max-width: 32rem;
  margin-bottom: 1.6rem;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.card {
  background: rgba(3, 7, 18, 0.5);
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
}

.about-grid {
  display: grid;
  gap: 0.9rem;
}

.about-grid strong {
  color: var(--color-accent);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.about-main-copy {
  font-size: 0.94rem;
  color: var(--color-text-soft);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.about-tag-pill {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--color-text-soft);
}

.about-list {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--color-text-soft);
}

.about-list li {
  margin-bottom: 0.25rem;
}

.about-list li::marker {
  color: var(--color-accent);
}

.about-side-card {
  background: radial-gradient(circle at top, rgba(244, 180, 26, 0.2), rgba(3, 7, 18, 0.3));
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 1.25rem 1.3rem;
  position: relative;
  overflow: hidden;
}

.about-side-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(244, 180, 26, 0.4), transparent 55%);
  opacity: 0.5;
  pointer-events: none;
}

.about-side-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.about-side-card p {
  font-size: 0.86rem;
  color: var(--color-text-soft);
  margin-bottom: 0.6rem;
}

.about-side-card ul {
  list-style: none;
  margin-top: 0.4rem;
  font-size: 0.86rem;
  color: var(--color-text-soft);
}

.about-side-card ul li {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.25rem;
}

.about-side-card-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(244, 180, 26, 0.9);
}

.about-video-card {
  margin-top: 1.1rem;
}

.about-video-text {
  font-size: 0.86rem;
  color: var(--color-text-soft);
}

.about-video-wrapper {
  margin-top: 0.8rem;
  border-radius: 1rem;
  overflow: hidden;
  background: radial-gradient(
    circle at top,
    rgba(148, 163, 184, 0.25),
    rgba(3, 7, 18, 0.95)
  );
}

.about-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.service-card {
  background: rgba(3, 7, 18, 0.5);
  border-radius: 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 1.1rem 1.1rem 1.2rem;
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.service-icon-personal img,
.service-icon-home img,
.service-icon-water img,
.service-icon-protection img,
.service-icon-dove img,
.service-icon-reading img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}

.service-card h3 {
  font-size: 0.96rem;
  margin-bottom: 0.15rem;
}

.service-note {
  font-size: 0.78rem;
  color: var(--color-text-soft);
  margin-top: 0.18rem;
}

.service-cta {
  margin: 1rem auto 0;
  width: 190px;
  aspect-ratio: 198 / 83;
  height: auto;
  background-image: url("../assets/boton-whatapp.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2.2rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
}

.service-cta:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.05);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.4rem;
}

.pill {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--color-text-soft);
}

.testimonial-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.testimonial-card {
  background: rgba(3, 7, 18, 0.5);
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 1.3rem 1.4rem;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: -2rem;
  left: -0.1rem;
  font-size: 8rem;
  color: rgba(148, 163, 184, 0.12);
  pointer-events: none;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin-bottom: 0.7rem;
}

.testimonial-author {
  font-size: 0.85rem;
}

.testimonial-author strong {
  display: block;
  color: var(--color-text);
}

.testimonial-author span {
  color: rgba(148, 163, 184, 0.9);
}

.testimonial-badge {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--color-accent);
}

.testimonial-wrapper > aside {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-wrapper > aside .testimonial-whatsapp-card {
  margin: 0 auto;
}

.testimonial-wrapper > aside .testimonial-whatsapp-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  max-width: 215px;
  width: 100%;
}

.testimonial-wrapper > aside .testimonial-whatsapp-img {
  display: block;
  width: 100%;
  height: auto;
}

.testimonial-whatsapp-card {
  margin-bottom: 1rem;
}

.testimonial-whatsapp-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  max-width: 285px;
  width: 100%;
  margin: 0 auto;
}

.testimonial-whatsapp-img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .testimonial-wrapper > aside .testimonial-whatsapp-wrapper {
    max-width: 100%;
  }
}

.testimonial-video-card {
  margin-top: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  border-radius: 1.4rem;
}

.testimonial-video-wrapper {
  margin-top: 0.8rem;
  border-radius: 1rem;
  overflow: hidden;
  background: radial-gradient(
    circle at top,
    rgba(148, 163, 184, 0.25),
    rgba(3, 7, 18, 0.95)
  );
}

.testimonial-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.8rem;
}

details {
  background: rgba(3, 7, 18, 0.5);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.9rem 1rem;
  font-size: 0.86rem;
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

summary::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  font-size: 0.9rem;
  opacity: 0.7;
}

details[open] .faq-arrow {
  transform: rotate(90deg);
}

details p {
  margin-top: 0.5rem;
  color: var(--color-text-soft);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 1.8rem;
  align-items: flex-start;
  padding: 1.5rem 1.6rem;
  background: rgba(3, 7, 18, 0.5);
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 1);
}

.contact-info-item {
  font-size: 0.86rem;
  color: var(--color-text-soft);
  margin-bottom: 0.5rem;
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(148, 163, 184, 0.95);
}

.contact-value {
  font-size: 0.9rem;
  color: var(--color-text);
}

.contact-social-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2rem;
  margin-top: 0.6rem;
  width: auto;
  height: auto;
}

.contact-social-row a {
  display: inline-block;
}

.contact-social-row img {
  width: 44px;
  height: 44px;
  display: block;
}

.contact-social-pill {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

.contact-footnote {
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.95);
  margin-top: 0.8rem;
}

form {
  display: grid;
  gap: 0.75rem;
  font-size: 0.84rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.field label {
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.95);
}

.field input,
.field textarea {
  background: rgba(15, 23, 42, 0.98);
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  padding: 0.6rem 0.7rem;
  color: var(--color-text);
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(244, 180, 26, 0.6);
  background: rgba(15, 23, 42, 1);
}

.field small {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.9);
}

footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.4rem 1.25rem 1.7rem;
  margin-top: 2.5rem;
  background: radial-gradient(circle at bottom, rgba(3, 7, 18, 0.98), rgba(3, 7, 18, 0.9));
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.9);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 0.15rem;
}

.footer-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.footer-whatsapp span:first-child {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.85);
}

@media (max-width: 960px) {
  .hero-grid,
  .split-grid,
  .testimonial-wrapper,
  .faq-grid,
  .contact-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .section {
    padding-inline: 1rem;
  }
}

@media (max-width: 820px) {
  .nav {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 3rem 0.9rem;
  }

  .hero {
    padding-top: 2.3rem;
  }

  .contact-card {
    padding: 1.15rem 1.1rem;
  }
}

.btn-whatsapp-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp-floating img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-whatsapp-floating:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.nav-whatsapp-btn span {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.nav-whatsapp-btn:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.burbujas-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.burbuja {
  width: 60px;
  height: 60px;
  position: absolute;
  border-radius: 50%;
  box-shadow: inset 0 0 7.5px rgba(255, 255, 255, 0.25);
}

.burbuja span {
  position: absolute;
  border-radius: 50%;
}

.burbuja span:nth-child(1) {
  inset: 3px;
  border-left: 4.5px solid #0fb2ff;
  filter: blur(3px);
  opacity: 0.15;
}

.burbuja span:nth-child(2) {
  inset: 3px;
  border-right: 4.5px solid #ff4284;
  filter: blur(1px);
  opacity: 0.1;
}

.burbuja span:nth-child(3) {
  inset: 6px;
  border-top: 4.5px solid #ffeb2b;
  filter: blur(4.5px);
  opacity: 0.1;
}

.burbuja span:nth-child(4) {
  inset: 6px;
  border-bottom: 4.5px solid #ff4482;
  opacity: 0.1;
  filter: blur(3.6px);
}

.burbuja span:nth-child(5) {
  inset: 6px;
  border-bottom: 4.5px solid #fff;
  filter: blur(2.1px);
  transform: rotate(330deg);
  opacity: 0.8;
}

.burbuja span:nth-child(6) {
  width: 16px;
  height: 16px;
  top: 18%;
  left: 25%;
  background: radial-gradient(circle, #fff 0, rgba(255, 255, 255, 0) 70%);
  opacity: 0.9;
}

.b1 {
  width: 80px;
  height: 80px;
  left: 6%;
  top: 65%;
  animation: bubbleFloatA 28s ease-in-out infinite;
}

.b2 {
  width: 72px;
  height: 72px;
  left: 70%;
  top: 12%;
  animation: bubbleFloatB 32s ease-in-out infinite;
}

.b3 {
  width: 60px;
  height: 60px;
  left: 18%;
  top: 10%;
  animation: bubbleFloatC 24s ease-in-out infinite;
}

.b4 {
  width: 52px;
  height: 52px;
  left: 82%;
  top: 55%;
  animation: bubbleFloatB 22s ease-in-out infinite;
}

.b5 {
  width: 76px;
  height: 76px;
  left: 48%;
  top: 72%;
  animation: bubbleFloatA 30s ease-in-out infinite;
}

.b6 {
  width: 56px;
  height: 56px;
  left: 35%;
  top: 35%;
  animation: bubbleFloatC 26s ease-in-out infinite;
}

.b7 {
  width: 42px;
  height: 42px;
  left: 14%;
  top: 48%;
  animation: bubbleFloatB 27s ease-in-out infinite;
}

.b8 {
  width: 68px;
  height: 68px;
  left: 60%;
  top: 30%;
  animation: bubbleFloatA 34s ease-in-out infinite;
}

.b9 {
  width: 48px;
  height: 48px;
  left: 78%;
  top: 80%;
  animation: bubbleFloatC 25s ease-in-out infinite;
}

@keyframes bubbleFloatA {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.25; }
  25%  { transform: translate3d(18px, -35px, 0) scale(1.05); opacity: 0.7; }
  50%  { transform: translate3d(-20px, -70px, 0) scale(1.1); opacity: 0.9; }
  75%  { transform: translate3d(10px, -40px, 0) scale(1.04); opacity: 0.6; }
  100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.25; }
}

@keyframes bubbleFloatB {
  0%   { transform: translate3d(0, 0, 0) scale(0.95); opacity: 0.2; }
  25%  { transform: translate3d(-25px, -25px, 0) scale(1.02); opacity: 0.6; }
  50%  { transform: translate3d(15px, -60px, 0) scale(1.1); opacity: 0.85; }
  75%  { transform: translate3d(-10px, -30px, 0) scale(1.0); opacity: 0.5; }
  100% { transform: translate3d(0, 0, 0) scale(0.95); opacity: 0.2; }
}

@keyframes bubbleFloatC {
  0%   { transform: translate3d(0, 0, 0) scale(0.9); opacity: 0.3; }
  20%  { transform: translate3d(10px, -20px, 0) scale(1.0); opacity: 0.55; }
  50%  { transform: translate3d(-20px, -50px, 0) scale(1.08); opacity: 0.85; }
  80%  { transform: translate3d(5px, -25px, 0) scale(0.98); opacity: 0.55; }
  100% { transform: translate3d(0, 0, 0) scale(0.9); opacity: 0.3; }
}

@media (max-width: 768px) {
  .hero-portrait {
    position: relative;
  }

  .hero-floating-card {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    bottom: auto;
    left: auto;
    transform: none;
    max-width: 70%;
    z-index: 2;
  }
}


