/* ===================================================
   Widy — páginas de diseño web / tienda online / precios
   Pensadas para leerse bien con 60 años: letra grande,
   contraste alto, fondos claros, botones grandes.
   Se apoya en /css/styles.css (tokens, cabecera, pie, planes, FAQ).
   =================================================== */

/* ---------- Tamaño de letra (selector de la barra) ---------- */
html { font-size: 100%; }
html.fs-grande { font-size: 115%; }
html.fs-enorme { font-size: 132%; }

body.web {
  font-size: 1.125rem;
  line-height: 1.7;
  --gris: #45454d;          /* secundario con contraste AA sobre blanco */
  --crema: #f7f5f0;
  --crema-2: #efece4;
  --linea: #e2dfd7;
  --marca: #e8e2d3;         /* subrayado suave de los títulos */
  color: #16161a;
  background: #fff;
}
.web .container { padding: 0 22px; }
.web p { max-width: 68ch; }
.web .center p, .web p.center, .web .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Tipografía ---------- */
.web h1 { font-size: clamp(2.1rem, 3.9vw, 3.05rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
.web .section h2 { font-size: clamp(1.9rem, 3.3vw, 2.6rem); line-height: 1.14; letter-spacing: -.02em; margin-bottom: 16px; }
.web .section-lead { font-size: 1.22rem; line-height: 1.6; max-width: 46rem; color: #3a3a42; }
.web .eyebrow {
  text-transform: none; letter-spacing: 0; font-size: 1.02rem; font-weight: 700; color: #16161a;
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.web .eyebrow::before { content: ""; width: 26px; height: 3px; background: #16161a; border-radius: 3px; }
.web .eyebrow.center { justify-content: center; }
.web em { font-style: normal; color: inherit; background: linear-gradient(transparent 64%, var(--marca) 64%); padding: 0 .08em; }
.web main p a, .web .footer-legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: #fff; color: #0e0e10; font-weight: 700; padding: 14px 20px; border-radius: 0 0 12px 0; }
.skip-link:focus { left: 0; outline: 3px solid #0e0e10; }

/* Foco grueso en todo */
.web a:focus-visible, .web button:focus-visible, .web summary:focus-visible, .web input:focus-visible, .web select:focus-visible {
  outline: 3px solid #0e0e10; outline-offset: 3px; border-radius: 6px;
}
.web .site-header a:focus-visible, .web .site-footer a:focus-visible { outline-color: #fff; }

/* ---------- Botones grandes ---------- */
.web .btn { font-size: 1.1rem; padding: 17px 32px; min-height: 60px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: normal; text-align: center; }
.web .btn-primary { background: #16161a; color: #fff; }
.web .btn-primary:hover { background: #000; }
.web .btn-outline { background: #fff; color: #16161a; border: 2px solid #16161a; }
.web .btn-outline:hover { background: var(--crema); }
.web .btn-wa { background: #25d366; color: #06331a !important; border-color: #25d366; }
.web .btn-wa:hover { background: #1eb455; border-color: #1eb455; }
.web .btn-block { width: 100%; }
.web .nav a { font-size: 1.02rem; }
.web .nav-cta { padding: 12px 22px; }

/* ---------- Barra "tamaño de letra" ---------- */
.a11y-bar { background: #fff; border-bottom: 1px solid var(--linea); }
.a11y-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 18px; padding: 10px 22px; }
.a11y-label { font-size: 1rem; font-weight: 600; color: #3a3a42; }
.a11y-btns { display: inline-flex; gap: 8px; }
.a11y-btn {
  display: inline-flex; align-items: center; gap: 7px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1rem;
  background: #fff; color: #16161a; border: 2px solid #d5d1c8; border-radius: 999px; padding: 8px 16px; min-height: 44px; cursor: pointer;
}
.a11y-btn[data-fs="grande"] { font-size: 1.12rem; }
.a11y-btn[data-fs="enorme"] { font-size: 1.28rem; }
.a11y-btn-txt { font-family: 'Inter', sans-serif; font-weight: 600; font-size: .95rem; }
.a11y-btn[aria-pressed="true"] { background: #16161a; color: #fff; border-color: #16161a; }

/* ---------- HERO claro ---------- */
.web .hero { background: linear-gradient(180deg, #fbfaf7 0%, #f2efe8 100%); color: #16161a; padding: 56px 0 44px; }
.web .hero::before { display: none; }
.web .hero-inner { grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: center; }
.web .hero .eyebrow { background: #fff; border: 1px solid var(--linea); color: #16161a; padding: 8px 16px 8px 14px; border-radius: 999px; font-size: .98rem; margin-bottom: 22px; }
.web .hero .eyebrow::before { width: 9px; height: 9px; border-radius: 50%; background: #16161a; }
.web .hero h1 { color: #16161a; margin-bottom: 20px; }
.web .hero h1 em { color: inherit; }
.web .hero-sub { font-size: 1.25rem; color: #2e2e35; max-width: 34rem; line-height: 1.6; margin-bottom: 26px; }
.web .hero-actions { gap: 12px; }
.web .hero .btn-primary { background: #16161a; color: #fff; }
.web .hero .btn-ghost { background: #fff; color: #16161a; border: 2px solid #16161a; }
.web .hero .btn-ghost:hover { background: var(--crema); color: #16161a; border-color: #16161a; }
.web .hero .trust { font-size: 1.02rem; color: #45454d; max-width: 34rem; margin-top: 20px; line-height: 1.55; }
.web .hero-article { padding: 64px 0 40px; }
.web .hero-article .hero-inner { grid-template-columns: 1fr; }
.web .hero-article .hero-copy { max-width: 860px; }

/* Maquetas: ventana + teléfono */
.devices { position: relative; padding: 0 0 70px 0; }
.laptop { border-radius: 16px; overflow: hidden; background: #111; box-shadow: 0 34px 70px -34px rgba(20,20,26,.55), 0 2px 0 rgba(0,0,0,.05); border: 1px solid rgba(0,0,0,.08); }
.laptop img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10.5; object-fit: cover; object-position: top; background: #fff; }
.case-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #1b1b1f; }
.case-bar > i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.case-bar > i:first-child { background: #fff; }
.case-url { margin-left: 6px; flex: 1; font-size: 12px; font-weight: 600; color: #b9b9bf; background: rgba(255,255,255,.08); border-radius: 999px; padding: 5px 12px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone {
  position: absolute; left: -14px; bottom: 0; width: 31%; min-width: 150px; max-width: 210px;
  border: 8px solid #111; border-radius: 34px; background: #111; overflow: hidden;
  box-shadow: 0 30px 60px -26px rgba(0,0,0,.6);
}
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 1021; object-fit: cover; object-position: top; border-radius: 26px; background: #fff; }
.phone::after { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 38%; height: 16px; background: #111; border-radius: 0 0 12px 12px; }
.devices-cap { position: absolute; right: 0; bottom: 18px; font-size: .98rem; color: #45454d; background: #fff; border: 1px solid var(--linea); border-radius: 999px; padding: 8px 14px; }

/* ---------- Tira de hechos ---------- */
.facts { background: #fff; border-bottom: 1px solid var(--linea); }
.facts-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 22px 22px; }
.fact { display: flex; align-items: center; gap: 14px; }
.fact-ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--crema); display: inline-flex; align-items: center; justify-content: center; }
.fact-ico svg { width: 24px; height: 24px; stroke: #16161a; }
.fact strong { display: block; font-family: 'Sora', sans-serif; font-size: 1.05rem; line-height: 1.25; }
.fact span { font-size: .96rem; color: var(--gris); }

/* ---------- Secciones ---------- */
.web .section { padding: 80px 0; }
.web .section-alt { background: var(--crema); }
.web .section-tight { padding: 56px 0; }

/* ---------- Alivio de precio ---------- */
.relief-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.relief { position: relative; background: #fff; border: 1px solid var(--linea); border-radius: 20px; padding: 28px 28px 28px 30px; }
.relief strong { display: flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-size: 1.2rem; margin-bottom: 10px; }
.relief strong i { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 15px; font-weight: 800; }
.relief-no strong i { background: #efece4; color: #6b6b72; }
.relief-ok { border: 2px solid #16161a; box-shadow: 0 24px 48px -30px rgba(0,0,0,.35); }
.relief-ok strong i { background: #16161a; color: #fff; }
.relief p { color: #2e2e35; font-size: 1.08rem; line-height: 1.62; }

/* ---------- Ejemplos ---------- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 44px; max-width: 1040px; margin-inline: auto; }
.case { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--linea); border-radius: 20px; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s ease, border-color .2s ease; }
.case:hover { transform: translateY(-4px); border-color: #16161a; box-shadow: 0 30px 50px -30px rgba(0,0,0,.4); }
.case-shot { display: block; }
.case-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10.5; object-fit: cover; object-position: top center; background: var(--crema); }
.case-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px 18px; }
.case-foot > span:first-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.case-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.18rem; color: #16161a; letter-spacing: -0.01em; }
.case-tag { font-size: 1rem; color: var(--gris); }
.case-tag-boceto { color: #7a5d10; }
.case-cta { flex-shrink: 0; font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700; color: #16161a; background: var(--crema); border: 1px solid var(--linea); border-radius: 999px; padding: 10px 16px; white-space: nowrap; }
.case:hover .case-cta { background: #16161a; color: #fff; border-color: #16161a; }
.cases-hint { display: none; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 1rem; font-weight: 600; color: var(--gris); }
.cases-hint > span { display: inline-flex; gap: 5px; }
.cases-hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--linea); display: inline-block; }
.cases-hint i:first-child { background: #16161a; }

/* ---------- Tarjetas con icono (qué incluye / qué necesita) ---------- */
.web .modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.web .modules-4 { grid-template-columns: repeat(2, 1fr); max-width: 980px; margin-inline: auto; }
.web .module { background: #fff; border: 1px solid var(--linea); border-radius: 20px; padding: 26px 26px 28px; transform: none !important; }
.web .section-alt .module { background: #fff; }
.web .section:not(.section-alt) .module { background: var(--crema); border-color: transparent; }
.mod-ico { width: 54px; height: 54px; border-radius: 16px; background: #16161a; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.mod-ico svg { width: 28px; height: 28px; stroke: #fff; }
.web .module h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; color: #16161a; line-height: 1.25; }
.web .module p { color: #2e2e35; font-size: 1.05rem; line-height: 1.6; }

/* ---------- Planes ---------- */
.web .plans-3 { grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 22px; }
.web .plan { background: #fff; border: 1px solid var(--linea); border-radius: 22px; padding: 30px 28px 30px; transform: none !important; }
.web .plan-featured { border: 3px solid #16161a; background: #fff; padding-top: 44px; box-shadow: 0 30px 60px -34px rgba(0,0,0,.4); }
.web .plan-badge { background: #16161a; color: #fff; font-size: .92rem; letter-spacing: .04em; padding: 8px 16px; }
.web .plan-tag { font-size: 1.05rem; letter-spacing: .04em; }
.web .plan-price { margin: 14px 0 12px; font-family: 'Sora', sans-serif; color: var(--gris); font-size: 1.05rem; }
.web .plan-setup { font-size: 2.7rem; font-weight: 800; color: #16161a; letter-spacing: -.035em; margin-right: 6px; line-height: 1; }
.web .plan-month { display: block; font-size: 1.35rem; font-weight: 800; color: #16161a; margin-top: 6px; }
.web .plan-desc { font-size: 1.08rem; color: #2e2e35; line-height: 1.55; }
.web .plan-includes { font-size: .98rem; }
.web .plan-list li { font-size: 1.05rem; line-height: 1.5; }
.web .plan .btn { width: 100%; margin-top: 8px; }
.web .plan-foot { margin-top: 14px; font-size: 1rem; color: var(--gris); text-align: center; }
.web .plans-note { max-width: 50rem; margin: 28px auto 0; text-align: center; color: #2e2e35; font-size: 1.05rem; line-height: 1.6; }

/* ---------- Cómo va (5 pasos) ---------- */
.steps5 { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 46px; counter-reset: paso; }
.step5 { background: #fff; border: 1px solid var(--linea); border-radius: 20px; padding: 24px 22px 26px; position: relative; }
.step5-n { width: 50px; height: 50px; border-radius: 50%; background: #16161a; color: #fff; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.3rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step5 h3 { font-family: 'Sora', sans-serif; font-size: 1.12rem; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.step5 p { color: #2e2e35; font-size: 1rem; line-height: 1.55; }
.step5-hl { border: 2px solid #16161a; }

/* ---------- Sectores y ciudades ---------- */
.sector-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.sector-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; background: #fff; border: 1px solid var(--linea); border-radius: 16px; padding: 18px 20px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.12rem; color: #16161a; transition: border-color .15s ease, transform .15s var(--ease); }
.sector-link::after { content: "→"; font-weight: 700; color: #16161a; }
.sector-link:hover { border-color: #16161a; transform: translateY(-2px); }
.sector-link.es-actual { background: #16161a; color: #fff; border-color: #16161a; }
.sector-link.es-actual::after { color: #fff; }
.city-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.city-link { text-decoration: none; border: 2px solid var(--linea); background: #fff; border-radius: 999px; padding: 12px 22px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.06rem; color: #16161a; }
.city-link:hover { border-color: #16161a; }
.city-link.es-actual { background: #16161a; color: #fff; border-color: #16161a; }
.local-p { font-size: 1.2rem; line-height: 1.7; margin-top: 20px; color: #16161a; }
.related-section { padding: 44px 0; border-top: 1px solid var(--linea); }
.related-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.related-links a { text-decoration: none; border: 2px solid var(--linea); background: #fff; border-radius: 999px; padding: 11px 18px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.02rem; color: #16161a; }
.related-links a:hover { border-color: #16161a; }

/* ---------- Sobre mí ---------- */
.about { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; margin-top: 46px; }
.about-photo img { width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--linea); box-shadow: 0 30px 56px -34px rgba(0,0,0,.45); background: #fff; }
.about-caption { margin-top: 16px; text-align: center; }
.about-caption strong { display: block; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.3rem; color: #16161a; letter-spacing: -.02em; }
.about-caption span { display: block; font-size: 1.05rem; color: var(--gris); margin-top: 3px; }
.about-copy p { font-size: 1.18rem; line-height: 1.72; margin-bottom: 18px; color: #16161a; }
.about-lead { font-size: 1.32rem !important; font-weight: 600; }
.about-close { background: #fff; border: 1px solid var(--linea); border-left: 5px solid #16161a; border-radius: 0 14px 14px 0; padding: 20px 22px; }
.about-copy .btn { margin-top: 6px; }

/* ---------- FAQ ---------- */
.web .faq { margin-top: 36px; }
.web .faq-item { border-radius: 16px; padding: 0 24px; margin-bottom: 12px; background: #fff; border: 1px solid var(--linea); }
.web .faq-item summary { font-size: 1.2rem; padding: 20px 0; line-height: 1.35; }
.web .faq-item summary::after { font-size: 30px; }
.web .faq-item p { font-size: 1.1rem; line-height: 1.65; color: #2e2e35; padding: 0 0 22px; }

/* ---------- Páginas de precio ---------- */
.web #tabla h2 { margin-top: 48px; }
.web #tabla h2:first-child { margin-top: 0; }
.web #tabla .section-lead { margin: 0 0 12px; }
.table-wrap { overflow-x: auto; margin-top: 22px; border: 1px solid var(--linea); border-radius: 18px; background: #fff; }
.price-table { width: 100%; border-collapse: collapse; font-size: 1.02rem; min-width: 700px; }
.price-table th, .price-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--linea); vertical-align: top; line-height: 1.5; }
.price-table th { background: var(--crema); font-family: 'Sora', sans-serif; font-size: .98rem; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .row-ok td { background: #f3f1ea; border-top: 2px solid #16161a; }
.muted { color: var(--gris); font-size: .95em; }
.check-list { margin: 20px 0 0 22px; }
.check-list li { margin-bottom: 12px; font-size: 1.12rem; line-height: 1.65; }
.web #tabla p { font-size: 1.15rem; line-height: 1.72; margin-top: 16px; }
.price-box { background: #16161a; color: #e6e6ea; border-radius: 22px; padding: 36px 34px; margin-top: 24px; }
.price-box p { color: #e6e6ea !important; font-size: 1.12rem !important; }
.price-box strong { color: #fff; }
.price-big { font-family: 'Sora', sans-serif; font-size: 2.5rem !important; font-weight: 800; color: #fff !important; letter-spacing: -.03em; margin: 0 0 12px !important; line-height: 1.1; }
.price-big span { font-size: 1.15rem; font-weight: 500; color: #c5c5cc; }
.price-box .btn-primary { background: #fff; color: #16161a; margin-top: 10px; }
.price-box .btn-primary:hover { background: #ebebeb; }

/* ---------- Formulario ---------- */
.web .cta-section { background: var(--crema); }
.form-card { background: #fff; border: 1px solid var(--linea); border-radius: 24px; padding: 34px 32px 30px; max-width: 720px; margin: 36px auto 0; box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); text-align: left; }
.web .lead-form { grid-template-columns: 1fr 1fr; gap: 18px; max-width: none; margin: 0; }
.web .field label { font-size: 1.05rem; font-weight: 700; color: #16161a; }
.web .field .opt { font-weight: 500; color: var(--gris); }
.web .field input, .web .field select { font-size: 1.12rem; padding: 15px 18px; min-height: 58px; border: 2px solid #d5d1c8; border-radius: 14px; background: #fff; color: #16161a; }
.web .field input:focus, .web .field select:focus { border-color: #16161a; box-shadow: 0 0 0 4px rgba(0,0,0,.08); }
.web .field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2316161a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.web .lead-form .btn-block { grid-column: 1 / -1; min-height: 64px; font-size: 1.15rem; margin-top: 6px; }
.web .form-msg { font-size: 1.02rem; }
.web .form-msg.ok { color: #16161a; }
.web .form-msg.error { color: #b91c1c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.boceto-form .btn-block[disabled] { opacity: .7; cursor: wait; }
.form-done { grid-column: 1 / -1; text-align: center; padding: 10px 4px; }
.form-done strong { display: block; font-family: 'Sora', sans-serif; font-size: 1.35rem; margin-bottom: 10px; line-height: 1.3; }
.form-done p { font-size: 1.08rem; margin: 0 auto; }
.form-done .btn { margin-top: 16px; }
.web .cta-section .trust { font-size: 1.05rem; color: #2e2e35; margin-top: 22px; }
.web .cta-section .trust a { color: #16161a; font-weight: 700; }

/* ---------- Barra fija en el móvil ---------- */
.cta-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--linea); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; box-shadow: 0 -10px 30px rgba(0,0,0,.08); }
.cta-bar .btn { flex: 1; min-height: 56px; font-size: 1.02rem; padding: 12px 14px; }
.cta-bar .btn-wa svg { width: 22px; height: 22px; }
body.form-visible .cta-bar { display: none !important; }

/* ---------- Pie ---------- */
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #d6d6da; text-decoration: none; font-size: 1.02rem; }
.footer-links a:hover { color: #fff; }
.web .footer-inner { grid-template-columns: 1.2fr .8fr .8fr; }
.web .footer-brand p, .web .footer-legal p { font-size: 1rem; line-height: 1.6; color: #d6d6da; }
.web .footer-contact a { font-size: 1.05rem; }
.web .footer-legal a { color: #d6d6da; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .web .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .devices { max-width: 620px; margin: 0 auto; }
  .facts-inner { grid-template-columns: repeat(2, 1fr); }
  .web .modules, .web .modules-4 { grid-template-columns: repeat(2, 1fr); }
  .web .plans-3 { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .steps5 { grid-template-columns: repeat(2, 1fr); }
  .sector-links { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; max-width: 660px; margin-inline: auto; }
  .about-photo { max-width: 320px; margin: 0 auto; }
  .web .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .web .section { padding: 60px 0; }
  .web .hero { padding: 40px 0 36px; }
  .web .hero-actions .btn { width: 100%; }
  .devices { padding-bottom: 0; padding-left: 0; }
  .phone { position: absolute; min-width: 96px; width: 27%; left: -4px; bottom: -10px; border-width: 5px; border-radius: 22px; }
  .phone img { border-radius: 17px; }
  .devices-cap { position: static; display: inline-block; margin: 22px 0 0 34%; font-size: .95rem; }
  .facts-inner { grid-template-columns: 1fr; gap: 12px; padding: 18px 22px; }
  .cases { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 4px 2px 12px; -webkit-overflow-scrolling: touch; }
  .case { flex: 0 0 86%; scroll-snap-align: start; }
  .cases-hint { display: flex; }
  .relief-grid { grid-template-columns: 1fr; }
  .web .modules, .web .modules-4 { grid-template-columns: 1fr; }
  .steps5 { grid-template-columns: 1fr; }
  .sector-links { grid-template-columns: 1fr; }
  .web .lead-form { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .price-box { padding: 28px 22px; }
  .cta-bar { display: flex; }
  .web .fab { display: none; }
  body { padding-bottom: 84px; }
}
