/* ---- Base Reset-ish ---- */
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, "Inter", Roboto, Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.5;
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

/* ---- Top bar ---- */
.topbar {
  background-color: #111;
  color: #fff;
  font-size: 0.875rem;
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.5rem 0;
}

.top-link {
  color: #fff;
  text-decoration: none;
}

/* ---- Header ---- */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

/* --- Logo en cabecera --- */
.site-logo img {
  height: 64px;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .site-logo img {
    height: 48px;
  }
}

.logo-placeholder {
  font-weight: 600;
  font-size: 1rem;
  background: #222;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.main-nav a,
.nav-parent {
  color: #111;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.has-sub {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 0.5rem);
  min-width: 240px;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-radius: 6px;
  padding: 1rem;
  flex-direction: column;
  z-index: 50;
}

.has-sub:hover .dropdown {
  display: flex;
}

.dropdown a {
  color: #111;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  line-height: 1.4;
}

.header-cta .btn {
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
}
.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: #111;
  display: block;
  border-radius: 1px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: #111;
  border-color: #111;
  color: #fff;
}

.btn-primary:hover {
  background-color: #000;
}

.btn-accent {
  background-color: #f5b400;
  border-color: #f5b400;
  color: #111;
}
.btn-accent:hover {
  filter: brightness(0.9);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  color: #fff;
  background-color: #000; /* fallback */
  min-height: 70vh; /* antes 320px */
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.55; /* antes 0.4 */
  background-image: url("foto_7.png"); /* <- tu foto real */
}

.hero-content {
  position: relative;
  padding: 4rem 0;
  max-width: 700px;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 1vw + 1.4rem, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
}

.hero-content p {
  margin-top: 1rem;
  font-size: 1rem;
  color: #fff;
  max-width: 40ch;
}

.hero-content .btn {
  margin-top: 1.5rem;
}


/* ---- Feature cards (2-up) ---- */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.feature-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
  padding-bottom: 1.5rem;
  transition: all .18s ease;
}

.feature-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}




.feature-img {
  width: 100%;
  height: 180px;
  background-color: #111;
  overflow: hidden;
  border-bottom: 1px solid #eee;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1rem 1.5rem 0.5rem;
  color: #111;
  text-transform: uppercase;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0 1.5rem 1rem;
  color: #444;
}

.feature-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f5b400;
  text-decoration: none;
  margin: 0 1.5rem;
}

/* ---- Intro band ---- */
.intro-band {
  background-color: #111;
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}
.intro-inner {
  max-width: 800px;
}
.intro-inner h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #f5b400;
  margin-bottom: 1rem;
}
.intro-inner p {
  font-size: 1rem;
  line-height: 1.5;
  color: #ddd;
  margin-bottom: 1rem;
}

/* ---- Split section ---- */
.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}
@media(min-width: 900px) {
  .split-section {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.split-text h2 {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 1rem;
}
.split-text p {
  color: #444;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.sub-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2rem;
  margin-bottom: 1.5rem;
}
@media(min-width:600px){
  .sub-services {
    grid-template-columns: repeat(3,1fr);
  }
}
.sub-service h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111;
  text-transform: uppercase;
}
.sub-service p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}
.icon-placeholder {
  background-color: #f5b400;
  color: #111;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.split-media .img-tall-placeholder {
  width: 100%;
  height: 320px;
  background-color: #222;
  color: #fff;
  border-radius: 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.8rem;
  opacity:.8;
}
.split-media .split-photo {
  width: 100%;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  background-color: #000;
}

.split-media .split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- CTA band ---- */
.cta-band {
  background-color: #f5b400;
  color: #111;
  text-align: center;
  padding: 2.5rem 0;
}
.cta-inner h2 {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ---- Services grid ---- */
.services-grid {
  padding: 3rem 0;
}
.section-head {
  max-width: 700px;
  margin-bottom: 2rem;
}
.section-head h2 {
  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.75rem;
}
.section-head p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(260px,100%),1fr));
  gap: 1.5rem;
}
.svc-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
  padding: 1.5rem;
}
.svc-icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f5b400;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.svc-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.svc-card p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.svc-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f5b400;
  text-decoration: none;
}

/* ---- Careers ---- */
.careers-band {
  background-color: #111;
  color: #fff;
  padding: 3rem 0;
}
.careers-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media(min-width:900px){
  .careers-inner {
    grid-template-columns: 1fr 1fr;
    align-items:center;
  }
}
.careers-text h2 {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #f5b400;
  margin-bottom: 1rem;
}
.careers-text p {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.careers-media .img-placeholder {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  background-color: #222;
  color: #fff;
  font-size: 0.8rem;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:.8;
}

/* ---- Why choose us ---- */
.why-band {
  background-color: #fafafa;
  padding: 3rem 0;
}
.section-head-centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.section-head-centered h2 {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 0.75rem;
}
.section-head-centered p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}
.why-inner .why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(260px,100%),1fr));
  gap: 1.5rem;
  margin-bottom:2rem;
}
.why-card {
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
  padding: 1.5rem;
}
.why-icon {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: #f5b400;
  margin-bottom: 0.75rem;
}
.why-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.why-card p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
}

/* ---- Reviews ---- */
.reviews-band {
  background-color: #fff;
  padding: 3rem 0;
}
.reviews-inner .reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr));
  gap: 1.5rem;
}
.review-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
  padding: 1.5rem;
}
.review-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.75rem;
}
.review-card p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.review-author {
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
}

/* ---- News ---- */
.news-band {
  background-color: #fafafa;
  padding: 3rem 0;
}
.news-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr));
  gap: 1.5rem;
}
.news-card {
  background-color:#fff;
  border:1px solid #e5e5e5;
  border-radius:8px;
  box-shadow:0 12px 32px rgba(0,0,0,0.04);
  padding:1.5rem;
}
.news-card h3 {
  font-size:1rem;
  font-weight:600;
  color:#111;
  text-transform:uppercase;
  margin-bottom:0.5rem;
}
.news-card p {
  font-size:0.9rem;
  color:#444;
  line-height:1.4;
  margin-bottom:1rem;
}
.news-link {
  font-size:0.9rem;
  font-weight:600;
  color:#f5b400;
  text-decoration:none;
}

/* ---- Footer ---- */
.site-footer {
  background-color:#111;
  color:#fff;
  font-size:0.9rem;
}
.footer-inner {
  display:grid;
  grid-template-columns:1fr;
  gap:2rem;
  padding:3rem 1.5rem;
}
@media(min-width:800px){
  .footer-inner {
    grid-template-columns:repeat(3,1fr);
  }
}
.footer-col h4 {
  font-size:1rem;
  font-weight:700;
  color:#f5b400;
  text-transform:uppercase;
  margin-bottom:0.75rem;
}
.footer-col p,
.footer-col a,
.footer-col li {
  font-size:0.9rem;
  color:#ddd;
  text-decoration:none;
  line-height:1.5;
}
.footer-list {
  list-style:none;
}
.footer-list li + li {
  margin-top:0.4rem;
}
.social-row {
  display:flex;
  gap:0.75rem;
  margin-top:1rem;
}
.social-row a {
  background:#222;
  color:#fff;
  font-size:0.8rem;
  line-height:1;
  padding:0.5rem 0.6rem;
  border-radius:4px;
  text-decoration:none;
  font-weight:600;
}

/* Legal row */
.legal-row {
  border-top:1px solid #333;
  padding:1.5rem;
  text-align:center;
  color:#777;
  background-color:#0a0a0a;
  font-size:0.75rem;
}
.legal-row p {
  color:#777;
  margin-bottom:0.75rem;
}
.legal-links {
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  justify-content:center;
}
.legal-links a {
  color:#999;
  text-decoration:none;
  font-size:0.75rem;
}

/* ---- Responsive tweaks ---- */
@media(max-width:900px){
  .main-nav {
    display:none;
  }
  .mobile-menu-toggle {
    display:flex;
  }
}

@media(min-width:901px){
  .mobile-menu-toggle {
    display:none;
  }
}


/* ---- Formulario de Presupuesto ---- */
.presupuesto-section {
  padding: 3rem 0;
  max-width: 700px;
  margin: 0 auto;
}

.presupuesto-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-size: 1rem;
  border: 1px solid #eee;
}

/* Etiquetas */
.presupuesto-form label {
  display: block;
  font-weight: 600;
  margin-top: 0.8rem;
  margin-bottom: 0.3rem;
  color: #222;
  font-size: 0.95rem;
}

/* Campos */
.presupuesto-form input,
.presupuesto-form select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  background-color: #fff;
}

.presupuesto-form input:focus,
.presupuesto-form select:focus {
  outline: none;
  border-color: #f1b400; /* amarillo corporativo */
  box-shadow: 0 0 4px rgba(241,180,0,0.5);
}

/* Botón */
.presupuesto-form button {
  background-color: #f1b400;
  color: #000;
  font-weight: bold;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 1rem;
  align-self: flex-start;   /* en escritorio el botón no ocupa todo el ancho */
  width: auto;
  min-width: 200px;
  text-align: center;
  transition: background 0.2s ease;
}

.presupuesto-form button:hover {
  background-color: #d89e00;
}

/* Texto aviso RGPD y nota */
.nota-form {
  font-size: 0.8rem;
  color: #555;
}

.rgpd-text {
  font-size: 0.7rem;
  line-height: 1.4;
  color: #777;
  max-width: 480px;
  margin-top: 0.5rem;
}

/* Mensaje de éxito */
.mensaje-exito {
  text-align: center;
  font-size: 1.1rem;
  color: #111;
  background: #f5b400;
  padding: 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ---- Mejora en pantallas pequeñas ---- */
@media(max-width:600px) {
  .presupuesto-form {
    padding: 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .presupuesto-form label {
    font-size: 0.9rem;
  }

  .presupuesto-form input,
  .presupuesto-form select {
    font-size: 1rem;
    padding: 0.9rem;
  }

  .presupuesto-form button {
    width: 100%;           /* en móvil el botón sí ocupa ancho completo */
    min-width: 0;
    font-size: 1rem;
  }

  .mensaje-exito {
    font-size: 1rem;
    padding: 1.25rem;
  }
}
/* === SECCIÓN SERVICIOS CON FOTO === */

.services-section {
  padding: 4rem 0;
  background-color: #fff;
  color: #111111;
}

.services-section .section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.services-section .section-head h2 {
  font-size: clamp(1.4rem, 1vw + 1rem, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #111111;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.services-section .section-head p {
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
}

/* grid de tarjetas con foto */
.services-grid-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px,100%),1fr));
  gap: 2rem;
}

/* tarjeta individual */
.service-card {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .18s ease;
}

.service-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* zona de imagen en la tarjeta */
.service-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #111111; /* fallback */
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* textos */
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
  padding: 1rem 1rem 0.5rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.service-card p {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.4;
  padding: 0 1rem 1.5rem;
  flex-grow: 1;
}
