/* =========================================
   KINTU MECÁNICO UI 1.1 – styles.css
   ========================================= */

/* --------- PALETA GLOBAL --------- */
:root {
  --bg-page: #020617;
  --bg-hero: radial-gradient(circle at top left, #1e293b 0%, #020617 55%, #020617 100%);
  --bg-section-light: #f5f7fa;
  --bg-section-alt: #e8f0ff;
  --bg-card: #ffffff;

  --border-soft: #e5e7eb;

  --text-strong: #0f172a;
  --text-main: #1f2937;
  --text-muted: #4b5563;

  --primary: #2563eb;
  --primary-strong: #1d4ed8;

  --radius-xl: 1.75rem;
  --radius-lg: 1.25rem;
  --radius-md: 1rem;

  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.35);
  --shadow-card: 0 14px 30px rgba(15, 23, 42, 0.12);
}

/* --------- RESET SUAVE --------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-main);
  background-color: var(--bg-page);
}

/* Para que se vea como Wherex: franja hero oscura y luego secciones claras */
main {
  background: linear-gradient(to bottom, #020617 0, #020617 420px, #f5f7fa 420px);
}

/* Contenedor común de secciones (menos el hero) */
.section-inner,
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}


/* =========================================
   HEADER
   ========================================= */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(2, 6, 23, 0.96);
  border-bottom: 1px solid rgba(15, 23, 42, 0.6);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.5rem 0rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: #f9fafb;
}

.version-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
}

nav a {
  color: #e5e7eb;
  text-decoration: none;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

nav a:hover {
  background-color: rgba(15, 23, 42, 0.85);
  color: #ffffff;
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}-->

/* =========================================
   HERO
   ========================================= */
#hero {
  background: var(--bg-hero);
  color: #e5e7eb;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.hero-text h1 {
  margin-top: 0.25rem;
  margin-bottom: 0.9rem;
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #93c5fd;
  margin: 0;
}

.hero-subtitle {
  margin-top: 0.4rem;
  margin-bottom: 1.4rem;
  max-width: 36rem;
  color: #cbd5f5;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-chip {
  font-size: 0.8rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.55);
}

/* Panel lateral del hero */
.hero-panel {
  background: radial-gradient(circle at top, #1e293b 0%, #020617 70%);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.5rem 1.8rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.hero-panel h3 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  font-size: 1.15rem;
  color: #ffffff;
}

.hero-panel ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.9rem 0;
}

.hero-panel li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.hero-panel li::before {
  content: "•";
  position: absolute;
  left: 0.4rem;
  top: 0.02rem;
  color: #60a5fa;
}

.hero-panel-text {
  font-size: 0.9rem;
  color: #cbd5ff;
  margin-bottom: 0.9rem;
}

.hero-panel-btn {
  width: 100%;
}

/* HERO responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .hero-inner {
    padding-top: 2.5rem;
  }
}

/* =========================================
   SECCIONES GENERALES (excepto hero)
   ========================================= */
.section-light {
  background-color: var(--bg-section-light);
}

.section-alt {
  background-color: var(--bg-section-alt);
}

section h2 {
  margin-top: 0;
  margin-bottom: 1.1rem;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

section p {
  line-height: 1.6;
  font-size: 0.98rem;
  color: var(--text-main);
}

/* Layouts de 2 columnas */
.about-layout,
.assistant-layout,
.providers-layout,
.forum-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.about-image img,
.assistant-image img,
.providers-image img,
.forum-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

/* Responsive columnas */
@media (max-width: 900px) {
  .about-layout,
  .assistant-layout,
  .providers-layout,
  .forum-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .providers-image,
  .forum-image {
    order: -1;
  }
}

/* =========================================
   BOTONES
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.1s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: var(--primary-strong);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn-secondary:hover {
  border-color: #ffffff;
  background-color: rgba(15, 23, 42, 0.4);
  transform: translateY(-2px);
}

/* =========================================
   QUIÉN SOY
   ========================================= */
.about-text p + p {
  margin-top: 0.7rem;
}

/* =========================================
   KINTU INFO – 4 TARJETAS
   ========================================= */
.kintu-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.kintu-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.3rem 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kintu-card h3 {
  margin-top: 0.7rem;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  color: var(--text-strong);
}

.kintu-card p {
  font-size: 0.94rem;
  color: var(--text-main);
}

.kintu-icon img {
  width: 40px;
  height: 40px;
}

/* Hover dinámico */
.kintu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
  border-color: var(--primary);
}

/* =========================================
   CASOS DESTACADOS
   ========================================= */
#featured-cases {
  background: linear-gradient(135deg, #f9fafb 0%, #eef2ff 100%);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.3rem;
  align-items: flex-start;
}

/* Card de caso */
.case {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 1.2rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}

.case:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.case h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  color: var(--text-strong);
}

.case p {
  font-size: 0.95rem;
  min-height: 70px;
}

/* Contenedor del video */
.case-media {
  margin-top: 0.75rem;
  border-radius: 0.75rem;
  overflow: hidden;
}

/* Forzar ancho correcto del embed */
.case-media .tiktok-embed,
.case-media iframe {
  width: 100% !important;
  max-width: 100% !important;
}

.case-media iframe {
  aspect-ratio: 9 / 16;
  height: auto;
}

/* Nota bajo los casos */
.cases-note {
  margin-top: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Versión móvil: 1 card por fila */
@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================
   ASISTENTE GPT
   ========================================= */
.assistant-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
}

/* =========================================
   PROVEEDORES
   ========================================= */
.providers-text ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.8rem;
}

.providers-text li {
  padding: 0.45rem 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

.providers-text li:last-child {
  border-bottom: none;
}

.providers-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.providers-link:hover {
  text-decoration: underline;
}

/* =========================================
   FORO
   ========================================= */
.forum-text p {
  max-width: 32rem;
}

/* =========================================
   CONTACTO
   ========================================= */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-form label {
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.7rem;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.contact-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0;
  max-width: 1120px;
  margin-inline: auto;
  padding: 0 1.5rem 2.5rem;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background-color: #020617;
  color: #9ca3af;
  padding: 1.2rem;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.95);
}

/* =========================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================= */
.help-whatsapp {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 40;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  background: #22c55e;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 16px 35px rgba(22, 163, 74, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.help-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.7);
  background: #16a34a;
}

/* =========================================
   ANIMACIÓN REVEAL
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   TÍTULOS CENTRADOS / TEXTO JUSTIFICADO
   SIN CAMBIAR LA ESTRUCTURA
   ========================================= */

/* Títulos dentro de secciones y tarjetas clave */
section h2,
.hero-panel h3,
.kintu-card h3,
.case h3 {
  text-align: center;
}

/* Párrafos y listas justificados */
section p,
.hero-panel p,
.hero-panel ul,
.kintu-card p,
.providers-text p,
.assistant-text p,
.forum-text p,
.contact-text p {
  text-align: justify;
}

/* Botones centrados en módulos concretos */
.hero-panel .btn,
.assistant-text .btn,
.forum-text .btn {
  display: block;
  margin: 18px auto 0 auto;
  text-align: center;
}


/* ============================================================
   PÁGINA PROVEEDORES – KINTU MECÁNICO
   ============================================================ */

/* VARIABLES (usar mismas del INDEX) */
:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1e3a8a;

  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --text-dark: #0f172a;
  --text-light: #e2e8f0;
  --text-white: #ffffff;

  --radius: 14px;
  --radius-lg: 18px;

  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.22);
}

/* ============================================================
   LAYOUT GENERAL
   ============================================================ */
body.page-proveedores {
  background: var(--gray-50);
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
}

.section-inner {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  padding: 60px 24px;
}

.providers-section {
  width: 100%;
  padding: 60px 0;
}

.providers-section--light {
  background: var(--gray-100);
}

.providers-section--white {
  background: #ffffff;
}

/* ============================================================
   ANIMACIONES / TRANSICIONES (Scroll Reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HERO PROVEEDORES
   ============================================================ */

.providers-hero {
  width: 100%;
  padding: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0a0f1f 100%);
  color: var(--text-white);
  
}


.providers-hero-inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: 50px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.providers-hero-text {
  flex: 1;
}

.providers-hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.providers-hero .hero-kicker {
  text-transform: uppercase;
  font-size: 14px;
  opacity: 0.75;
  margin-bottom: 12px;
}

.providers-hero .hero-subtitle {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 16px;
}

/* Imagen Hero */
.providers-hero-media {
  flex: 1;
  display: flex;
  justify-content: center;
}

.providers-hero-media img {
  max-width: 480px;
  border-radius: var(--radius-lg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.providers-hero-media img:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-block;
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #e2e8f0;
  color: var(--gray-900);
}

.btn-secondary:hover {
  background: #cbd5e1;
  transform: translateY(-2px);
}

/* ============================================================
   CÓMO FUNCIONAN – TARJETAS
   ============================================================ */
.providers-criteria-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 45px;
}

.criteria-card {
  background: #ffffff;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.criteria-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
  font-weight: 600;
}

.criteria-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.criteria-tagline {
  font-weight: 600;
  margin-bottom: 10px;
}

/* ============================================================
   LISTADO DE PROVEEDORES – TARJETAS
   ============================================================ */
.provider-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.provider-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.provider-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.provider-card-header h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.provider-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
}

.badge-taller {
  background: #1e40af;
}

.badge-repuestos {
  background: #0d9488;
}

.badge-mixto {
  background: #9333ea;
}

.badge-zone {
  background: #64748b;
}

.badge-kintu {
  background: var(--primary);
}

.provider-desc {
  margin-bottom: 14px;
  line-height: 1.55;
}

.provider-contact a {
  color: var(--primary-dark);
  text-decoration: none;
}

.provider-contact a:hover {
  text-decoration: underline;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.providers-cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.providers-cta-text {
  flex: 1;
}

.providers-cta-media img {
  max-width: 440px;
  border-radius: var(--radius-lg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.providers-cta-media img:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP (igual que INDEX)
   ============================================================ */
.help-floating {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: #22c55e;
  color: white;
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.25s ease;
  z-index: 999;
}

.help-floating:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .providers-hero-inner,
  .providers-cta-layout {
    flex-direction: column;
    text-align: center;
  }

  .providers-hero-media img,
  .providers-cta-media img {
    max-width: 80%;
  }
}


/* =========================================
   FORO KINTU MECÁNICO – ESTILOS LIMPIOS
   ========================================= */

/* Hero del foro: mismo degradado que proveedores/index */
.forum-hero {
  margin-top: 0;
  padding: 4.5rem 8vw 4rem;
  background: radial-gradient(circle at top, #1e40af 0%, #020617 40%, #020617 100%) !important;
  color: #f9fafb;
}

/* El hero usa un contenedor interno para la grilla */
.forum-hero-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.forum-hero-text h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  color: #f9fafb;
}

.forum-hero-text p {
  margin: 0;
  max-width: 36rem;
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: justify;
  color: #e5e7eb;
}

.forum-hero-cta {
  margin-top: 1.6rem;
}

/* Imagen del hero */
.forum-hero-image {
  display: flex;
  justify-content: center;
}

.forum-hero-image img {
  max-width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.75);
}


/* ============================================
   CONTACTO — Corrección de márgenes y layout
============================================ */

#contacto {
  padding: 5rem 10rem;     /* <-- AQUI se añade el margen lateral */
  background: #f8fafc;
}


.contact-layout {
  max-width: 1220px;
  margin: 0 auto;
  padding: 10 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-layout p {
  margin-bottom: 0.8rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1e293b;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  background: #ffffff;
  font-size: 0.95rem;
}

.contact-form button {
  margin-top: 0.5rem;
  padding: 1rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

/* Responsive — en móviles se apilan */
@media (max-width: 820px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form button {
    width: 100%;
  }
}
/* Logo dentro del header */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* espacio entre logo y texto */
}

.logo-img {
    height: 70px;           /* puedes ajustar entre 32–44px */
    width: auto;
    display: block;
}


/*Visualización Movil*/

@media (max-width: 768px) {
  /* General */
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 12px;
  }

  /* Header: logo + menú en columna */
  header .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Hero: que el texto no quede muy ancho */
  .hero {
    padding: 40px 0;
  }

  .hero-content {
    max-width: 100%;
  }

  /* Grillas: pasar de 3 columnas a 1 o 2 */
  .grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Tarjetas / cards */
  .card {
    padding: 16px;
  }
}
