@font-face {
  font-family: 'Cralika';
  src: url('fonts/cralika.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'NathingStill';
  src: url('fonts/NathingStill-Regular-BF6a75776225450.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg-cream: #F8F6F0;
  --olive-dark: #2F3E33;
  --olive-sage: #526356;
  --pink-dusty: #E8C5C8;
  --pink-accent: #D4A5A9;
  --text-dark: #232824;
  --white: #FFFFFF;
  --font-serif: 'Playfair Display', serif;
  --font-display: 'DM Serif Display', serif;
  --font-signature: 'NathingStill', cursive;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ================= HERO DEGRADADO ================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: stretch;
  padding: 60px 0 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, #F3ECE7 0%, #E8DFEE 40%, #E3D1D4 75%, #D6DFD8 100%);
}

.hero-bg-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 197, 200, 0.7) 0%, rgba(255,255,255,0) 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

.hero-text {
  align-self: flex-end;
  padding-bottom: 40px;
}

.main-title {
  letter-spacing: 0.04em;
  font-family: 'Cralika', serif;
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 400;
  color: var(--olive-dark);
  line-height: 0.9;
  margin-bottom: 20px;
}

.subtitle {
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--olive-sage);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.description {
  max-width: 420px;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.signature-block {
  margin-bottom: 40px;
}

.signature {
  font-family: var(--font-signature);
  font-size: 4rem;
  font-weight: 400;
  line-height: 0.65;
  color: var(--pink-accent);
  display: block;
}

.role {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.hero-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 20px;
  margin-bottom: 30px;
}

.hero-info-bar > div,
.hero-info-bar > a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.hero-info-bar > a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.hero-info-bar > a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-info-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  fill: none;
  stroke: var(--pink-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  height: calc(90vh - 60px);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 2;
}

.stats-card {
  position: absolute;
  right: 0;
  bottom: 40px;
  background-color: var(--olive-dark);
  color: var(--white);
  padding: 25px;
  border-radius: 20px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.stat-item strong {
  display: block;
  font-size: 1.3rem;
  color: var(--pink-dusty);
}

.stat-item span {
  font-size: 0.7rem;
  letter-spacing: 1px;
}

/* ================= MAIN CONTENT & SECTIONS ================= */
.main-content {
  padding: 80px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--olive-dark);
}

.compact-title {
  line-height: 1;
}

.view-all {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--olive-dark);
  letter-spacing: 1px;
}

/* ================= PROJECTS GRID (6 EN 2 FILAS) ================= */
.work-services-section {
  display: grid;
  grid-template-columns: 2.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 80px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.project-img {
  width: 100%;
  height: 180px;
  background-color: var(--pink-dusty);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--olive-dark);
}

.project-info p {
  font-size: 0.75rem;
  color: #666;
}

.arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--olive-sage);
  color: var(--olive-dark);
  text-decoration: none;
  font-size: 0.9rem;
}

/* ================= WHAT I DO (SIDEBAR) ================= */
.services-card {
  background-color: var(--olive-dark);
  color: var(--white);
  padding: 35px 25px;
  border-radius: 20px;
  height: 100%;
}

.services-card h2 {
  color: var(--white);
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.services-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.services-card li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.services-card .icon {
  color: var(--pink-dusty);
  fill: currentColor;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  margin-top: 0.2rem;
}

.services-card strong {
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.services-card p {
  font-size: 0.8rem;
  color: #CCC;
}

/* ================= MY PROCESS ================= */
.process-section {
  margin-bottom: 80px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.5vw, 42px);
  margin-top: 36px;
  position: relative;
}

.process-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  min-width: 0;
}

.step-visual {
  position: relative;
  width: 108px;
  height: 108px;
}

.step-num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--olive-sage);
  box-shadow: 0 8px 18px rgba(47, 62, 51, 0.14);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.process-step:nth-child(even) .step-num {
  background: var(--pink-accent);
}

.step-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(82, 99, 86, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 28px rgba(47, 62, 51, 0.06);
}

.step-icon svg {
  width: 43px;
  height: 43px;
  fill: none;
  stroke: var(--olive-dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-copy {
  padding-left: 14px;
}

.step-copy strong {
  display: block;
  margin-bottom: 7px;
  font-size: 0.82rem;
  color: var(--olive-dark);
  letter-spacing: 0.08em;
}

.step-copy p {
  font-size: 0.79rem;
  color: #666;
  line-height: 1.55;
}

/* ================= MARCAS COLABORADORAS ================= */
.brands-section {
  margin-bottom: 40px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.brand-item {
  background: var(--white);
  height: 78px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid #EBE9E1;
}

.brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.brand-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ================= FOOTER ================= */
.footer {
  background-color: var(--olive-dark);
  color: var(--white);
  padding: 80px 0 60px 0;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.footer-cta h2 {
  color: var(--white);
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 15px;
}

.footer-cta h2 span {
  font-style: italic;
  color: var(--pink-dusty);
}

.footer-cta p {
  font-size: 0.9rem;
  color: #DDD;
  margin-bottom: 25px;
  max-width: 320px;
}

.btn-pink {
  display: inline-block;
  background-color: var(--pink-dusty);
  color: var(--olive-dark);
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.btn-pink:hover {
  transform: scale(1.05);
}

.footer-center {
  text-align: center;
}

.avatar-footer {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--pink-dusty);
  margin-bottom: 15px;
}

.signature-footer {
  font-family: var(--font-signature);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 0.75;
  color: var(--pink-dusty);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.85rem;
  text-align: right;
  letter-spacing: 1px;
}

.footer-info .info-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-info a.info-item:hover {
  color: var(--pink-dusty);
  transform: translateX(-3px);
}

.footer-info .info-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--pink-dusty);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.language-switcher {
  position: absolute;
  z-index: 4;
  top: 24px;
  right: 5%;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--olive-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.language-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  opacity: 0.55;
  padding: 0.4rem;
}

.language-button.is-active,
.language-button:hover {
  opacity: 1;
  color: var(--olive-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--pink-accent);
  outline-offset: 3px;
}

/* ================= MEDIA QUERIES (RESPONSIVO) ================= */
@media (max-width: 1024px) {
  .work-services-section {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-info {
    text-align: center;
  }
  .footer-info .info-item {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 90px;
    background-image:
      url("ana-paula-hero.webp"),
      linear-gradient(135deg, #F3ECE7 0%, #E8DFEE 40%, #E3D1D4 75%, #D6DFD8 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: calc(100% + 17vw) bottom, center;
    /* 25% más amplia que en la versión móvil anterior. */
    background-size: 72.5% auto, cover;
  }

  .language-switcher {
    top: 14px;
    right: 4%;
  }
  .hero-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto minmax(230px, 1fr);
    height: auto;
    min-height: calc(90vh - 90px);
  }
  .hero-text {
    display: contents;
  }
  .hero-image-wrapper {
    display: contents;
  }
  .main-title {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: start;
    text-align: left;
    font-size: clamp(3.5rem, 16.1vw, 5.6rem);
    margin-bottom: 0;
  }
  .hero-img {
    display: none;
  }
  .subtitle {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 24px;
  }
  .description {
    grid-column: 1 / -1;
    grid-row: 3;
    font-size: 1rem;
  }
  .signature-block {
    grid-column: 1 / -1;
    grid-row: 4;
  }
  .hero-info-bar {
    grid-column: 1 / -1;
    grid-row: 5;
  }
  .stats-card {
    grid-column: 1 / -1;
    grid-row: 6;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    align-items: start;
    isolation: isolate;
    background: transparent;
    box-shadow: none;
    margin-top: 20px;
    width: calc(100% + 5vw);
    min-height: 230px;
    margin-left: -5vw;
    padding: 24px;
    border-radius: 0;
    align-self: stretch;
  }
  .stats-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 auto -40px 0;
    width: 50%;
    border-radius: 0 20px 20px 0;
    background: var(--olive-dark);
  }
  .stats-card .stat-item {
    grid-column: 1;
  }
  .stats-card .stat-item strong,
  .stats-card .stat-item span {
    text-shadow: 0 1px 8px rgba(47, 62, 51, 0.22);
  }
  .projects-grid, .process-grid {
    grid-template-columns: 1fr;
  }
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-item img {
    filter: none;
    opacity: 1;
  }
}
/* ================= BANNER / PHILOSOPHY SECTION ================= */
.banner-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.68) 0, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 88% 18%, rgba(214, 229, 217, 0.9) 0, rgba(214, 229, 217, 0) 44%),
    linear-gradient(115deg, #dceadf 0%, #e8e7dc 45%, #eed4d7 100%);
  border-radius: 24px;
  margin-bottom: 80px;
  overflow: hidden;
  border: 1px solid rgba(82, 99, 86, 0.15);
  border-bottom: none;
}

.banner-container {
  display: grid;
  grid-template-columns: 0.8fr 1.8fr 1.4fr;
  align-items: center;
  gap: 30px;
  padding: 40px 50px 0 50px;
  position: relative;
}

/* Monograma AP */
.banner-monogram img {
  width: min(100%, 220px);
  height: auto;
  max-height: 180px;
  object-fit: contain;
  color: var(--olive-dark);
  line-height: 0.8;
  opacity: 0.85;
  display: block;
}

/* Texto de la filosofía */
.banner-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--olive-dark);
  line-height: 1.2;
  margin-bottom: 12px;
  font-weight: 400;
  text-shadow: 0 1px 0 rgba(255,255,255,0.38);
}

.banner-text p {
  font-size: 0.95rem;
  color: var(--olive-sage);
  max-width: 420px;
  line-height: 1.6;
}

/* Contenedor visual (Foto + Sello) */
.banner-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  gap: 15px;
  align-self: end;
}

.banner-img {
  height: 220px;
  width: auto;
  object-fit: contain;
  /* Ligera sombra inferior para despegarla del fondo */
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.08));
  display: block;
}

/* Sello circular con SVG */
.banner-badge {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stamp-svg {
  width: 100%;
  height: 100%;
  animation: rotateBadge 20s linear infinite;
}

.stamp-svg text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  fill: var(--olive-dark);
  letter-spacing: 1.5px;
}

.badge-center-icon {
  position: absolute;
  font-size: 1.2rem;
  color: var(--pink-accent);
}

/* Animación de giro lento para el sello decorativo */
@keyframes rotateBadge {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ================= RESPONSIVO (TABLET & MÓVIL) ================= */
@media (max-width: 900px) {
  .banner-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 35px 25px 0 25px;
  }

  .banner-text p {
    margin: 0 auto;
  }

  .banner-visual {
    justify-content: center;
    margin-top: 10px;
  }

  .banner-monogram img {
    width: min(100%, 220px);
    max-height: 160px;
    margin-inline: auto;
  }
}

@media (max-width: 1180px) and (min-width: 769px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

}

@media (max-width: 768px) {
  .process-step {
    grid-template-columns: 108px 1fr;
  }
}

/* ================= WHATSAPP FLOTANTE ================= */
.whatsapp-float {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.whatsapp-float img {
  display: block;
  width: 32px;
  height: 32px;
}
.whatsapp-float:hover {
  background: #1ebe5d;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}
.whatsapp-float:focus-visible {
  outline: 3px solid var(--olive-dark);
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .whatsapp-float {
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
}
