/* RECO Studio · estilos del sitio público.
   Base: el diseño original de ChatGPT, sin las reglas del panel interno que no se usan aquí. */
:root {
  --yellow: #f5ba32;
  --blue: #0a4664;
  --ink: #223238;
  --cream: #f7f5f0;
  --line: #e6e7e3;
  --muted: #5f6869;
  --wa: #1f8f4e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
}
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

button,
.button {
  border: 0;
  background: var(--blue);
  color: white;
  border-radius: 9px;
  padding: 14px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s;
}
button:hover, .button:hover { filter: brightness(0.96); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #cc8d00;
  outline-offset: 4px;
}
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  color: var(--blue);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -1.3px;
}
h1 { font-size: 56px; }
h2 { font-size: 36px; }
h3 { font-size: 22px; letter-spacing: -0.6px; }
p { color: var(--muted); }
small { font-size: 12px; color: var(--muted); line-height: 1.5; }

input, textarea, select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d5dcda;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  font-size: 16px;
  min-height: 44px;
}
textarea { resize: vertical; min-height: 95px; }
input[type='checkbox'] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
input[type='file'] { font-size: 13px; padding: 8px; }
input[type='file']::file-selector-button {
  background: var(--cream);
  border: 0;
  border-radius: 4px;
  padding: 5px 9px;
  color: var(--blue);
}

/* Encabezado */
.public-header {
  height: 94px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 36px;
  background: #fff;
}
.logo {
  font-size: 49px;
  font-weight: 800;
  letter-spacing: -4px;
  color: var(--blue);
  line-height: 1;
  text-decoration: none;
}
.logo span { color: var(--yellow); }
.public-header nav { display: flex; gap: 34px; margin: auto; }
.public-header nav a { text-decoration: none; font-size: 14px; }
.public-header .button { white-space: nowrap; }
.small { padding: 11px 18px; }
.secondary { background: white; border: 1px solid #ced9dc; color: var(--blue); }
.text-btn {
  background: none;
  border: 0;
  padding: 6px 0;
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* Portada */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  background: var(--cream);
}
.hero-copy {
  padding: 100px 9% 70px 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  font-size: 11px !important;
  letter-spacing: 2.2px;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
}
.eyebrow span { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.hero h1 {
  font-size: clamp(48px, 5.2vw, 80px);
  letter-spacing: -3.8px;
  max-width: 550px;
  line-height: 1.02;
  margin-bottom: 27px;
}
.hero-sub { font-size: 17px; max-width: 400px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 15px; }
.hero-actions > .button { background: var(--yellow); color: var(--blue); padding: 17px 25px; }
.hero-trust { display: flex; gap: 24px; margin-top: 46px; font-size: 12px; color: #55656d; }
.hero-art { position: relative; overflow: hidden; background: var(--blue); }
.hero-art picture, .hero-art img { width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: 52% 50%; }
.art-label {
  position: absolute;
  left: 28px;
  bottom: 43px;
  border: 1px solid #ffffff68;
  background: #ffffffef;
  border-radius: 9px;
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--blue);
}
.art-label span { font-size: 10px; letter-spacing: 1.8px; }
.art-label strong { font-size: 19px; font-weight: 500; }
.image-disclosure {
  position: absolute;
  bottom: 10px;
  left: 28px;
  color: white;
  text-shadow: 0 1px 4px #000;
  font-size: 11px;
}
.manifesto {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 26px 20px;
  text-align: center;
}
.manifesto p { margin: 0; font-size: 15px; }
.manifesto strong { color: var(--blue); }

/* Secciones */
.section { padding: 90px 6%; }
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: end;
  margin-bottom: 38px;
}
.section-heading h2 { max-width: 570px; margin-bottom: 0; }
.section-heading > p { font-size: 14px; }

.experience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.experience-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.experience-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px #0a466410; }
.exp-top {
  display: flex;
  justify-content: space-between;
  color: var(--blue);
  align-items: center;
  height: 44px;
  margin-bottom: 20px;
}
.exp-top span { font-size: 14px; color: #7a8485; }
.exp-experience { background: #fcf5dd; border-color: #eedfba; }
.experience-card h3 { font-size: 23px; margin-bottom: 12px; }
.experience-card p { font-size: 14px; min-height: 66px; }
.experience-card ul { padding: 0; list-style: none; margin: 10px 0 28px; }
.experience-card li { font-size: 13px; display: flex; gap: 7px; margin: 9px 0; }
.exp-price {
  margin-top: auto;
  border-top: 1px solid #d9dfda;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
}
.exp-price strong { font-size: 26px; letter-spacing: -1px; color: var(--blue); font-weight: 500; }
.exp-price > span {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  color: var(--blue);
  font-weight: 600;
}

.how {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 65px;
  background: var(--cream);
}
.how > div > p { font-size: 14px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.steps-grid article { position: relative; padding-top: 60px; }
.step-number {
  position: absolute;
  top: 0;
  left: 0;
  color: #c3c9c2;
  font-size: 52px;
  letter-spacing: -3px;
  line-height: 1;
}
.steps-grid h3 { font-size: 20px; line-height: 1.2; }
.steps-grid p { font-size: 14px; }

.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  font-size: 16px;
  color: var(--blue);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 22px;
  line-height: 1;
  color: var(--blue);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-size: 14px; margin: 18px 0 0; }

.closing {
  text-align: center;
  padding: 65px 20px 75px;
  background: var(--blue);
  color: white;
}
.closing h2 { color: white; font-size: 37px; margin: 24px 0; }
.closing .button { background: var(--yellow); color: var(--blue); }

footer {
  padding: 60px 6% 40px;
  display: grid;
  grid-template-columns: 2fr 1.4fr 1.4fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  background: white;
}
footer > div { display: flex; flex-direction: column; gap: 12px; }
footer .logo { margin-bottom: 6px; }
footer p { font-size: 14px; }
footer a:not(.logo) { font-size: 13px; text-decoration: none; color: var(--muted); }
footer a:not(.logo):hover { color: var(--blue); }
footer strong { font-size: 13px; color: var(--blue); }
footer > small { text-align: right; align-self: end; }

/* Configurador */
.config-page { background: #fafaf8; padding: 50px 6% 75px; min-height: 80vh; }
.config-heading { text-align: center; }
.config-heading .eyebrow { justify-content: center; }
.config-heading h1 { font-size: 40px; letter-spacing: -1.6px; margin-bottom: 15px; }
.config-heading p { font-size: 14px; }
.stepper {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 42px auto;
  border-bottom: 1px solid var(--line);
  overflow: auto;
  white-space: nowrap;
}
.stepper span { font-size: 12px; padding: 12px 8px; color: #6b797a; }
.stepper .on { border-bottom: 2px solid var(--blue); color: var(--blue); font-weight: bold; }
.config-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  max-width: 1190px;
  margin: auto;
  align-items: start;
}
.config-content { min-height: 520px; }
.config-content .eyebrow { margin-bottom: 10px; }
.step-section h2 { font-size: 30px; margin-bottom: 28px; }
.step-section[hidden], main[hidden], [hidden] { display: none !important; }

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 19px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .full { grid-column: 1/-1; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  margin: 6px 0 18px;
  line-height: 1.65;
  cursor: pointer;
  color: var(--ink);
}
.checkbox input { margin-top: 3px; }
.info {
  background: #f6f2e7;
  border: 1px solid #ede2c5;
  border-radius: 8px;
  color: #5d583f;
  font-size: 13px;
  padding: 15px;
  margin: 15px 0;
}
.note { font-size: 13px; color: var(--muted); }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.choice {
  position: relative;
  display: block;
  text-align: left;
  background: white;
  color: var(--blue);
  border: 1px solid #d8dedb;
  border-radius: 9px;
  padding: 25px;
  min-height: 200px;
  cursor: pointer;
  font-weight: 400;
  transition: border-color 0.2s;
}
.choice input { width: 18px; min-height: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.choice h3 { font-size: 22px; padding-right: 18px; margin-top: 14px; }
.choice p { font-size: 13px; font-weight: 400; }
.choice strong { font-size: 16px; }
.choice.selected {
  border-color: var(--blue);
  background: #f0f5f5;
  box-shadow: 0 0 0 1px var(--blue);
}

.size-preview {
  display: flex;
  align-items: center;
  gap: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
}
.size-preview picture { width: 55%; flex-shrink: 0; }
.size-preview img { width: 100%; border-radius: 9px; }
.big-size { font-size: 70px; letter-spacing: -5px; color: var(--blue); line-height: 1.1; }
.big-size small { font-size: 18px; letter-spacing: 0; margin-left: 5px; }

.upgrade-list { display: flex; flex-direction: column; gap: 10px; }
.upgrade {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 17px;
  background: white;
}
.upgrade label { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.upgrade label > div { display: flex; flex-direction: column; }
.upgrade strong { font-size: 14px; font-weight: 500; }
.upgrade:has(input:checked) { border-color: var(--blue); background: #f0f5f5; }

.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.photo-slot { border: 1px solid var(--line); border-radius: 10px; padding: 16px; background: white; }
.photo-slot .field { margin-bottom: 0; }
.photo-slot img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-top: 10px;
  background: #f7f8f6;
  border-radius: 6px;
}
.file-removal { font-size: 12px; padding: 7px 12px; margin-top: 8px; }
.inline-message { padding: 15px; background: #fff0e9; color: #8b3a23; border-radius: 8px; margin: 15px 0; }
#summary-list { list-style: none; padding: 0; font-size: 14px; }
#summary-list li { padding: 10px 0; border-bottom: 1px solid #eee; }
.config-controls {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 35px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
#send { background: var(--yellow); color: var(--blue); }

.quote-summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 24px;
  background: white;
}
.summary-art { height: 156px; overflow: hidden; }
.summary-art picture, .summary-art img { width: 100%; height: 100%; }
.summary-art img { object-fit: cover; object-position: 50% 48%; }
.summary-body { padding: 24px; }
.summary-body .eyebrow { font-size: 9px !important; letter-spacing: 1.5px; margin-bottom: 12px; }
.summary-body h3 { margin-bottom: 8px; }
.summary-body p { font-size: 13px; }
.summary-body dl {
  font-size: 12px;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin: 23px 0;
}
.summary-body dl > div { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0; }
.summary-body dd { margin: 0; white-space: nowrap; }
.summary-body dt { color: var(--muted); }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 12px;
}
.summary-total strong { font-size: 23px; letter-spacing: -1px; color: var(--blue); font-weight: 500; }
.summary-body > small {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
  font-size: 11px;
}

/* Confirmación */
.success-page { padding: 90px 20px; text-align: center; max-width: 760px; margin: auto; min-height: 70vh; }
.success-page .eyebrow { justify-content: center; }
.success-page h1 { font-size: 50px; }
.success-icon {
  background: #e9f3ef;
  color: var(--blue);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto 25px;
  display: grid;
  place-items: center;
  font-size: 26px;
}
.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  margin: 35px 0 24px;
}
.panel p { font-size: 14px; margin-bottom: 0; }
.mono { display: block; font-family: monospace; font-size: 22px; color: var(--blue); margin: 10px 0; letter-spacing: 1px; }

/* WhatsApp (solo aparece si hay número configurado) */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  background: var(--wa);
  color: #fff;
  border-radius: 40px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 20px #0003;
}

/* Campo trampa para robots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 1600px) {
  .hero { max-height: 810px; }
  .hero-copy { padding-left: 16%; }
  .hero-art img { object-position: 50% 56%; }
  .section, .public-header { padding-left: 9%; padding-right: 9%; }
}
@media (max-width: 1150px) {
  .hero-copy { padding: 60px 10%; }
  .hero h1 { font-size: 58px; }
  .hero-actions { flex-direction: column; align-items: start; gap: 15px; }
  .hero-trust { flex-direction: column; gap: 9px; }
  .experience-grid { gap: 12px; }
  .experience-card { padding: 20px; }
  .experience-card h3 { font-size: 21px; }
  .experience-card li { font-size: 12px; }
  .exp-price strong { font-size: 23px; }
  .how { gap: 35px; grid-template-columns: 1fr 2.6fr; }
  .steps-grid { gap: 20px; }
  .config-layout { gap: 25px; grid-template-columns: minmax(0, 1fr) 290px; }
  .summary-total strong { font-size: 20px; }
}
@media (max-width: 850px) {
  .public-header { height: 78px; padding: 0 5%; gap: 18px; }
  .public-header nav { gap: 20px; }
  .public-header nav a { font-size: 12px; }
  .logo { font-size: 42px; }
  .hero { min-height: 540px; }
  .hero-copy { padding: 55px 9%; }
  .hero h1 { font-size: 49px; letter-spacing: -2.3px; }
  .hero-sub { font-size: 15px; }
  .hero-trust { margin-top: 27px; }
  .art-label { left: 15px; bottom: 47px; padding: 13px; right: 15px; }
  .art-label strong { font-size: 16px; }
  .image-disclosure { left: 15px; right: 10px; font-size: 10px; }
  .section { padding: 65px 5%; }
  .section h2 { font-size: 30px; }
  .experience-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .experience-card { padding: 26px; }
  .experience-card p { min-height: 42px; }
  .experience-card li { font-size: 13px; }
  .how { grid-template-columns: 1fr; }
  .how h2 br, .how > div > p br { display: none; }
  .faq { gap: 35px; grid-template-columns: 1fr 1.4fr; }
  .faq summary { font-size: 14px; }
  .config-layout { grid-template-columns: 1fr; }
  .quote-summary { position: static; display: grid; grid-template-columns: 200px 1fr; order: 2; }
  .summary-art { height: 100%; }
  .summary-body { padding: 20px; }
  .summary-body dl { margin: 10px 0; padding-bottom: 8px; }
  .summary-body > small { margin-top: 10px; padding-top: 10px; }
  .config-content { min-height: unset; }
  footer { padding: 45px 5%; gap: 30px; grid-template-columns: 1.5fr 1fr 1.3fr; }
  footer > small { grid-column: 1/-1; text-align: left; }
}
@media (max-width: 560px) {
  .public-header { height: 72px; gap: 16px; }
  .public-header nav { display: none; }
  .public-header > .button { margin-left: auto; font-size: 13px; padding: 11px 15px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 48px 6% 40px; }
  .hero h1 { font-size: 52px; letter-spacing: -2.6px; max-width: 360px; }
  .hero-sub { max-width: 340px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 19px; flex-wrap: wrap; }
  .hero-actions .button { font-size: 14px; padding: 15px 20px; }
  .hero-actions .text-btn { font-size: 14px; }
  .hero-trust { flex-direction: row; gap: 20px; font-size: 12px; }
  .hero-art { height: 370px; }
  .hero-art img { object-position: 50% 55%; }
  .art-label { right: auto; left: 20px; bottom: 40px; padding: 12px 17px; }
  .art-label span { font-size: 9px; }
  .art-label strong { font-size: 15px; }
  .image-disclosure { left: 20px; font-size: 10px; }
  .manifesto { padding: 23px 6%; }
  .manifesto p { font-size: 14px; max-width: 280px; }
  .section { padding: 53px 6%; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading h2 { font-size: 32px; }
  .section-heading > p { margin: 18px 0 0; font-size: 14px; }
  .section-heading > p br { display: none; }
  .eyebrow { font-size: 10px !important; letter-spacing: 1.6px; margin-bottom: 18px; }
  .experience-grid { grid-template-columns: 1fr; gap: 17px; }
  .experience-card { padding: 25px; }
  .experience-card .exp-top { height: 30px; margin-bottom: 14px; }
  .experience-card p { min-height: 0; font-size: 15px; }
  .experience-card h3 { font-size: 26px; }
  .experience-card ul { margin-bottom: 15px; }
  .exp-price strong { font-size: 27px; }
  .steps-grid { grid-template-columns: 1fr; gap: 25px; }
  .steps-grid article { padding: 0 0 0 62px; }
  .step-number { font-size: 42px; top: -4px; }
  .steps-grid h3 { font-size: 22px; }
  .steps-grid p { margin-bottom: 0; }
  .how { gap: 30px; }
  .faq { grid-template-columns: 1fr; gap: 15px; }
  .faq h2 br { display: none; }
  .faq summary { font-size: 15px; }
  .faq details { padding: 20px 0; }
  .closing { padding: 48px 25px; }
  .closing h2 { font-size: 31px; line-height: 1.2; }
  footer { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding: 40px 6% 90px; }
  footer > div:first-child { grid-column: 1/-1; flex-direction: row; justify-content: space-between; align-items: center; }
  footer > div:first-child p { font-size: 13px; margin: 0; }
  footer a:not(.logo) { font-size: 14px; }
  .config-page { padding: 35px 5%; }
  .config-heading h1 { font-size: 33px; letter-spacing: -1.4px; }
  .config-heading p { font-size: 14px; }
  .stepper { margin: 27px 0; justify-content: start; gap: 12px; }
  .stepper span { font-size: 12px; }
  .step-section h2 { font-size: 27px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice { min-height: 0; padding: 22px; }
  .choice h3 { font-size: 23px; margin-bottom: 12px; }
  .config-controls { margin-top: 25px; padding-top: 22px; }
  .config-controls > * { flex: 1; }
  .quote-summary { grid-template-columns: 1fr; margin-top: 10px; }
  .summary-art { height: 130px; }
  .summary-body { padding: 22px; }
  .summary-body dl { font-size: 13px; }
  .summary-total strong { font-size: 25px; }
  .form-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .field { font-size: 14px; }
  .size-preview { padding: 15px; gap: 15px; }
  .big-size { font-size: 55px; }
  .size-preview p { font-size: 12px; }
  .success-page { padding: 65px 6%; }
  .success-page h1 { font-size: 40px; }
  .wa-float { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
