:root {
  --color-crema:        #F2EAE1;
  --color-crema-claro:  #FAF6F2;
  --color-negro:        #1A1A1A;
  --color-violeta:      #8B7FD4;
  --color-violeta-suave:#EAE7F8;
  --color-gris:         #6B6560;
  --color-borde:        #E0D8CE;
  --color-marron:       #1A1A1A;
  /* aliases para compatibilidad con webs.html / contenido.html */
  --color-texto:        #1A1A1A;
  --color-texto-suave:  #6B6560;
  --color-rosa:         #EAE7F8;
  --color-pill:         #EAE7F8;
  --shadow-suave:       0 4px 20px rgba(0, 0, 0, 0.06);
  --radius-lg: 12px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-texto);
  background-color: var(--color-crema);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==================== LAYOUT ==================== */

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 40px);
}

.section {
  padding: 72px 0 80px;
}

.section-alt {
  background-color: var(--color-crema-claro);
  padding: 72px 0 80px;
}

.section-header {
  max-width: 620px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin: 0 0 10px;
}

.section-intro {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-texto-suave);
  line-height: 1.7;
  max-width: 700px;
}

.section-header--center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* ==================== HEADER / NAV ==================== */

section[id] {
  scroll-margin-top: 80px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(245, 235, 230, 0.98) 0%,
      rgba(245, 235, 230, 0.96) 45%,
      rgba(245, 235, 230, 0.0) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: none;
  z-index: -1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.main-nav {
  position: relative;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-texto);
  padding: 8px;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
  padding: 0;
  margin: 0;
}

.nav-list a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  font-weight: 500;
  color: var(--color-texto);
}

.nav-list a:hover {
  text-decoration: none;
  border-bottom: 1px solid var(--color-texto);
}

.has-submenu {
  position: relative;
}

.nav-parent {
  background: transparent;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  font-weight: 500;
  color: var(--color-texto);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-parent:hover {
  text-decoration: none;
  border-bottom: 1px solid var(--color-texto);
}

.nav-caret {
  font-size: 0.55rem;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  padding: 8px 10px 8px;
  list-style: none;
  margin: 0;
  border-radius: 14px;
  background-color: rgba(245, 235, 230, 0.98);
  box-shadow: var(--shadow-suave);
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 50;
}

.has-submenu.submenu-open .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-submenu li+li {
  margin-top: 4px;
}

.nav-submenu-link {
  display: inline;
  font-size: 0.78rem;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  padding: 4px 0;
  text-decoration: none;
}

.nav-submenu-link:hover {
  background-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==================== CARDS ==================== */

.trabajos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.trabajos-card {
  display: flex;
  flex-direction: column;
  background: rgb(241, 230, 221);
  border-radius: 34px;
  text-decoration: none;
  color: var(--color-texto);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.trabajos-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(0, 0, 0, 0.03);
}

.trabajos-media {
  position: relative;
  height: 220px;
  border-radius: 34px 34px 26px 26px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.trabajos-card--contenido .trabajos-media {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.05)),
    url("../img/optimized/photo-content.webp");
}

.trabajos-card--webs .trabajos-media {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.05)),
    url("../img/optimized/card-webs.webp");
  background-position: top;
}

.trabajos-card--community .trabajos-media {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.05)),
    url("../img/optimized/card-community.webp");
}

.trabajos-media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 22px;
}

.trabajos-media-info {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trabajos-pill {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(241, 230, 221);
}

.trabajos-media-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(15, 15, 15, 0.85);
  color: rgb(241, 230, 221);
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.trabajos-body {
  padding: 18px 22px 20px;
  background-color: rgb(241, 230, 221);
}

.trabajos-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin: 0 0 8px;
}

.trabajos-body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-texto-suave);
}

/* ==================== BOTONES ==================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-borde);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background-color: transparent;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.btn-primary {
  background-color: var(--color-marron);
  color: rgb(241, 230, 221);
  box-shadow: var(--shadow-suave);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.btn-outline {
  background-color: var(--color-crema-claro);
}

.btn-outline:hover {
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

/* ==================== SOBRE MÍ ==================== */

.about-layout {
  display: grid;
  gap: 40px;
}

.about-main h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin: 0 0 12px;
}

.about-main p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-texto-suave);
}

.about-cards {
  display: grid;
  gap: 16px;
}

.info-card {
  background-color: var(--color-crema);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-borde);
  padding: 14px 14px 12px;
}

.info-card h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.info-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-texto-suave);
}

/* ==================== TABS / PROYECTOS ==================== */

.tabs {
  margin-top: 12px;
}

.tab-list {
  --tab-indicator-left: 4px;
  --tab-indicator-width: 0px;
  position: relative;
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.14);
  gap: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.tab-list:hover {
  border-color: rgba(136, 114, 205, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 10px 24px rgba(46, 41, 38, 0.08);
  transform: translateY(-1px);
}

.tab-list::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: var(--tab-indicator-width);
  border-radius: 999px;
  background: rgba(136, 114, 205, 0.14);
  border: 1px solid rgba(136, 114, 205, 0.36);
  box-shadow: 0 8px 18px rgba(136, 114, 205, 0.16);
  transform: translateX(var(--tab-indicator-left));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.tab-button {
  position: relative;
  z-index: 1;
  background: transparent;
  border-radius: 999px;
  border: none;
  padding: 7px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--color-texto-suave);
  transition: color 0.22s ease, transform 0.22s ease;
}

.tab-button:hover {
  color: var(--color-violeta);
  transform: translateY(-1px);
}

.tab-button.active {
  color: var(--color-violeta);
}

.tab-panel {
  display: none;
  margin-top: 24px;
}

.tab-panel.active {
  display: block;
  animation: tabPanelIn 0.28s ease both;
}

@keyframes tabPanelIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile tabs */
@media (max-width: 640px) {
  .tab-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background: transparent;
    border: none;
    border-radius: 0;
  }

  .tab-list::before {
    display: none;
  }

  .tab-button {
    padding: 14px 16px;
    font-size: 0.95rem;
    text-align: center;
    border-radius: 12px;
    width: 100%;
    justify-content: center;
    min-width: 0;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--color-negro);
  }

  .tab-button.active {
    background: var(--color-negro);
    color: #fff;
    border-color: var(--color-negro);
    box-shadow: none;
  }

  .tab-layout {
    gap: 20px;
  }

  .tab-copy h3 {
    font-size: 1.6rem;
  }

  .work-card {
    padding: 16px;
    width: 100%;
    max-width: 100%;
  }

  .work-card:hover {
    transform: none;
    box-shadow: var(--shadow-suave);
  }

  .work-card-video {
    aspect-ratio: 16/9;
    max-height: 420px;
  }

  .tab-grid {
    grid-template-columns: 1fr;
  }

  .content-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
    width: 100%;
    max-width: 100%;
  }

  .content-gallery .content-card {
    width: 100%;
  }

  .content-card-image {
    min-height: auto;
    box-shadow: none;
    transition: none;
  }

  .content-card-image:hover {
    overflow: hidden;
    z-index: auto;
    box-shadow: none;
  }

  .content-card-image img {
    transition: none;
    transform: none;
    object-fit: cover;
  }

  .photo-grid-wrapper,
  .photo-grid,
  .tab-list,
  .tab-button,
  .content-gallery {
    max-width: 100%;
    min-width: 0;
  }

  body,
  html {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

@media (max-width: 900px) {
  .tab-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    width: 100%;
    max-width: 100%;
  }

  .tab-list::before {
    display: none;
  }

  .tab-button {
    width: 100%;
    padding: 14px 16px;
  }

  .tab-grid {
    grid-template-columns: 1fr;
  }

  .content-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .content-gallery .content-card {
    width: 100%;
  }

  .content-card-image {
    min-height: auto;
    box-shadow: none;
    transition: none;
  }

  .content-card-image:hover {
    overflow: hidden;
    z-index: auto;
    box-shadow: none;
  }

  .content-card-image img {
    transition: none;
    transform: none;
    object-fit: cover;
  }

  .content-gallery .content-card:not(:first-child) {
    display: block;
  }

  .section {
    padding: 48px 0 56px;
  }
}

.tab-layout {
  display: grid;
  gap: 26px;
}

.tab-copy h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin: 10px 0 8px;
}

.tab-copy p {
  margin: 0 0 12px;
  font-size: 0.96rem;
  color: var(--color-texto-suave);
}

.bullet-list {
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--color-texto-suave);
}

.bullet-list li+li {
  margin-top: 4px;
}

.tab-note {
  font-size: 0.86rem;
  color: var(--color-texto-suave);
  margin: 0 0 16px;
}

.tab-grid {
  display: grid;
  gap: 16px;
}

.work-card {
  background-color: var(--color-crema-claro);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-borde);
  padding: 14px 14px 14px;
  box-shadow: var(--shadow-suave);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.work-card:hover {
  transform: translateY(-2px);
  background-color: #fffaf5;
}

.work-card h4 {
  margin: 6px 0 6px;
  font-size: 0.97rem;
}

.work-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-texto-suave);
}

.work-card-image {
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--color-crema-claro);
}

.work-card-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ==================== CONTACTO ==================== */

.contact-section {
  padding: 96px 0 112px;
}

.contact-inner {
  margin-top: 52px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 52px;
  align-items: stretch;
}

.contact-form-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 0;
}

.contact-subtitle {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin: 0;
}

.contact-lead {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-texto-suave);
}

.contact-form {
  margin-top: 6px;
  margin-left: -8px;
  background-color: #f9f4ee;
  border-radius: 30px;
  padding: 26px 26px 30px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.10),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  background: #f1e6dd;
  padding-left: 26px;
  padding-right: 26px;
}

.contact-form .form-group {
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-texto-suave);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
  color: var(--color-texto);
  background-color: #f7efe7;
}

.contact-form input,
.contact-form select {
  border-radius: 999px;
  padding: 13px 22px;
}

.contact-form textarea {
  border-radius: 20px;
  padding: 14px 18px;
  resize: vertical;
  min-height: 140px;
}

.contact-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 13px 48px 13px 22px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23493833' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
  background-size: 12px 8px;
}

.contact-form select:focus {
  border-color: rgba(60, 34, 30, 0.38);
  box-shadow: 0 0 0 2px rgba(60, 34, 30, 0.14);
  outline: none;
}

.contact-form select option {
  background-color: #f7f0ea;
  color: #2f2b28;
  font-size: 1rem;
}

.contact-form select:focus-visible {
  outline: none;
}

.contact-form .btn-full {
  color: rgb(241, 230, 221);
  margin-top: 10px;
  width: 100%;
}

input::placeholder,
textarea::placeholder {
  transition: color 0.25s ease;
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: transparent;
}

.contact-visual {
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  background-image:
    linear-gradient(to bottom, rgba(12, 8, 6, 0.05), rgba(12, 8, 6, 0.55)),
    url("../img/optimized/contact-card.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.contact-visual-inner {
  width: 100%;
  padding: 24px 26px 26px;
  color: rgb(241, 230, 221);
}

.contact-visual-tag {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 12px;
}

.contact-visual-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* Custom Select */
.custom-select {
  position: relative;
  width: 100%;
  font-size: 1rem;
}

.custom-select-trigger {
  background-color: #f7efe7;
  border-radius: 999px;
  padding: 13px 22px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-select-label {
  color: var(--color-texto);
}

.custom-select-caret {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.45);
  margin-left: 10px;
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background-color: #fdf6ef;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 14px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 30;
}

.custom-select.open .custom-select-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.custom-select-menu li {
  padding: 10px 22px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--color-texto);
  transition: background .15s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.custom-select-menu li:last-child {
  border-bottom: none;
}

.custom-select-menu li:hover {
  background-color: #f0e7e0;
}

.custom-select-menu li.selected {
  background-color: #e8dcd3;
  font-weight: 600;
}

/* ==================== FOOTER ==================== */

.site-footer {
  margin-top: 40px;
  background-color: var(--color-marron);
  color: var(--color-crema);
  padding: 24px 0 28px;
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
}

/* ==================== HERRAMIENTAS ==================== */

.tools-section {
  padding: 30px 0 40px;
  background: #f5ebe6;
}

.tools-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin-bottom: 22px;
  color: var(--color-texto);
}

.tools-marquee {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  background: transparent;
}

.marquee-track {
  display: flex;
  gap: 60px;
  align-items: center;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.marquee-track img {
  height: 60px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

.marquee-track img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.tools-subtitle {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1rem;
  margin-top: -10px;
  margin-bottom: 20px;
  color: var(--color-texto-suave);
  opacity: .8;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.3333%);
  }
}

/* ==================== CONTENIDO ==================== */

.content-block {
  display: block;
  margin-top: 56px;
  margin-bottom: 80px;
  padding-left: clamp(24px, 6vw, 40px);
  padding-right: clamp(24px, 6vw, 40px);
}

.content-block-text h3 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  margin: 0 0 10px;
}

.content-block-text p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-texto-suave);
  margin: 0 0 10px;
}

.content-block-text ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.94rem;
  color: var(--color-texto-suave);
}

.content-block-text ul li+li {
  margin-top: 4px;
}

.content-gallery {
  display: grid;
  grid-template-columns: repeat(3, 280px);
  gap: 32px;
  justify-content: center;
  margin: 45px auto 0;
}

.content-gallery .content-card {
  width: 280px;
  padding: 0;
  background: var(--color-crema-claro);
  border-radius: 20px;
}

.reels-block .content-gallery .content-card {
  width: 280px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.content-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  text-align: center;
}

.content-card:hover {
  z-index: 100;
}

.content-card-image {
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
  min-height: 280px;
  display: block;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  background: rgba(241, 230, 221, 0.3);
  transition: all 0.4s ease;
}

.content-card-image:hover {
  overflow: visible;
  z-index: 100;
}

.content-card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.content-card-image:hover img {
  transform: scale(1.1);
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border-radius: 18px;
  z-index: 100;
}

.content-card-title {
  margin: 10px 0 0;
  font-size: 0.98rem;
  font-family: var(--font-serif);
  color: var(--color-texto);
  text-align: center;
}

.content-card-description {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-texto-suave);
  text-align: center;
  padding: 0 10px;
}

.content-card-instagram {
  margin: 16px 0 0;
  text-align: center;
}

.content-card-instagram a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--color-texto);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  background-color: transparent;
  border: none;
  transition: all 0.25s ease;
}

.content-card-instagram a:hover {
  background-color: rgba(245, 235, 230, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.content-card-instagram a::before {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b2623'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--color-texto);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 24px;
  background-color: transparent;
  border: 1px solid rgba(31, 19, 15, 0.2);
  transition: all 0.3s ease;
  font-family: var(--font-sans);
}

.btn-back:hover {
  background-color: var(--color-marron);
  color: var(--color-crema);
  border-color: var(--color-marron);
  transform: translateX(-4px);
  text-decoration: none;
}

.btn-back svg {
  transition: transform 0.3s ease;
}

.btn-back:hover svg {
  transform: translateX(-3px);
}

/* Photo Grid */
.photo-grid-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 50px auto 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
  max-height: 460px;
  overflow: hidden;
  position: relative;
}

.photo-grid.expanded {
  max-height: none;
}

.photo-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.photo-grid-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to top, 
    var(--color-fondo) 0%, 
    var(--color-fondo) 10%, 
    rgba(245, 235, 230, 0.95) 20%,
    rgba(245, 235, 230, 0.85) 30%,
    rgba(245, 235, 230, 0.7) 40%,
    rgba(245, 235, 230, 0.5) 50%,
    rgba(245, 235, 230, 0.3) 60%,
    rgba(245, 235, 230, 0.15) 70%,
    rgba(245, 235, 230, 0.06) 80%,
    rgba(245, 235, 230, 0.02) 90%,
    transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 30px;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.photo-grid-wrapper.expanded .photo-grid-overlay {
  opacity: 0;
  pointer-events: none;
}

.btn-photo-expand {
  pointer-events: auto;
  padding: 12px 28px;
  background: var(--color-marron);
  color: var(--color-crema);
  border: none;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(139, 115, 98, 0.3);
}

.btn-photo-expand:hover {
  background: var(--color-texto);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 115, 98, 0.4);
}

/* Cards estáticas */
.content-card-static {
  width: 280px;
}

.content-card-static:hover {
  z-index: 100;
}

.content-card-image-static {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 14px;
  height: 350px;
  display: block;
  background: rgba(241, 230, 221, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  position: relative;
  transition: all 0.4s ease;
}

.content-card-image-static:hover {
  overflow: visible;
  z-index: 100;
}

.content-card-image-static img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.content-card-image-static:hover img {
  transform: scale(1.5);
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border-radius: 18px;
  z-index: 100;
}

/* Carousel */
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .28s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(31, 19, 15, 0.7);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(31, 19, 15, 0.9);
}

.carousel-prev {
  left: 8px;
}

.carousel-next {
  right: 8px;
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
  background: rgba(255, 255, 255, 1);
}

.content-block:not(.reels-block) .content-card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ==================== REELS ==================== */

.reels-block .content-gallery {
  grid-template-columns: repeat(3, 280px);
  gap: 36px;
  justify-content: center;
  margin: 60px auto 0;
}

.reels-block .content-card {
  width: 310px;
  border-radius: 26px;
  padding: 16px 16px 20px;
}

.reels-block .content-card-image {
  height: 420px;
}

.reels-block .content-card-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.content-card-video {
      width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    cursor: pointer;
}

.content-card-video:hover {
  transform: scale(1.01);
  transition: .2s ease;
}

/* ==================== WEBS ==================== */

.web-item {
  max-width: 100%;
  margin: 0 0 100px;
}

.web-item:last-child {
  margin-bottom: 0;
}

.web-item-header {
  margin-bottom: 48px;
  text-align: left;
  max-width: 900px;
}

.web-item-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin: 0 0 14px;
  color: var(--color-texto);
  font-weight: 500;
}

.web-item-description {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-texto-suave);
  max-width: 900px;
  margin: 0 0 20px;
}

.web-item-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.web-item-features li {
  font-size: 0.95rem;
  color: var(--color-texto);
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.web-item-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-marron);
  font-weight: 600;
}

.web-item-meta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 19, 15, 0.1);
}

.web-meta-item {
  font-size: 0.9rem;
  color: var(--color-texto-suave);
}

.web-meta-item em {
  font-size: 0.82rem;
  opacity: 0.8;
  font-style: normal;
}

.price-original {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9em;
  margin-right: 0.5rem;
}

.price-promo {
  color: #c17a53;
  font-weight: 700;
  font-size: 1.1em;
}

.web-meta-item strong {
  color: var(--color-texto);
  font-weight: 600;
}

.web-meta-item a {
  color: var(--color-marron);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.web-meta-item a:hover {
  border-bottom-color: var(--color-marron);
}

.web-item-cta {
  margin-top: 28px;
  text-align: center;
}

.btn-web {
  min-width: 220px;
  padding: 13px 28px;
  font-size: 1rem;
  margin-top: 20px;
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 80px auto 0;
  padding: 0 16px;
}

.faq-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  text-align: center;
  margin: 0 0 36px;
  color: var(--color-texto);
}

.faq-item {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(31, 19, 15, 0.1);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(31, 19, 15, 0.15);
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--color-marron);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-texto);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--color-marron);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  margin: 16px 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-texto-suave);
  padding-right: 32px;
}

.webs-block .content-gallery {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.webs-block .content-card {
  width: 100%;
  max-width: 900px;
  margin: 0;
}

.webs-block .content-card-image {
  height: auto;
  min-height: auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.webs-block .content-card-video {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

/* ==================== RESPONSIVE ==================== */

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }

  .about-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .tab-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }

  /* Reels: descripción arriba full-width, videos en fila abajo */
  #reels-panel .tab-layout {
    grid-template-columns: 1fr;
  }
  #reels-panel .tab-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    height: 420px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-visual {
    order: -1;
    min-height: 260px;
  }

  .contact-form {
    padding: 22px 18px 24px;
  }
}

@media (max-width: 768px) {
  .trabajos-media {
    height: 240px;
    min-height: 240px;
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: 56px;
  }

  .hero-copy {
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: static;
  }

  .nav-list {
    position: absolute;
    right: 16px;
    left: auto;
    top: calc(100% + 8px);
    width: auto;
    min-width: 180px;
    flex-direction: column;
    background-color: rgba(245, 235, 230, 0.98);
    padding: 12px 20px 16px;
    border-radius: 14px;
    box-shadow: var(--shadow-suave);
    transform-origin: top right;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .nav-list.nav-open,
  .nav-list.open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .has-submenu {
    width: 100%;
  }

  .nav-submenu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 4px 0 0;
    margin-top: 4px;
  }

  .nav-submenu-link {
    display: block;
    padding-left: 0;
  }
}

@media (max-width: 1024px) {
  .content-block {
    grid-template-columns: 1fr;
  }

  .content-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .reels-block .content-gallery {
    grid-template-columns: repeat(2, 280px);
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .content-gallery {
    grid-template-columns: 1fr;
    padding: 0 20px;
    margin: 35px auto 0;
  }

  .content-gallery .content-card {
    width: 100%;
    max-width: 100%;
  }

  .content-card-image img {
    height: 210px;
  }

  .reels-block .content-gallery {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .reels-block .content-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .reels-block .content-card-image {
    height: auto;
    min-height: auto;
  }

  .reels-block .content-card-image img {
    height: auto;
  }

  .content-card-video {
    height: auto;
    max-height: 500px;
  }

  .content-card-description {
    font-size: 0.85rem;
    padding: 0 5px;
  }

  .content-block {
    margin-top: 40px;
    margin-bottom: 56px;
  }

  .content-block:not(.reels-block) .content-card-image img {
    height: 210px;
  }

  .photo-grid-wrapper {
    margin: 40px auto 0;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: none;
  }

  .photo-grid img {
    height: 250px;
  }

  .photo-grid-overlay {
    display: none;
  }

  .btn-photo-expand {
    display: none;
  }

  .web-item {
    margin-bottom: 60px;
  }

  .web-item-header {
    padding: 0 16px;
    margin-bottom: 20px;
  }

  .web-item-title {
    font-size: 1.5rem;
  }

  .web-item-description {
    font-size: 0.95rem;
  }

  .web-item-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .web-item-features li {
    font-size: 0.9rem;
  }

  .web-item-meta {
    flex-direction: column;
    gap: 10px;
  }

  .web-meta-item {
    font-size: 0.85rem;
  }

  .btn-web {
    width: 100%;
    max-width: 100%;
  }

  .faq-section {
    margin-top: 60px;
  }

  .faq-title {
    font-size: 1.6rem;
    margin-bottom: 28px;
  }

  .faq-item {
    padding: 16px 18px;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .faq-answer {
    font-size: 0.88rem;
    padding-right: 0;
  }

  .webs-block .content-gallery {
    max-width: 100%;
    padding: 0 16px;
  }

  .webs-block .content-card-title {
    font-size: 0.9rem;
  }

  .tools-marquee {
    padding: 30px 0;
  }

  .marquee-track img {
    height: 45px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-intro {
    font-size: 0.9rem;
  }

  /* Mostrar solo el primer item en móvil para content-gallery */
  .content-gallery .content-card:not(:first-child) {
    display: none;
  }

  .content-gallery.show-all .content-card {
    display: block;
  }

  .btn-ver-mas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 0;
    padding: 10px 24px;
    border-radius: 999px;
    border: 1px solid var(--color-borde);
    background-color: var(--color-crema-claro);
    color: var(--color-texto);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
  }

  .btn-ver-mas:hover {
    background-color: var(--color-marron);
    color: var(--color-crema);
    transform: translateY(-1px);
  }

  .btn-ver-mas.hidden {
    display: none;
  }
}

/* ==================== WHATSAPP FLOTANTE ==================== */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  color: white;
}

@media (max-width: 680px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ==================== INTERACCIONES MODERNAS ==================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 2000;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--color-violeta), #C9C2F1);
  pointer-events: none;
}

.site-header {
  transition: box-shadow 0.25s ease, background-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background-color: rgba(242, 234, 225, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.06);
}

.reveal-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (pointer: fine) and (min-width: 900px) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button {
    cursor: none;
  }

  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3000;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.18s ease, width 0.18s ease, height 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  }

  .cursor-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-violeta);
  }

  .cursor-ring {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(139, 127, 212, 0.58);
    border-radius: 50%;
  }

  body.cursor-ready .cursor-dot,
  body.cursor-ready .cursor-ring {
    opacity: 1;
  }

  body.cursor-active .cursor-ring {
    width: 58px;
    height: 58px;
    border-color: rgba(139, 127, 212, 0.82);
    background: rgba(139, 127, 212, 0.08);
  }

  body.cursor-active .cursor-dot {
    background: var(--color-negro);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-in,
  .experiencia-track,
  .site-header {
    transition: none !important;
  }

  .scroll-progress,
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* ==================== ACCESSIBILITY UTILITIES ==================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==================== SKIP LINK ==================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  background: var(--color-violeta);
  color: #fff;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ==================== FOCUS STATES ==================== */

.nav-list a:focus,
.nav-list a:focus-visible {
  outline: 2px solid var(--color-violeta);
  outline-offset: 3px;
  border-radius: 2px;
}

.tab-button:focus-visible {
  outline: 2px solid var(--color-violeta);
  outline-offset: 3px;
}

.custom-select-trigger:focus,
.custom-select-trigger:focus-visible {
  outline: 2px solid var(--color-violeta);
  outline-offset: 3px;
}

.whatsapp-float:focus,
.whatsapp-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.btn:focus-visible,
.btn-back:focus-visible,
.btn-photo-expand:focus-visible {
  outline: 2px solid var(--color-violeta);
  outline-offset: 3px;
}

/* ==================== FORM SUCCESS ==================== */

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
  padding: 40px 32px;
  gap: 12px;
}

.form-success p {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: inherit;
  line-height: 1.5;
}

.form-success small {
  font-size: 0.9rem;
  color: inherit;
  opacity: 0.7;
}

/* ==================== FOOTER INSTAGRAM ICON ==================== */

.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-ig svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
