/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background-color: #F5F5F5; color: #2B2B2B; font-family: 'Poppins', sans-serif; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { display: block; max-width: 100%; }

/* ===========================
   VARIABLES — PALETA

     --amarillo-principal: #FEBE00;
      --amarillo-claro:     #F0EB93;

=========================== */
:root {
--amarillo-principal: #DCC9A9;
--amarillo-claro:     #EFE3C8;
--amarillo-suave:     #B7C99A;
--gris-claro:         #F6F4EF;
--lila:               #C8B6E2;
--violeta-oscuro:     #B7C99A;
--dark:               #2F2B2B;
--milk-white:   var(--gris-claro);
--crystal-blue: var(--violeta-oscuro);
--blue-dusk:    var(--lila);
--vanilla:      var(--amarillo-principal);
--container:    1280px;
}

/* ===========================
   UTILITIES
=========================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--violeta-oscuro);
  text-align: center;
}
.section-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: var(--dark);
  opacity: 0.7;
  text-align: center;
  margin-top: 0.75rem;
}

/* ===========================
   NAVBAR
=========================== */
.logo-img {
    width: 50px;   /* tamaño del logo */
    height: auto;
    display: block;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: #fff;
  box-shadow: 0 1px 8px rgba(76,40,130,0.1);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.navbar-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 600;

  font-size: 2rem !important;

  color: var(--violeta-oscuro);

  transition: opacity 0.2s;

  line-height: 1;
}
.navbar-logo:hover { opacity: 0.7; }

.logo-img {
  height: 50px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.navbar-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--dark);
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
}
.navbar-links a:hover,
.navbar-links a.active {
  opacity: 1;
  color: var(--violeta-oscuro);
}

@media (max-width: 767px) {
  .navbar-links { display: none; }
}

/* ===========================
   HERO
   — fondo blanco con overlay amarillo difuminado
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #fff;        /* ← era var(--gris-claro) */
  padding-top: 80px;
}

/* overlay amarillo difuminado (igual al React) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--amarillo-principal), var(--amarillo-claro), #fff);
  opacity: 0.30;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* blob superior derecho — lila (decorativo secundario) */
.hero-blob-tr {
  position: absolute;
  top: 0; right: 0;
  width: 800px; height: 800px;
  background: var(--lila);
  opacity: 0.10;                 /* ← reducido para no tapar el amarillo */
  border-radius: 50%;
  filter: blur(80px);
  transform: translate(33%, -25%);
  pointer-events: none;
}
/* blob inferior izquierdo — violeta */
.hero-blob-bl {
  position: absolute;
  bottom: 0; left: 0;
  width: 600px; height: 600px;
  background: var(--violeta-oscuro);
  opacity: 0.08;                 /* ← reducido */
  border-radius: 50%;
  filter: blur(80px);
  transform: translate(-33%, 25%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hero-text { display: flex; flex-direction: column; gap: 2rem; }

.hero-line { width: 64px; height: 2px; background: var(--amarillo-principal); }

.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(6rem, 8vw, 6rem);
  color: var(--violeta-oscuro);
  line-height: 1.1;
}
.hero-role {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  color: var(--dark);
  letter-spacing: 0.05em;
}
.hero-tagline {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: clamp(1.1rem, 2.5vw, 1.75rem);
  color: var(--dark);
  line-height: 1.5;
}
.hero-desc {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--dark);
  opacity: 0.7;
  line-height: 1.7;
  max-width: 480px;
}

.hero-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-top: 1rem;
}

.social-btn {
  width: 52px;
  height: 52px;

  border-radius: 14px; /* cuadrado con bordes redondeados */

  background: #fff;
  border: 1px solid var(--lila);

  box-shadow: 0 2px 8px rgba(76,40,130,0.15);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.25s ease;
}

.social-btn:hover {
  background: var(--lila);
  transform: translateY(-3px);
}

.social-btn.email {
  border-color: var(--amarillo-principal);
}

.social-btn.email:hover {
  background: var(--amarillo-principal);
}

.social-btn svg {
  width: 20px;
  height: 20px;

  fill: none;
  stroke: var(--violeta-oscuro);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: stroke 0.25s ease;
}

.social-btn:hover svg {
  stroke: white;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--violeta-oscuro);
  opacity: 0.6;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding-top: 2rem;
  transition: opacity 0.2s;
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll svg { width: 16px; height: 16px; animation: bounce 1s infinite; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

.hero-image-wrap { position: relative; }
.hero-image-frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(76,40,130,0.2);
}
.hero-image-frame img { width: 100%; height: 600px; object-fit: cover; }
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(76,40,130,0.10), transparent); /* ← era 0.15 */
  pointer-events: none;
}

.hero-image-frame {
  overflow: hidden;
}

.hero-image-frame img {
  transition: transform 0.3s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.05);
}

/* ===========================
   ABOUT
=========================== */
.about {
  padding: 6rem 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.about .container { position: relative; z-index: 10; }
.about-inner { max-width: 896px; margin: 0 auto; }

.about-text {
  margin-top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--dark);
  opacity: 0.8;
  line-height: 1.8;
}

.about-text {
  text-align: justify;
  text-align-last: center;
  max-width: 700px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 767px) {
  .about-cards { grid-template-columns: 1fr; }
}
.about-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 2px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.about-card-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(76,40,130,0.1);
  font-size: 1.5rem;
}

/* Cada tarjeta con su color propio (igual al React) */
.about-card-1 {
  background: linear-gradient(
    135deg,
    var(--gris-claro),
    rgba(200, 182, 226, 0.18)
  );

  border-color: rgba(200, 182, 226, 0.25);
}

.about-card-1:hover {
  border-color: var(--lila);

  box-shadow: 0 8px 24px rgba(200, 182, 226, 0.25);
}

.about-card-1 .about-card-icon {
  background: var(--lila);
}

/* ========================= */

.about-card-2 {
  background: linear-gradient(
    135deg,
    var(--gris-claro),
    rgba(183, 201, 154, 0.18)
  );

  border-color: rgba(183, 201, 154, 0.25);
}

.about-card-2:hover {
  border-color: var(--amarillo-suave);

  box-shadow: 0 8px 24px rgba(183, 201, 154, 0.25);
}

.about-card-2 .about-card-icon {
  background: var(--amarillo-suave);
}

/* ========================= */

.about-card p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--dark);
  opacity: 0.7;
}

/* ===========================
   SKILLS
   — gradiente gris-claro → blanco (igual al React)
=========================== */
.skills {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--gris-claro), #fff); /* ← era solo var(--gris-claro) */
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1152px;
  margin: 4rem auto;
}
@media (max-width: 1023px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .skills-grid { grid-template-columns: 1fr; } }

.skill-card {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.skill-card:hover {
  border-color: var(--lila);
  box-shadow: 0 20px 50px rgba(76,40,130,0.1);
}

.skill-circle-wrap {
  position: relative;
  width: 128px; height: 128px;
  margin-bottom: 1.5rem;
}
.skill-circle-wrap svg {
  width: 128px; height: 128px;
  transform: rotate(-90deg);
}
.skill-circle-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.skill-circle-emoji { font-size: 1.75rem; margin-bottom: 0.2rem; }
.skill-circle-pct   { font-size: 0.875rem; font-weight: 600; font-family: monospace; }

.skill-logo-img {
  width: 38px; height: 38px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  margin-bottom: 4px;
}

.skill-name { font-weight: 600; font-size: 1.1rem; color: var(--violeta-oscuro); margin-bottom: 0.75rem; }
.skill-desc { font-size: 0.875rem; color: var(--dark); opacity: 0.7; font-weight: 300; line-height: 1.6; }

.skills-highlight {
  max-width: 768px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--violeta-oscuro), var(--lila));
  color: #fff;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: 0 20px 50px rgba(76,40,130,0.3);
}
.skills-highlight-icon {
  width: 80px; height: 80px;
  border-radius: 1rem;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 2rem;
}
.skills-highlight h4 { font-weight: 600; font-size: 1.25rem; margin-bottom: 0.75rem; }
.skills-highlight p  { font-weight: 300; line-height: 1.7; opacity: 0.9; }

/* ===========================
   EXPERIENCE
=========================== */
.experience {
  padding: 6rem 0;
  background: var(--gris-claro);
}

.exp-block { margin-top: 4rem; }

.exp-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--violeta-oscuro);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ícono del título Formación — amarillo con texto violeta */
.exp-title-icon {
  width: 48px; height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.exp-title-icon.formacion    { background: var(--amarillo-principal); color: var(--violeta-oscuro); }
.exp-title-icon.experiencia  { background: var(--violeta-oscuro);     color: var(--amarillo-principal); }

.exp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 767px) {
  .exp-grid { grid-template-columns: 1fr; }
}

.exp-grid .exp-card:first-child {
 max-width: none;
 width: 100%;
 justify-self: stretch;
}

.exp-card.large {
 max-width: none;
 width: 100%;
}

.exp-grid .exp-card:first-child {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 50%;
}

.exp-card {
  background: #fff;
  padding: 1.8rem;
  border-radius: 1.2rem;
  border-left: 5px solid var(--amarillo-principal); /* experiencia: amarillo */
  box-shadow: 0 10px 30px rgba(76,40,130,0.08);
  transition: all 0.3s;
}
.exp-card:hover {
  border-left-color: var(--lila);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(76,40,130,0.15);
}

/* tarjeta de Formación: borde lila, hover amarillo */
.exp-card.large {
  max-width: 50%;
  margin: 0 auto;
  border-left-color: var(--amarillo-principal);              /* ← lila como en React */
}
.exp-card.large:hover { border-left-color: var(--lila); }

.exp-card h4 {
  font-size: 1.2rem;
  color: var(--violeta-oscuro);
  margin-bottom: 0.5rem;
}
.exp-place {
  color: var(--lila);
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.exp-date {
  font-size: 0.85rem;
  color: #777;
  display: block;
  margin-bottom: 0.8rem;
}
.exp-desc {
  font-size: 0.9rem;
  color: var(--dark);
  opacity: 0.7;
  line-height: 1.6;
}

/* ===========================
   PROJECTS
=========================== */
.projects { padding: 6rem 0; background: #fff; }

.projects-grid {
  max-width: 1152px;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 767px) { .projects-grid { grid-template-columns: 1fr; } }

.project-card {
  border-radius: 1.5rem;
  overflow: hidden;
  background: #fff;
  border: 2px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.project-card:hover {
  border-color: var(--lila);
  box-shadow: 0 20px 50px rgba(76,40,130,0.12);
}

.project-img-wrap { position: relative; overflow: hidden; }
.project-img-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s;
}
.project-card:hover .project-img-wrap img { transform: scale(1.1); }

.project-tags {
  position: absolute;
  top: 1rem; left: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.project-tag {
  padding: 0.2rem 0.75rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--violeta-oscuro);
  font-weight: 500;
}

.project-body   { padding: 1.5rem; }
.project-title  { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.4rem; color: var(--violeta-oscuro); margin-bottom: 0.5rem; }
.project-client { font-size: 0.875rem; color: var(--dark); opacity: 0.6; font-weight: 400; margin-bottom: 1rem; }
.project-label  { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lila); font-weight: 600; margin-bottom: 0.25rem; }
.project-text   { font-size: 0.875rem; color: var(--dark); opacity: 0.8; font-weight: 300; line-height: 1.6; margin-bottom: 0.75rem; }

/* ===========================
   CARRUSEL
=========================== */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 300px;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}
.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.88);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
  color: var(--violeta-oscuro);
}
.carousel-btn:hover { background: var(--amarillo-claro); }
.carousel-prev { left:  0.75rem; }
.carousel-next { right: 0.75rem; }

.carousel-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dot.active { background: var(--amarillo-principal); }

/* ===========================
   SERVICES
   — gradiente gris-claro → blanco (igual al React)
=========================== */
.services {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--gris-claro), #fff); /* ← era solo #fff */
}

.services-grid {
  max-width: 1152px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 767px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background: #fff;                               /* ← era gradiente gris-blanco */
  border: 2px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  border-color: var(--lila);
  box-shadow: 0 20px 50px rgba(76,40,130,0.1);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}
/* Colores de íconos por posición (igual al React: violeta, lila, amarillo, violeta) */
.service-card:nth-child(1) .service-icon { background: var(--violeta-oscuro); }
.service-card:nth-child(2) .service-icon { background: var(--lila); }
.service-card:nth-child(3) .service-icon { background: var(--amarillo-principal); }
.service-card:nth-child(4) .service-icon { background: var(--violeta-oscuro); }

.service-icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s; 
}
.service-title { 
  font-weight: 500; 
  font-size: 1.25rem; 
  color: #000000; 
  margin-bottom: 1rem; 
}

.service-desc  { 
  color: var(--dark); 
  opacity: 0.7; 
  line-height: 1.7; 
  font-weight: 300; 
}

/* ===========================
   COLOR PALETTE
   — fondo blanco (igual al React)
=========================== */
.palette {
  padding: 6rem 0;
  background: #fff;                               /* ← era var(--gris-claro) */
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 768px;
  margin: 4rem auto 0;
}
@media (max-width: 479px) { .palette-grid { grid-template-columns: 1fr; } }

.color-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(76,40,130,0.08);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.color-card:hover {
  border-color: var(--lila);
  box-shadow: 0 20px 50px rgba(76,40,130,0.15);
  transform: scale(1.05);
}
.color-swatch {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  border: 4px solid #fff;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.08);
}
.color-name { font-weight: 500; font-size: 1.1rem; color: var(--violeta-oscuro); text-align: center; }
.color-hex  { font-size: 0.875rem; color: var(--dark); opacity: 0.6; text-align: center; font-family: monospace; letter-spacing: 0.1em; margin-top: 0.25rem; }
.palette-tip { text-align: center; margin-top: 2rem; font-size: 0.875rem; color: var(--dark); opacity: 0.5; font-weight: 300; }

/* ===========================
   CONTACT
   — violeta → lila → violeta (oscuro, igual al React)
=========================== */

.contact {
  padding: 6rem 0;

  background: linear-gradient(
    135deg,
    var(--amarillo-claro),
    var(--gris-claro),
    var(--amarillo-claro)
  );

  position: relative;
  overflow: hidden;
}

.contact-blob-1 {
  position: absolute;
  top: 0;
  right: 0;

  width: 256px;
  height: 256px;

  background: var(--amarillo-suave);

  opacity: 0.18;
  border-radius: 50%;
  filter: blur(60px);
}

.contact .container {
  position: relative;
  z-index: 10;
}

.contact-inner {
  position: relative;
  z-index: 1;

  max-width: 896px;
  margin: 0 auto;

  text-align: center;
}

.contact-inner .section-title {
  color: var(--amarillo-suave);

  white-space: nowrap;

  font-size: clamp(1.4rem, 3vw, 2.5rem);
}

.contact-desc {
  color: var(--dark);

  opacity: 0.75;
  font-size: 1.1rem;
  font-weight: 300;

  margin: 1.5rem 0 3rem;
}

.contact-cards {

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 1.5rem;

  margin-bottom: 3rem;
}

@media (max-width: 767px) { .contact-cards { grid-template-columns: 1fr; } }

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background: #fff;
  border-radius: 1.5rem;
  border: 2px solid transparent;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.contact-card:hover {
  box-shadow: 0 20px 50px rgba(76,40,130,0.2);
  transform: scale(1.05);
  border-color: var(--amarillo-principal);         /* ← era var(--lila) */
}

.contact-card-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gris-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.2s;
}
.contact-card:hover .contact-card-icon { background: var(--violeta-oscuro); }

.contact-card-icon svg {
  width: 32px; height: 32px;
  fill: none;
  stroke: var(--violeta-oscuro);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}
.contact-card:hover .contact-card-icon svg { stroke: #fff; }

.contact-card h3 { font-weight: 500; color: var(--violeta-oscuro); margin-bottom: 0.25rem; }
.contact-card p  { font-size: 0.875rem; color: var(--dark); opacity: 0.6; font-weight: 300; }

.footer { font-size: 0.875rem; color: rgba(255,255,255,0.7); font-weight: 300; }

/* ===========================
   FLORES FLOTANTES
=========================== */
.flores-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.flor {
  position: absolute;
  color: var(--amarillo-principal);
}

.flor-1  { top: 10%;    left: 5%;   font-size: 5rem;    opacity: 0.40; animation: flotar-lento   6s   ease-in-out infinite; }
.flor-2  { top: 60%;    right: 8%;  font-size: 4.5rem;  opacity: 0.35; animation: flotar-medio   4s   ease-in-out infinite; transform: rotate(45deg); }
.flor-3  { top: 30%;    right: 15%; font-size: 3rem;    opacity: 0.30; animation: flotar-rapido  3s   ease-in-out infinite; transform: rotate(-20deg);  color: var(--amarillo-claro); }
.flor-4  { bottom: 20%; left: 10%;  font-size: 3.75rem; opacity: 0.35; animation: flotar-lento   7s   ease-in-out infinite; transform: rotate(90deg); }
.flor-5  { top: 45%;    left: 20%;  font-size: 3rem;    opacity: 0.30; animation: flotar-medio   5s   ease-in-out infinite; transform: rotate(-45deg);  color: var(--amarillo-claro); }
.flor-6  { bottom: 35%; right: 20%; font-size: 3.75rem; opacity: 0.30; animation: flotar-rapido  3.5s ease-in-out infinite; transform: rotate(120deg); }
.flor-7  { top: 8%;     left: 50%;  font-size: 3rem;    opacity: 0.25; animation: flotar-medio   4.5s ease-in-out infinite; transform: rotate(-90deg);  color: var(--amarillo-claro); }
.flor-8  { bottom: 12%; left: 40%;  font-size: 4.5rem;  opacity: 0.35; animation: flotar-lento   6.5s ease-in-out infinite; transform: rotate(180deg); }
.flor-9  { top: 25%;    left: 35%;  font-size: 2.5rem;  opacity: 0.25; animation: flotar-rapido  3s   ease-in-out infinite; transform: rotate(60deg); }
.flor-10 { bottom: 45%; right: 35%; font-size: 3.75rem; opacity: 0.30; animation: flotar-medio   5s   ease-in-out infinite; transform: rotate(-120deg); color: var(--amarillo-claro); }

@keyframes flotar-lento  { 0%, 100% { transform: translateY(0px);    } 50% { transform: translateY(-20px); } }
@keyframes flotar-medio  { 0%, 100% { transform: translateY(0px);    } 50% { transform: translateY(-14px); } }
@keyframes flotar-rapido { 0%, 100% { transform: translateY(0px);    } 50% { transform: translateY(-8px);  } }
