/*
Theme Name: Landsat Kit Digital
Theme URI: https://example.com/
Author: Landsat
Author URI: https://example.com/
Description: Tema sencillo para la web de justificación Kit Digital de Landsat / Servitecni.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: landsat-kitdigital
*/

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
  line-height: 1.6;
}

a {
  color: #000000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #111111;
}

.site-header {
  background: #ffd800; /* amarillo corporativo */
  color: #111827;
  padding: 0.75rem 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 10;
}

.site-logo-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.site-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-header .site-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.site-header .site-description {
  font-size: 0.9rem;
  opacity: 0.9;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.main-nav {
  margin-top: 1rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.main-nav a {
  font-weight: 500;
  color: #111827;
}

.main-nav a:hover {
  color: #000000;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-lang-switcher {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  background: #111827;
  border: 1px solid rgba(17, 24, 39, 0.9);
  border-radius: 999px;
  padding: 0.18rem 0.35rem;
}

.header-lang-switcher select,
.header-lang-switcher .gt_selector {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: #f9fafb;
  padding: 0.28rem 1.65rem 0.28rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.1;
}

.header-lang-switcher select:hover,
.header-lang-switcher .gt_selector:hover {
  background-color: #0b1220;
}

/* Oculta banderas/códigos si el widget los inyecta */
.header-lang-switcher img,
.header-lang-switcher .gt_current_language,
.header-lang-switcher .gt_float_switcher {
  filter: none;
}

.header-lang-switcher img {
  display: none !important;
}

/* Flecha del select */
.header-lang-switcher {
  position: relative;
}

.header-lang-switcher::after {
  content: "";
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-40%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(249, 250, 251, 0.9);
  pointer-events: none;
}

.mobile-menu-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background-color: #111827;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-overlay {
  display: none;
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.5rem 0 0.6rem;
  }

  .site-header .container {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .site-logo-title {
    gap: 0.5rem;
  }

  .header-logo-img {
    height: 32px;
  }

  .site-header .site-title {
    font-size: 1.05rem;
  }

  .site-header .site-description {
    display: none; /* ocultamos la descripción para que todo quepa en una línea */
  }

  .header-lang-switcher {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -260px;
    width: 220px;
    height: 100vh;
    background-color: rgba(17, 17, 17, 0.92);
    padding: 1rem 1rem 1.5rem;
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.4);
    transition: right 0.25s ease-out;
    z-index: 999;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .main-nav a {
    font-size: 0.85rem;
    color: #f9fafb;
    display: block;
    padding: 0.45rem 0.35rem;
    border-radius: 0.6rem;
    touch-action: manipulation;
  }

  .main-nav a:hover {
    background: rgba(255, 216, 0, 0.12);
  }

  .header-lang-switcher {
    margin-left: auto;
  }

  .mobile-menu-toggle {
    display: inline-block;
  }

  /* Animación icono hamburguesa */
  .mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-menu-open .main-nav {
    right: 0;
  }

  .mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.25);
    z-index: 40;
  }

  .mobile-menu-open .mobile-menu-overlay {
    display: block;
  }
}

.mobile-lang-inside {
  display: none;
}

@media (max-width: 768px) {
  .mobile-lang-inside {
    display: block;
    margin-bottom: 1.25rem;
  }
}

.mobile-lang-inside select,
.mobile-lang-inside .gt_selector {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background-color: #111827;
  color: #f9fafb;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
}

.content-area {
  padding: 2.5rem 0 3rem;
}

.section-home-hero,
.section-empresa-hero,
.section-servicios-hero {
  margin-top: 2rem;
}

.home-hero-image,
.empresa-hero-image,
.servicios-hero-image {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.12);
  max-width: 900px;
  margin: 0 auto;
}

.home-hero-img,
.empresa-hero-img,
.servicios-hero-img {
  display: block;
  width: 100%;
  height: auto;
}

.home-services-grid {
  align-items: stretch;
}

.home-hero-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.empresa-main-grid {
  align-items: center;
}


.hero {
  padding: 3rem 0 2.5rem;
  background: #ffd800; /* amarillo corporativo aprox */
  border-radius: 1.25rem;
  overflow: hidden;
}

.page-title,
.entry-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero .hero-grid {
  padding: 0 1rem;
}

.hero-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111827;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 0.9rem;
  color: #111827;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: #374151;
  margin-bottom: 1.4rem;
}

.hero-meta {
  font-size: 0.9rem;
  color: #4b5563;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.5);
  font-size: 0.8rem;
  color: #e5e7eb;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background-color: #22c55e;
}

.hero-card {
  background-color: #111111;
  border-radius: 1.25rem;
  padding: 1.5rem 1.6rem;
  color: #e5e7eb;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35);
}

.hero-card-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
  margin-bottom: 0.6rem;
}

.hero-card-main {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.hero-card-highlight {
  color: #bfdbfe;
}

.hero-card-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.hero-card-list strong {
  color: #e5e7eb;
}

.hero-card-dot {
  margin-top: 0.35rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: #ffd800;
}

.hero-card-note {
  font-size: 0.8rem;
  color: #9ca3af;
}

.section {
  margin-top: 2.5rem;
}

.section-header {
  margin-bottom: 1.2rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  margin-bottom: 0.3rem;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  color: #111827;
}

.section-intro {
  font-size: 0.98rem;
  color: #4b5563;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.card {
  background-color: #fff7bf; /* amarillo muy suave */
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.04);
  border: 1px solid #facc15;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
  color: #111827;
}

.card p {
  font-size: 0.95rem;
  color: #4b5563;
}

.card ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.4rem;
}

.card ul li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: #000000; /* puntos negros */
}

.highlight {
  color: #000000;
  font-weight: 600;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background-color: #111111; /* fondo oscuro neutro */
  color: #f9fafb;
  border-radius: 1rem;
  padding: 1.2rem 1.3rem;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: "“";
  position: absolute;
  font-size: 4rem;
  opacity: 0.06;
  top: -0.7rem;
  right: 0.5rem;
}

.testimonial-text {
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.testimonial-author {
  font-size: 0.85rem;
  color: #ffd800; /* acento amarillo corporativo */
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.contact-block {
  font-size: 0.95rem;
  color: #374151;
}

.contact-block h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  margin-bottom: 0.4rem;
}

.contact-form {
  background-color: #fffdf0; /* casi blanco con tono amarillo */
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  border: 1px solid #facc15;
}

.contact-form h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.form-group {
  margin-bottom: 0.8rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: #4b5563;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  background: #000000;
  color: #ffd800;
  cursor: pointer;
}

.btn-primary:hover {
  background: #222222;
}

/* Contact Form 7 (estilos para encajar con el tema) */
.wpcf7 form {
  margin-top: 0.75rem;
}

.wpcf7 label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: #4b5563;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
  background: #ffffff;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  background: #000000;
  color: #ffd800;
  cursor: pointer;
}

.wpcf7 .wpcf7-submit:hover {
  background: #222222;
}

.wpcf7 .wpcf7-response-output {
  margin: 0.9rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid #111827;
  color: #111827;
  background: #fffdf0;
}

.wpcf7 .wpcf7-not-valid-tip {
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

.wpcf7 .wpcf7-form-control-wrap.rgpd-consent,
.wpcf7 .wpcf7-form-control-wrap.rgpd-consent * {
  box-sizing: border-box;
}

.wpcf7 .wpcf7-acceptance {
  display: block;
  margin-top: 0.75rem;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.wpcf7 .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: #111827;
  margin: 0.25rem 0 0;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: #000000;
}

.wpcf7 .wpcf7-acceptance a {
  text-decoration: underline;
}

.site-footer {
  background-color: #ffd800; /* amarillo corporativo */
  color: #111827;
  padding: 1.5rem 0 2rem;
  margin-top: 2rem;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 1.5rem;
  align-items: center;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.footer-logo-placeholder {
  width: 130px;
  height: 42px;
  border-radius: 0.5rem;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.footer-text-legal {
  color: #111827;
}

.footer-text-legal strong {
  font-weight: 600;
}

.footer-meta {
  margin-top: 0.8rem;
  color: #111827; /* texto más oscuro para mejor legibilidad */
  font-size: 0.8rem;
}

.site-footer a {
  color: #000000;
}

.footer-logo-img {
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .footer-logo-img {
    max-height: 56px;
  }
}

.footer-legal-links {
  margin-top: 1rem;
  font-size: 0.8rem;
}

.footer-legal-links a {
  color: #000000;
}

.footer-legal-links a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    margin-top: 0.5rem;
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonials {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2.2rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .main-nav ul {
    flex-wrap: wrap;
    column-gap: 1.5rem;
  }
}

/* Responsive específico de Contacto */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .contact-form {
    padding: 1.1rem 1.1rem;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 1rem;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 textarea,
  .wpcf7 select {
    font-size: 1rem;
  }

  .wpcf7 .wpcf7-submit {
    width: 100%;
  }
}

