/* ====== Variables y Estilos Base ====== */
:root {
  --color-primary: #e64a79;
  --color-primary-dark: #d91e63;
  --color-muted: #8b7b87;
  --color-primary-light: #fce4ec;
  --max-width: 1200px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(230, 74, 121, 0.12);
  --shadow-lg: 0 24px 48px rgba(230, 74, 121, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Enlace para saltar al contenido (accesibilidad) */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: #fff;
  color: var(--color-primary);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  z-index: 2000;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: #0f0f0f;
  background: linear-gradient(135deg, rgba(250, 245, 240, 0.85) 0%, rgba(245, 237, 229, 0.85) 50%, rgba(240, 232, 225, 0.85) 100%), url('../img/proyectosespectacularesfijos1.jpg');
  background-size: auto, cover;
  background-position: center, center;
  background-attachment: scroll;
  line-height: 1.6;
  min-height: 100vh;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

@media (min-width: 1024px) {
  body {
    background-attachment: fixed;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p, li, span, h1, h2, h3, h4, h5, h6 {
  color: #0f0f0f;
  font-weight: 500;
}

/* ==== Page Layout ==== */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ====== Header y Navegación ====== */
header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 250, 247, 0.92) 100%), url('../img/proyectosespectacularesfijos1.jpg');
  background-size: auto, cover;
  background-position: center, center;
  border-bottom: 1px solid rgba(230, 74, 121, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 8px;
}

.logo-mark {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(230, 74, 121, 0.1), rgba(217, 30, 99, 0.1));
  border: 2px solid rgba(230, 74, 121, 0.2);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.logo-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f30b26;
  letter-spacing: 0.5px;
}

.logo-text small {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: flex-end;
}

.nav-link {
  background: none;
  border: none;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font-size: 0.75rem;
  color: #2c2c2c;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  line-height: 1.2;
  height: fit-content;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-primary);
  background: rgba(230, 74, 121, 0.08);
}

.nav-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Mantener compatibilidad con botones legacy si existen */
.nav-links button {
  background: none;
  border: none;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font-size: 0.75rem;
  color: #2c2c2c;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  border-radius: 8px;
  line-height: 1.2;
}

.nav-links button:hover {
  color: var(--color-primary);
  background: rgba(230, 74, 121, 0.08);
}

.nav-cta {
  background: linear-gradient(135deg, #e64a79, #d91e63) !important;
  color: #fff !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 20px rgba(230, 74, 121, 0.3);
  margin-left: 0.5rem;
  font-size: 0.75rem !important;
  line-height: 1.2;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(230, 74, 121, 0.4);
}

/* ====== Main Content ====== */
main {
  flex: 1;
}

/* ====== Sección Hero ====== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  animation: fadeInUp 0.6s ease-out;
}

.hero-image {
  position: relative;
  height: 100%;
  min-height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: slideInRight 0.8s ease-out;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.hero-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.hero-image:hover .hero-img-main {
  transform: scale(1.05);
}

.hero-image-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  padding: 1rem 1.6rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: #231b1c;
}

.hero-title span {
  color: var(--color-primary-dark);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 700px;
  margin-bottom: 0.9rem;
  line-height: 1.6;
}

.hero-copy-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.badge-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(230, 74, 121, 0.05) 0%, rgba(255, 245, 249, 0.4) 100%);
  border: 1.5px solid rgba(230, 74, 121, 0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  animation: slideInLeft 0.7s ease-out;
}

.badge-item:nth-child(2) {
  animation-delay: 0.1s;
}

.badge-item:nth-child(3) {
  animation-delay: 0.2s;
}

.badge-item:hover {
  transform: translateX(8px) translateY(-2px);
  border-color: rgba(230, 74, 121, 0.35);
  box-shadow: 0 16px 32px rgba(230, 74, 121, 0.2);
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(230, 74, 121, 0.2) 0%, rgba(217, 30, 99, 0.15) 100%);
  animation: pulse 2s ease-in-out infinite;
}

.badge-icon:hover {
  animation: pulse 1s ease-in-out infinite;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e64a79, #d91e63);
  box-shadow: 0 0 12px rgba(230, 74, 121, 0.7);
}

.badge-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
}

/* ====== Botones ====== */
.btn-primary {
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #e64a79, #d91e63);
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 20px 45px rgba(230, 74, 121, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(230, 74, 121, 0.5);
}

/* ====== Secciones ====== */
section {
  padding: 3.5rem 2rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  animation: fadeInUp 0.6s ease-out;
}

/* ====== Animaciones Avanzadas ====== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes floatUp {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: #0f0f0f;
  font-weight: 700;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.section-description {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.7;
  font-weight: 500;
}

/* ====== Servicios ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: linear-gradient(135deg, #fff 0%, #f8f5f3 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(230, 74, 121, 0.08);
  border: 1px solid rgba(230, 74, 121, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.7s ease-out;
  position: relative;
}

.service-card:nth-child(2) {
  animation-delay: 0.1s;
}

.service-card:nth-child(3) {
  animation-delay: 0.2s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-6px) rotateY(2deg);
  box-shadow: 0 20px 45px rgba(230, 74, 121, 0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(230, 74, 121, 0.1), rgba(217, 30, 99, 0.1));
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #d91e63;
  padding: 1rem 1.3rem 0;
  font-weight: 600;
}

.service-title {
  font-weight: 700;
  font-size: 1rem;
  color: #0f0f0f;
  padding: 0.5rem 1.3rem;
}

.service-text {
  font-size: 0.88rem;
  color: #333;
  padding: 0 1.3rem;
  font-weight: 500;
}

.service-meta {
  font-size: 0.75rem;
  color: var(--color-primary);
  padding: 0.8rem 1.3rem 1.3rem;
  font-weight: 600;
  border-top: 1px solid rgba(230, 74, 121, 0.1);
  margin-top: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-packages {
  margin: 1.2rem 1.3rem 0;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(230, 74, 121, 0.08);
}

.package-header {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f0f0f;
  margin-bottom: 0.8rem;
  text-transform: capitalize;
}

.package-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  color: #0f0f0f;
  border-bottom: 1px solid rgba(230, 74, 121, 0.04);
  font-weight: 500;
}

.package-name {
  flex: 1;
  color: #0f0f0f;
  font-weight: 500;
}

.package-price {
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  margin-left: 1rem;
}

.service-includes {
  margin: 1.2rem 1.3rem 0;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(230, 74, 121, 0.08);
}

.includes-header {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f0f0f;
  margin-bottom: 0.8rem;
}

.service-includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-includes li {
  font-size: 0.85rem;
  color: #555;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.5;
}

.service-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.service-timeline {
  margin: 1.2rem 1.3rem 0;
  padding: 1rem 0 1.3rem;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.6;
}

.service-timeline strong {
  color: #231b1c;
}

.service-features {
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(230, 74, 121, 0.08);
  border-bottom: 1px solid rgba(230, 74, 121, 0.08);
}

.service-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-features li {
  font-size: 0.85rem;
  color: #2c2c2c;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ====== Galería ====== */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.gallery-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(230, 74, 121, 0.1);
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  animation: scaleIn 0.6s ease-out;
}

.gallery-card:nth-child(odd) {
  animation-delay: 0.05s;
}

.gallery-card:nth-child(even) {
  animation-delay: 0.1s;
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(230, 74, 121, 0.15);
}

.gallery-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(230, 74, 121, 0.08), rgba(217, 30, 99, 0.05));
  position: relative;
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-image img {
  transform: scale(1.08);
}

.gallery-card-label {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d91e63;
  box-shadow: 0 4px 12px rgba(230, 74, 121, 0.2);
}

.gallery-card-content {
  padding: 1.4rem;
}

.gallery-card-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f0f0f;
  line-height: 1.4;
}

.gallery-card-content p {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.6;
  margin-top: 0.6rem;
  font-weight: 500;
}

/* ====== Portfolio ====== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: scaleIn 0.6s ease-out;
}

.portfolio-item:nth-child(3n+1) {
  animation-delay: 0.05s;
}

.portfolio-item:nth-child(3n+2) {
  animation-delay: 0.1s;
}

.portfolio-item:nth-child(3n) {
  animation-delay: 0.15s;
}

.portfolio-item:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 1;
}

.portfolio-item:hover .portfolio-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.portfolio-tag {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e64a79, #d91e63);
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 8px 20px rgba(230, 74, 121, 0.4);
}

.portfolio-item:hover .portfolio-tag {
  opacity: 1;
}

.portfolio-category {
  margin-bottom: 3rem;
}

.portfolio-section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: #231b1c;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.portfolio-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.portfolio-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-name {
  padding: 0.9rem 0.6rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
  font-weight: 700;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.18s ease;
  z-index: 9999;
  width: 100%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.portfolio-link:hover .portfolio-name {
  background: var(--color-primary);
  color: #fff;
}

/* ====== Sobre Mí ====== */
.about-section {
  background: linear-gradient(180deg, #f0eff0 0%, #e4c1d2 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: flex-start;
}

.about-image-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  height: 100%;
  animation: slideInLeft 0.8s ease-out;
  position: relative;
}

.about-image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(230, 74, 121, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.about-image-container:hover::after {
  opacity: 1;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-text {
  font-size: 0.9rem;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-weight: 500;
}

.about-highlight {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(230, 74, 121, 0.08), rgba(217, 30, 99, 0.08));
  border-left: 4px solid #e64a79;
  font-size: 0.86rem;
  color: #2c2c2c;
  box-shadow: 0 10px 25px rgba(230, 74, 121, 0.08);
  font-style: italic;
}

.about-signature {
  margin-top: 0.6rem;
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: #d91e63;
  font-weight: 700;
}

.about-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.about-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 245, 243, 0.98) 100%);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 20px 50px rgba(230, 74, 121, 0.12);
  font-size: 0.86rem;
  color: #8b7b87;
  border: 1px solid rgba(230, 74, 121, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: slideInRight 0.7s ease-out;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, #e64a79, #d91e63);
  transition: height 0.3s ease;
}

.about-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 65px rgba(230, 74, 121, 0.18);
}

.about-card:hover::before {
  height: 100%;
}

.about-card strong {
  display: block;
  font-size: 0.95rem;
  color: #d91e63;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.about-list {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1rem;
  font-size: 0.8rem;
}

.about-list span::before {
  content: "• ";
  color: var(--color-primary-dark);
}

/* ====== Contacto ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
}

.contact-card {
  background: linear-gradient(135deg, #fff 0%, #f8f5f3 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: 0 20px 50px rgba(230, 74, 121, 0.12);
  border: 1px solid rgba(230, 74, 121, 0.1);
}

.contact-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  color: #d91e63;
  font-weight: 700;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
}

.form-field input,
.form-field textarea,
.form-field select {
  border-radius: 12px;
  border: 1.5px solid rgba(230, 74, 121, 0.25);
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  font-family: inherit;
  background: rgba(255, 245, 249, 0.5);
  outline: none;
  transition: all 0.3s ease;
  position: relative;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(139, 123, 135, 0.5);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: #e64a79;
  box-shadow: 0 0 0 3px rgba(230, 74, 121, 0.15), 0 0 20px rgba(230, 74, 121, 0.1);
  background: #fff;
  transform: translateY(-1px);
}

/* Estilos para accesibilidad: campo inválido */
[aria-invalid="true"] {
  border-color: #b00020 !important;
  box-shadow: 0 0 0 3px rgba(176, 0, 32, 0.15), 0 0 20px rgba(176, 0, 32, 0.1) !important;
}

[aria-invalid="true"]:focus {
  border-color: #b00020 !important;
  box-shadow: 0 0 0 3px rgba(176, 0, 32, 0.25), 0 0 20px rgba(176, 0, 32, 0.2) !important;
}

/* Mensajes de error con accesibilidad */
.form-error {
  font-size: 0.75rem;
  color: #b00020;
  margin-top: 0.25rem;
  font-weight: 500;
  display: none;
}

.form-status {
  padding: 1rem;
  border-radius: 8px;
  background: rgba(176, 0, 32, 0.08);
  border-left: 4px solid #b00020;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.contact-meta {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 0.9rem;
}

.contact-meta strong {
  color: var(--color-primary-dark);
}

/* Estilos para enlaces de contacto */
.contact-link {
  color: var(--color-primary);
  text-decoration: underline;
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-block;
}

.contact-link:hover {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.contact-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.contact-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-status {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-info {
  font-size: 0.86rem;
  color: var(--color-muted);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  padding: 0.8rem;
  border-radius: 12px;
  background: rgba(230, 74, 121, 0.05);
  border: 1px solid rgba(230, 74, 121, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(230, 74, 121, 0.1), transparent);
  transition: left 0.5s ease;
}

.contact-info-item:hover::before {
  left: 100%;
}

.contact-info-item:hover {
  background: rgba(230, 74, 121, 0.1);
  border-color: #e64a79;
  transform: translateX(4px);
}

.contact-info-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #d91e63;
  margin-bottom: 0.1rem;
  font-weight: 700;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.03);
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 0.4rem;
}

.contact-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4caf50;
}

.contact-pill-small {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: rgba(230, 74, 121, 0.1);
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.4rem;
}

/* ====== FAQ/Preguntas Frecuentes ====== */
.contact-faq {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(230, 74, 121, 0.1);
}

.faq-title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: #231b1c;
  margin-bottom: 2rem;
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.faq-item {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(230, 74, 121, 0.05) 0%, rgba(255, 245, 249, 0.3) 100%);
  border: 1px solid rgba(230, 74, 121, 0.15);
  transition: all 0.3s ease;
  animation: slideInUp 0.7s ease-out;
}

.faq-item:nth-child(odd) {
  animation-delay: 0.1s;
}

.faq-item:nth-child(even) {
  animation-delay: 0.2s;
}

.faq-item:hover {
  background: linear-gradient(135deg, rgba(230, 74, 121, 0.1) 0%, rgba(255, 245, 249, 0.5) 100%);
  box-shadow: 0 12px 30px rgba(230, 74, 121, 0.1);
  transform: translateY(-2px);
}

.faq-question {
  font-weight: 700;
  font-size: 1rem;
  color: #0f0f0f;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.faq-question::before {
  content: '❓';
  font-size: 1.2rem;
}

.faq-answer {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.8;
  font-weight: 500;
}

/* ====== Responsive Contact ====== */
@media (max-width: 960px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .package-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .package-price {
    margin-left: 0;
    margin-top: 0.4rem;
  }
}

/* ====== Footer ====== */
footer {
  border-top: 1px solid rgba(230, 74, 121, 0.1);
  padding: 2rem 2rem 2.4rem;
  font-size: 0.78rem;
  color: #333;
  background: linear-gradient(180deg, #faf8f6 0%, rgba(230, 74, 121, 0.05) 100%);
  font-weight: 500;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: #0f0f0f;
  transition: color 0.3s ease;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.2rem;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #d91e63;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #d91e63;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Redes sociales en footer */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(230, 74, 121, 0.15);
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 1.2rem;
}

.social-link:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(230, 74, 121, 0.3);
}

.social-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ====== Estilos Avanzados y Micro-interacciones ====== */

/* Efecto de brillo en tarjetas */
.service-card,
.gallery-card,
.about-card,
.contact-card {
  position: relative;
}

/* Efecto de carga mejorado */
@keyframes loading-skeleton {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: loading-skeleton 1.5s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(230, 74, 121, 0.1) 25%, rgba(230, 74, 121, 0.05) 50%, rgba(230, 74, 121, 0.1) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Efecto de enfoque mejorado en navegación */
.nav-links button:focus-visible {
  outline: 2px solid #e64a79;
  outline-offset: 2px;
  border-radius: 8px;
}

.btn-primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Efecto de transición limitado a elementos interactivos (mejora rendimiento) */
.nav-links button,
.btn-primary,
.service-card,
.gallery-card,
.portfolio-item,
.about-card,
.contact-card,
.back-button,
.nav-links a,
.footer-links a {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

button, a, input, textarea, select {
  transition-duration: 0.2s;
}

/* Evitar background-attachment: fixed en móviles para mejorar rendimiento */
@media (max-width: 720px) {
  body, header {
    background-attachment: scroll !important;
  }
}

/* Estilos para elementos activos */
.nav-links button.active {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.3rem;
}

/* Pseudo-elementos mejorados */
section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 74, 121, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Efecto de scroll reveal (requiere JavaScript, pero CSS está listo) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Estilo mejorado para enlaces */
a {
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Efecto de texto con gradiente */
.gradient-text {
  background: linear-gradient(135deg, #e64a79, #d91e63);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Efectos de sombra mejorados */
.shadow-enhanced {
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24),
    0 0 12px rgba(230, 74, 121, 0.1);
}

.shadow-enhanced:hover {
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.15),
    0 5px 10px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(230, 74, 121, 0.15);
}

/* Responsive Grid Mejorado */
@supports (display: grid) {
  .services-grid,
  .gallery-container,
  .portfolio-grid {
    grid-auto-rows: auto;
  }
}

/* ====== Testimonios ====== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: linear-gradient(135deg, #fff 0%, #f8f5f3 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: 0 20px 50px rgba(230, 74, 121, 0.12);
  border: 1px solid rgba(230, 74, 121, 0.1);
  transition: all 0.3s ease;
  animation: slideInUp 0.7s ease-out;
}

.testimonial-card:nth-child(odd) {
  animation-delay: 0.1s;
}

.testimonial-card:nth-child(even) {
  animation-delay: 0.2s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 65px rgba(230, 74, 121, 0.18);
}

.testimonial-rating {
  color: #ffc107;
  font-size: 1rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.2rem;
  border-left: 4px solid var(--color-primary);
  padding-left: 1rem;
  font-weight: 500;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial-author strong {
  color: #0f0f0f;
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Sección CTA de testimonios mejorada */
.testimonials-cta {
  text-align: center;
  margin-top: 3rem;
  animation: slideInUp 0.8s ease-out;
}

.testimonials-cta .btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== Sección Sobre Mí - Timeline/Experiencia ====== */
.about-extra {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(230, 74, 121, 0.1);
}

.about-extra-title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: #231b1c;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  padding-left: 2rem;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  animation: slideInLeft 0.7s ease-out;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.1rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--color-primary);
}

.timeline-year {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

.timeline-role {
  font-weight: 600;
  font-size: 1.05rem;
  color: #231b1c;
  margin-bottom: 0.6rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ====== Responsive Testimonios ====== */
@media (max-width: 960px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 960px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .portfolio-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.6rem;
    gap: 2.5rem;
  }

  .hero-image {
    min-height: 350px;
    order: -1;
  }

  .about-image-container {
    max-height: 350px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  header {
    position: relative;
  }

  .nav {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    display: none;
  }

  .logo {
    width: 100%;
    justify-content: center;
  }

  .logo-mark {
    width: 50px;
    height: 50px;
  }

  .logo-name {
    font-size: 0.95rem;
  }

  main {
    padding: 1rem;
  }

  section {
    padding: 2.5rem 1rem;
  }

  .services-grid,
  .portfolio-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .gallery-container,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .about-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ====== Accesibilidad: Respeta preferencias de animación ====== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Desactiva parallax */
  [data-parallax] {
    transform: none !important;
  }

  /* Desactiva ripple effect */
  body {
    scroll-behavior: auto;
  }

  html {
    scroll-behavior: auto;
  }

  /* Eliminabolsa de la sombra dinámica */
  .hero {
    animation: none;
  }

  .service-card,
  .gallery-card,
  .portfolio-item,
  .testimonial-card,
  .about-card {
    animation: none;
  }

  /* Mantiene transiciones visuales importantes pero las hace instantáneas */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    transition: none;
  }
}
