/* Panimás para empresas — colaciones y chocas */
.empresas { background: #FBF6EE; }
.emp-wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero */
.emp-hero { background: #2A1A0F; color: #F3E7D6; padding: 150px 0 90px; overflow: hidden; }
.emp-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.emp-kicker { font-family: var(--f-hand); font-size: 1.6rem; color: var(--naranja-claro); margin-bottom: 10px; }
.emp-hero h1 { font-family: var(--f-display); font-weight: 600; color: #FFF8EE; font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 15ch; font-variation-settings: 'opsz' 144, 'SOFT' 30; }
.emp-lead { font-size: 1.15rem; line-height: 1.6; color: #D9C7B0; max-width: 44ch; margin-top: 22px; }
.emp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.emp-btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-ui); font-weight: 700; font-size: 1rem; padding: 14px 24px; border-radius: 10px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.emp-btn-primary { background: var(--naranja); color: #2A1A0F; }
.emp-btn-primary:hover { background: #FFA733; }
.emp-btn-ghost { color: #F3E7D6; border-color: rgba(243,231,214,.35); }
.emp-btn-ghost:hover { border-color: #F3E7D6; }
.emp-btn:focus-visible, .emp-form :focus-visible { outline: 3px solid var(--naranja-claro); outline-offset: 2px; }

.emp-hero-media { position: relative; margin: 0; }
.emp-hero-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; display: block; }
/* La etiqueta de despacho: el elemento protagonista */
.emp-label { position: absolute; left: -36px; bottom: 30px; width: min(290px, 78%); background: #E9D3B1; color: #2A1A0F; padding: 16px 18px 14px; border-radius: 3px; box-shadow: 0 18px 40px rgba(0,0,0,.35); transform: rotate(-2.5deg); font-size: .86rem; line-height: 1.35; display: grid; gap: 6px;
  background-image: repeating-linear-gradient(0deg, rgba(42,26,15,.035) 0 1px, transparent 1px 4px); }
.emp-label::before { content: ''; position: absolute; top: 12px; right: 14px; width: 12px; height: 12px; border-radius: 50%; background: #FBF6EE; box-shadow: inset 0 0 0 2px rgba(42,26,15,.25); }
.emp-label-head { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; padding-bottom: 6px; border-bottom: 1.5px dashed rgba(42,26,15,.4); margin-bottom: 2px; }
.emp-label-row { display: flex; justify-content: space-between; gap: 12px; }
.emp-label-row span:last-child { font-variant-numeric: tabular-nums; font-weight: 700; }
.emp-label-foot { font-family: var(--f-hand); font-size: 1.15rem; color: #7A4A12; padding-top: 6px; border-top: 1.5px dashed rgba(42,26,15,.4); margin-top: 2px; }

/* Secciones */
.emp-section { padding: clamp(64px, 9vw, 110px) 0; }
.emp-section h2 { font-family: var(--f-display); font-weight: 600; color: var(--cafe); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.015em; }
.emp-two { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.emp-prose { font-size: 1.08rem; line-height: 1.75; color: #3D2B1E; max-width: 62ch; }
.emp-prose p + p { margin-top: 18px; }
.emp-sub { color: #6B5747; font-size: 1.05rem; max-width: 62ch; margin: 14px 0 34px; }
.emp-note { color: #6B5747; max-width: 70ch; margin-top: 22px; }
.emp-que { border-bottom: 1px solid #E6D8C4; }

/* Tabla de formatos */
.emp-formatos { background: #fff; }
.emp-table-wrap { overflow-x: auto; border-top: 2px solid var(--cafe); }
.emp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.emp-table th, .emp-table td { text-align: left; padding: 15px 18px 15px 0; border-bottom: 1px solid #EADFCF; vertical-align: top; font-size: .98rem; line-height: 1.45; }
.emp-table thead th { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--cafe); padding-top: 18px; }
.emp-table tbody th { font-weight: 600; color: #8A6A4E; width: 16%; }
.emp-table td { color: #3D2B1E; }
.emp-table tbody tr:last-child th, .emp-table tbody tr:last-child td { border-bottom: 0; }

/* Proceso */
.emp-proceso-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.emp-proceso-media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; display: block; }
.emp-steps { list-style: none; counter-reset: paso; margin-top: 26px; display: grid; gap: 22px; }
.emp-steps li { counter-increment: paso; position: relative; padding-left: 52px; color: #3D2B1E; line-height: 1.6; }
.emp-steps li::before { content: counter(paso); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--naranja); color: var(--naranja-osc); font-family: var(--f-display); font-weight: 700; display: grid; place-items: center; }
.emp-steps strong { display: block; color: var(--cafe); }

/* Para quién */
.emp-quien { background: #F3E9DA; }
.emp-premio { display: flex; gap: 14px; align-items: center; font-size: .98rem; color: #3D2B1E; padding-top: 18px; border-top: 1px solid #DCCBB3; }
.emp-premio img { width: 96px; height: 64px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.emp-premio a, .emp-form-intro a { color: #A35A00; font-weight: 600; }

/* Formulario */
.emp-form-sec { background: #FBF6EE; }
.emp-form-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.emp-form-intro p { color: #3D2B1E; margin-top: 16px; max-width: 40ch; line-height: 1.65; }
.emp-form { background: #fff; border: 1px solid #E6D8C4; border-radius: 6px; padding: clamp(22px, 4vw, 36px); }
.emp-form fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.emp-form legend { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--cafe); margin-bottom: 14px; }
.emp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.emp-field.full { grid-column: 1 / -1; }
.emp-field label, .emp-label-txt { display: block; font-size: .9rem; font-weight: 600; color: var(--cafe); margin-bottom: 6px; }
.emp-field label span { font-weight: 400; color: #8A6A4E; }
.emp-field input, .emp-field select, .emp-field textarea { width: 100%; font: inherit; font-size: 1rem; color: #2B1A10; background: #fff; border: 1px solid #D9C8B2; border-radius: 6px; padding: 11px 12px; transition: border-color .15s, box-shadow .15s; }
.emp-field input:focus, .emp-field select:focus, .emp-field textarea:focus { outline: none; border-color: var(--naranja); box-shadow: 0 0 0 3px rgba(247,148,29,.18); }
.emp-field.is-invalid input, .emp-field.is-invalid select { border-color: #B42318; }
.emp-err { color: #B42318; font-size: .85rem; margin-top: 5px; }
.emp-alert { background: #FDEDEB; color: #7A1F14; border-left: 3px solid #B42318; padding: 10px 14px; margin-bottom: 20px; font-size: .95rem; }
.emp-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.emp-check { display: inline-flex; align-items: center; gap: 8px; font-size: .97rem; color: #3D2B1E; cursor: pointer; }
.emp-check input { width: 18px; height: 18px; accent-color: var(--naranja); }
.emp-submit { width: 100%; justify-content: center; }
.emp-hp { position: absolute; left: -9999px; }
.emp-done { background: #fff; border: 1px solid #E6D8C4; border-left: 4px solid var(--naranja); border-radius: 6px; padding: 32px; }
.emp-done h3 { font-family: var(--f-display); font-size: 1.6rem; color: var(--cafe); margin-bottom: 10px; }
.emp-done p { color: #3D2B1E; line-height: 1.65; }

/* Una sola animación: la etiqueta entra al cargar */
@media (prefers-reduced-motion: no-preference) {
  .emp-label { animation: emp-label-in .9s cubic-bezier(.2,.8,.2,1) .35s both; }
  @keyframes emp-label-in { from { opacity: 0; transform: translate(-24px, 16px) rotate(-8deg); } to { opacity: 1; transform: rotate(-2.5deg); } }
}

@media (max-width: 900px) {
  .emp-hero { padding: 130px 0 70px; }
  .emp-hero-grid, .emp-two, .emp-proceso-grid, .emp-form-grid { grid-template-columns: 1fr; }
  .emp-hero-media { max-width: 460px; }
  .emp-label { left: 10px; bottom: 12px; width: min(250px, 72%); font-size: .8rem; }
}
@media (max-width: 560px) {
  .emp-grid { grid-template-columns: 1fr; }
  .emp-hero h1 { max-width: none; }
}
@media (max-width: 760px) { .empresas .emp-hero { padding-top: 220px; } }

.emp-label-opt { color: #6B4A2A; font-style: italic; }
.emp-label-opt span:last-child { font-weight: 500; font-variant-numeric: normal; font-size: .78rem; }
.emp-note + .emp-note { margin-top: 10px; }

/* Dónde entregamos */
.emp-zona { background: #fff; }
.emp-comunas { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0; }
.emp-comunas li { border: 1px solid #D9C8B2; border-radius: 999px; padding: 6px 14px; font-size: .95rem; color: var(--cafe); background: #FBF6EE; }
/* Preguntas frecuentes */
.emp-faq { border-top: 1px solid #E6D8C4; }
.emp-faq-list { max-width: 64ch; }
.emp-faq-item { border-bottom: 1px solid #E6D8C4; }
.emp-faq-item summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--cafe); }
.emp-faq-item summary::-webkit-details-marker { display: none; }
.emp-faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-family: var(--f-ui); font-size: 1.5rem; color: var(--naranja-osc); transition: transform .2s; }
.emp-faq-item[open] summary::after { transform: rotate(45deg); }
.emp-faq-item summary:focus-visible { outline: 3px solid var(--naranja-claro); outline-offset: 2px; }
.emp-faq-item p { padding: 0 0 20px; color: #3D2B1E; line-height: 1.7; }
