/* =========================================================
   FASE 5 · AUDITORÍA VISUAL + BILINGÜE
   Ajustes solicitados: claridad, movimiento, contacto visible,
   organización final, formas de pago y protección de datos.
   ========================================================= */

:root {
  --phase5-rose-050: #fff6fa;
  --phase5-rose-100: #fdebf4;
  --phase5-rose-200: #f6d8e7;
  --phase5-gray-100: #ece8ed;
  --phase5-gray-200: #d8d2da;
  --phase5-gray-700: #4b4651;
  --phase5-gray-850: #2a2730;
  --phase5-ink: #17131b;
  --phase5-panel: rgba(41, 37, 47, .82);
  --phase5-panel-soft: rgba(255, 248, 252, .10);
  --phase5-outline: rgba(255, 255, 255, .20);
}

html { background: #2d2932; }

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 147, 199, .35), transparent 30rem),
    radial-gradient(circle at 92% 16%, rgba(214, 202, 215, .34), transparent 34rem),
    radial-gradient(circle at 48% 72%, rgba(248, 189, 218, .22), transparent 42rem),
    linear-gradient(145deg, #403b45 0%, #2f2b34 24%, #514b56 50%, #5a3249 75%, #332d36 100%);
  color: #fffafe;
}

body::before {
  background: rgba(255, 114, 185, .18);
  opacity: .55;
}

body::after {
  background: rgba(222, 216, 225, .15);
  opacity: .55;
}

.section,
.page-main {
  isolation: isolate;
}

.section:nth-of-type(even) {
  background: linear-gradient(115deg, rgba(255,255,255,.035), rgba(255,217,235,.055), rgba(42,38,47,.08));
}

.section-band,
.form-directory-section,
.integrated-designer-section,
.detail-content-section,
.detail-cta,
.contact {
  border-block-color: rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 14% 25%, rgba(255, 111, 183, .10), transparent 30%),
    linear-gradient(120deg, rgba(63, 58, 68, .86), rgba(83, 72, 84, .72), rgba(58, 48, 60, .88));
}

/* Encabezado más limpio y parecido en organización a Accurate Taxes. */
.site-header {
  background: linear-gradient(100deg, rgba(34, 31, 38, .97), rgba(58, 53, 62, .93) 58%, rgba(68, 37, 55, .96));
  border-bottom-color: rgba(255,255,255,.14);
  box-shadow: 0 12px 34px rgba(30, 18, 28, .28);
}

.site-header.scrolled {
  background: rgba(47, 43, 51, .97);
  box-shadow: 0 14px 42px rgba(27, 18, 26, .34), 0 1px 0 rgba(255, 102, 181, .22);
}

.nav-container {
  gap: 14px;
}

.brand {
  min-width: 200px;
}

.brand img,
.footer-brand img {
  animation: shadow-float-logo 5.2s ease-in-out infinite;
  transform-origin: center;
  transition: transform .28s ease, filter .28s ease, box-shadow .28s ease;
}

.brand:hover img,
.brand:focus-visible img,
.footer-brand:hover img,
.footer-brand:focus-visible img {
  transform: translateY(-3px) scale(1.08);
  filter: saturate(1.08) brightness(1.06);
}

@keyframes shadow-float-logo {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.035); }
}

.header-utilities {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.language-switch {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-weight: 850;
  font-size: .73rem;
  letter-spacing: .015em;
  box-shadow: 0 8px 20px rgba(20, 13, 20, .18);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.language-switch::before {
  content: "◎";
  color: var(--sky);
  font-size: .88rem;
}

.language-switch:hover,
.language-switch:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(104,220,255,.72);
  background: rgba(255,255,255,.14);
}

.header-contact-pill {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 9px;
  border: 1px solid rgba(104,220,255,.45);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255,77,173,.20), rgba(104,220,255,.11));
  box-shadow: 0 8px 22px rgba(18, 11, 18, .18);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.header-contact-pill:hover,
.header-contact-pill:focus-visible {
  transform: translateY(-2px) scale(1.015);
  border-color: rgba(104,220,255,.8);
  box-shadow: 0 12px 28px rgba(104,220,255,.12), 0 8px 24px rgba(255,77,173,.13);
}

.header-contact-pill img {
  width: 31px;
  height: 31px;
  border-radius: 50%;
}

.header-contact-pill span {
  display: grid;
  line-height: 1.06;
}

.header-contact-pill small {
  color: #d8d2dd;
  font-size: .58rem;
  font-weight: 700;
}

.header-contact-pill strong {
  margin-top: 3px;
  color: #fff;
  font-size: .75rem;
}

/* Carrusel: más claridad y movimiento visual. */
.home-carousel {
  background:
    linear-gradient(90deg, rgba(104,220,255,.08), transparent 28%),
    radial-gradient(circle at 80% 38%, rgba(255,86,171,.18), transparent 34%),
    linear-gradient(115deg, rgba(63,58,68,.96), rgba(77,70,81,.88) 44%, rgba(84,47,67,.92));
}

.home-slide .slide-copy {
  text-shadow: 0 2px 18px rgba(33, 24, 32, .20);
}

.slide-lead,
.home-slide p,
.detail-hero-copy > p,
.section-heading > p {
  color: #eee8f0;
}

.slide-visual,
.slide-logo-visual,
.story-visual,
.ceo-visual,
.detail-hero-card {
  animation: shadow-float-media 6.4s ease-in-out infinite;
  transform-origin: center;
}

.slide-visual:hover,
.slide-visual:focus-within,
.detail-hero-card:hover,
.detail-hero-card:focus-within {
  animation-play-state: paused;
  transform: translateY(-5px) scale(1.025);
}

@keyframes shadow-float-media {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.018); }
}

.logo-orbit {
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(43,39,48,.58));
  box-shadow: 0 26px 70px rgba(27,18,27,.26), inset 0 0 0 1px rgba(255,255,255,.10);
}

.logo-orbit img {
  animation: shadow-logo-breathe 5.8s ease-in-out infinite;
  transition: transform .28s ease, filter .28s ease;
}

.logo-orbit:hover img { transform: scale(1.055); filter: saturate(1.08) brightness(1.05); }

@keyframes shadow-logo-breathe {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

.story-bubble-inner {
  background: linear-gradient(145deg, #a6e5ff 0%, #67c8f0 44%, #c5efff 100%);
  box-shadow: inset 0 0 34px rgba(255,255,255,.22);
}

.story-bubble-inner img { mix-blend-mode: multiply; }

.ceo-brand-lockup {
  text-align: center;
}

.ceo-brand-lockup span {
  display: block;
  width: 100%;
  text-align: center;
}

.ceo-photo-frame {
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.18), transparent 38%),
    linear-gradient(145deg, rgba(243,214,229,.50), rgba(94,82,99,.82));
  box-shadow: 0 24px 70px rgba(29,18,28,.26), 0 0 0 1px rgba(255,255,255,.15);
}

.ceo-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(.98) contrast(1.03);
}

/* Contactos principales en la portada. */
.hero-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-contact-chip {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.09);
  color: #f9f5fa;
  font-size: .72rem;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(23,17,22,.12);
}

.hero-contact-chip img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.hero-contact-chip span { display: grid; line-height: 1.15; }
.hero-contact-chip strong { color: #fff; font-size: .76rem; }

/* Tarjetas: más luminosas sin usar fondo negro sólido. */
.service-card,
.directory-link,
.process-step,
.portfolio-card,
.contact-copy,
.contact-form-directory,
.hours-card,
.detail-panel,
.detail-cta-grid,
.form-shell,
.form-card,
.designer-controls,
.design-preview-shell,
.approval-card,
.payment-state-card {
  background: linear-gradient(145deg, rgba(77,71,82,.91), rgba(50,46,56,.94));
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 20px 48px rgba(28,18,27,.19);
}

.service-card p,
.portfolio-info p,
.contact-copy p,
.hours-card p,
.detail-panel p,
.detail-panel small,
.form-card p,
.form-card small {
  color: #e7e1e9;
}

/* Pieza de servicio gráfico: completa, flotante y sin recorte. */
.floating-feature-card {
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.floating-feature-card .detail-hero-card-inner {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,244,249,.12), rgba(62,56,67,.68));
  box-shadow: 0 24px 64px rgba(26,17,25,.25), 0 0 30px rgba(255,77,173,.10);
}

.floating-feature-card img {
  width: 100%;
  height: min(66vh, 650px);
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
}

.floating-feature-card figcaption {
  margin-top: 10px;
  color: #f2ebf3;
  text-align: center;
}

/* Contacto: elimina espacios vacíos y organiza como bloque informativo. */
.contact-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 24px;
  align-items: start;
}

.contact-copy,
.contact-form-directory,
.hours-card {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 28px;
  padding: 28px;
}

.contact-form-directory {
  min-height: 100%;
}

.contact-primary-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.contact-primary-card {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  background: rgba(31,28,36,.36);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.contact-primary-card:hover,
.contact-primary-card:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,.10);
  border-color: rgba(104,220,255,.48);
}

.contact-primary-card > span:first-child {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: #17131b;
  font-size: .72rem;
  font-weight: 950;
}

.contact-primary-card small {
  display: block;
  margin-top: 2px;
  color: #d0c9d3;
  font-size: .66rem;
}

.contact-info-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.payment-mini-panel,
.privacy-mini-panel {
  min-height: 170px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,255,255,.10), rgba(42,38,47,.46));
}

.mini-panel-label {
  margin-bottom: 10px;
  color: var(--sky);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 12px;
}

.payment-badge {
  min-width: 112px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
  background: rgba(255,255,255,.92);
  color: #17131b;
  font-size: .78rem;
  font-weight: 950;
}

.payment-badge.ath { box-shadow: inset 4px 0 0 #ff7a1a; }
.payment-badge.paypal { box-shadow: inset 4px 0 0 #147bd1; }

.payment-mini-panel small,
.privacy-mini-panel p {
  color: #ddd6df;
  font-size: .7rem;
  line-height: 1.5;
}

.privacy-mini-panel strong {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  line-height: 1.35;
}

.hours-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: 34px;
  align-items: start;
}

.hours-card ul {
  display: grid;
  gap: 0;
}

.hours-card li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.hours-card li:last-child { border-bottom: 0; }
.hours-card li strong { color: #fff; }
.hours-card li span { color: #ddd7e0; }

/* Footer organizado y con accesos visibles. */
.site-footer {
  padding: 48px 0 22px;
  border-top: 1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(110deg, rgba(44,40,49,.98), rgba(65,58,68,.98) 48%, rgba(72,40,58,.98));
  box-shadow: 0 -12px 38px rgba(29,18,28,.14);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) .72fr 1fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}

.footer-brand p { display: grid; }
.footer-brand strong { color: #fff; font-size: 1rem; }
.footer-brand span { margin-top: 3px; color: #d9d3dc; font-size: .68rem; }
.footer-brand-column > p { max-width: 320px; font-size: .72rem; }

.footer-nav,
.footer-contact,
.footer-actions {
  display: grid;
  gap: 9px;
}

.footer-nav h3,
.footer-contact h3,
.footer-actions h3 {
  margin-bottom: 5px;
  color: #fff;
  font-size: .82rem;
}

.footer-nav a,
.footer-contact a,
.footer-contact p {
  color: #ddd6df;
  font-size: .7rem;
}

.footer-nav a:hover,
.footer-contact a:hover { color: var(--sky); }

.footer-action-btn {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: .69rem;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.footer-action-btn:hover,
.footer-action-btn:focus-visible {
  transform: translateX(3px);
  border-color: rgba(255,77,173,.50);
  background: rgba(255,255,255,.11);
}

.footer-legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.footer-legal-row > div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal-row a,
.footer-legal-row p {
  color: #cfc8d2;
  font-size: .64rem;
}

/* Menos brillo de texto para mejorar lectura. */
.eyebrow,
.page-kicker,
.catalog-tag,
.slide-kicker {
  text-shadow: none;
}

h1, h2, h3, .btn { text-shadow: none; }

/* Mobile */
@media (max-width: 1160px) {
  .header-contact-pill span { display: none; }
  .header-contact-pill { width: 46px; height: 46px; padding: 6px; justify-content: center; }
  .header-contact-pill img { width: 32px; height: 32px; }
  .language-switch { padding-inline: 10px; }
  .footer-main-grid { grid-template-columns: 1.2fr .8fr 1fr; }
  .footer-actions { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .footer-actions h3 { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .nav-container { gap: 8px; }
  .header-utilities { margin-left: auto; margin-right: 52px; }
  .language-switch { min-height: 38px; padding: 7px 10px; font-size: .66rem; }
  .header-contact-pill { width: 40px; height: 40px; min-height: 40px; }
  .header-contact-pill img { width: 28px; height: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hours-card { grid-column: auto; }
  .footer-main-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-column { grid-column: 1 / -1; }
  .footer-actions { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .footer-actions h3 { grid-column: auto; }
}

@media (max-width: 680px) {
  body { background-attachment: scroll; }
  .brand { min-width: 0; }
  .brand > span { display: none; }
  .brand img { width: 52px; height: 52px; }
  .header-utilities { margin-right: 48px; gap: 6px; }
  .language-switch { padding: 6px 9px; }
  .language-switch::before { display: none; }
  .header-contact-pill { display: none; }
  .hero-contact-row { display: grid; grid-template-columns: 1fr; }
  .contact-info-panels { grid-template-columns: 1fr; }
  .hours-card { grid-template-columns: 1fr; gap: 18px; }
  .footer-main-grid { grid-template-columns: 1fr; }
  .footer-brand-column,
  .footer-actions { grid-column: auto; }
  .footer-legal-row { align-items: flex-start; flex-direction: column; }
  .floating-feature-card img { height: auto; max-height: 68vh; }
}

@media (prefers-reduced-motion: reduce) {
  .brand img,
  .footer-brand img,
  .slide-visual,
  .slide-logo-visual,
  .story-visual,
  .ceo-visual,
  .detail-hero-card,
  .logo-orbit img {
    animation: none !important;
  }
}

/* Respiración visual solicitada para fotografías y piezas destacadas. */
.ceo-photo-frame img,
.story-bubble-inner img,
.floating-feature-card img {
  animation: shadow-media-breathe 7s ease-in-out infinite;
  transform-origin: center;
  transition: transform .3s ease, filter .3s ease;
}

.ceo-photo-frame:hover img,
.story-bubble-inner:hover img,
.floating-feature-card:hover img {
  animation-play-state: paused;
  transform: scale(1.035);
}

@keyframes shadow-media-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018); }
}

@media (prefers-reduced-motion: reduce) {
  .ceo-photo-frame img,
  .story-bubble-inner img,
  .floating-feature-card img { animation: none !important; }
}
