@charset "UTF-8";
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* =======================================================
   VARIABLES & RESET
======================================================= */

:root {
  --color-azul: #24333b;
  --color-cobre: #916138;
  --color-texto: #24333b;
  --color-fondo: #ffffff;
  --color-fondo-suave: #f5f7f8;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
  --max-width: 1180px;
  --radius-lg: 22px;
  --transition-fast: 220ms ease-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--color-texto);
  background: var(--color-fondo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* =======================================================
   HEADER / NAV
======================================================= */

header {
  position: relative;
  background: #111920;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ffffff10;
  border: 1px solid #ffffff30;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #ffffff;
}

.nav-brand-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

nav a {
  text-decoration: none;
  color: #d9e1e7;
  position: relative;
  padding-bottom: 0.2rem;
  transition: color var(--transition-fast);
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-cobre);
  transition: width var(--transition-fast);
}

nav a:hover {
  color: #ffffff;
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: #ffffff;
  color: #111920;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.btn-outline {
  border-color: #ffffff60;
  color: #ffffff;
  background: transparent;
}

.btn-outline:hover {
  background: #ffffff10;
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #ffffff40;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  background: #ffffff;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: #ffffff;
  left: 0;
}
.nav-toggle span::before {
  top: -5px;
}
.nav-toggle span::after {
  top: 5px;
}

/* =======================================================
   HERO
======================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: block;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, #ffffff10 0%, transparent 40%),
    rgba(0, 0, 0, 0.75);
  z-index: -1;
}

.hero-inner {
  width: 100%;
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffffb0;
  margin-bottom: 0.9rem;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.3rem, 4vw, 3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.02rem;
  max-width: 34rem;
  color: #dde3e8;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.83rem;
  color: #bcc6cd;
}

.hero-meta strong {
  display: block;
  color: #ffffff;
  font-size: 0.98rem;
}

.hero-card {
  background: #0f1822e0;
  border-radius: 26px;
  padding: 1.8rem 1.6rem;
  border: 1px solid #ffffff20;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  display: grid;
  gap: 0.6rem;
}

.hero-card h3 {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aeb8c2;
}

.hero-card-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.hero-card ul {
  list-style: none;
  font-size: 0.9rem;
  color: #d8e0e7;
  display: grid;
  gap: 0.3rem;
}

.hero-card ul li::before {
  content: "•";
  margin-right: 0.4rem;
  color: var(--color-cobre);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
/* =======================================================
   SECCIONES BASE
======================================================= */

section {
  padding: 4.5rem 0;
  scroll-margin-top: 6rem; /* compensación header fijo */
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-azul);
  margin-bottom: 0.7rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #5f6d75;
  max-width: 32rem;
  margin: 0 auto;
}

/* =======================================================
   SOBRE
======================================================= */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: flex-start;
}

.about-main {
  font-size: 0.96rem;
  color: #4a5a64;
  display: grid;
  gap: 1rem;
}

.about-highlight {
  border-left: 3px solid var(--color-cobre);
  padding-left: 1rem;
  color: #7b8991;
  font-size: 0.9rem;
}

.about-card {
  background: var(--color-fondo-suave);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(32, 59, 70, 0.08);
  font-size: 0.9rem;
  display: grid;
  gap: 0.6rem;
}

.about-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  color: var(--color-azul);
}

.about-list {
  list-style: none;
  display: grid;
  gap: 0.25rem;
  color: #5c6b74;
}

.about-list li::before {
  content: "–";
  color: var(--color-cobre);
  margin-right: 0.3rem;
}

/* =======================================================
   EQUIPO
======================================================= */

.team-section {
  background: #f8fafb;
}

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

.team-card {
  text-align: center;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.2rem;
  border: 1px solid rgba(32, 59, 70, 0.06);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.03);
  transition: var(--transition-fast);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  border-color: rgba(145, 97, 56, 0.4);
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  background: #d9e0e6;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team-name {
  font-weight: 600;
  color: var(--color-azul);
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.85rem;
  color: #7b8991;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.team-bio {
  font-size: 0.88rem;
  color: #5f6d75;
}

/* =======================================================
   SERVICIOS
======================================================= */

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

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(32, 59, 70, 0.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.03);
  display: grid;
  gap: 0.6rem;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(145, 97, 56, 0.14),
    transparent 55%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.05);
  border-color: rgba(145, 97, 56, 0.5);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f6f1ea;              /* crema */
  color: #8b7355;                   /* marrón marca */
  font-size: 18px;
  line-height: 1;
  position: relative;
}

/* por si hay pseudo-elementos metiendo otro icono */
.service-icon::before,
.service-icon::after{
  content: none !important;
}

.service-title {
  font-weight: 600;
  color: var(--color-azul);
}

.service-text {
  color: #5b6a73;
}

.service-list {
  list-style: none;
  display: grid;
  gap: 0.25rem;
  color: #6a7881;
}

.service-list li::before {
  content: "•";
  color: var(--color-cobre);
  margin-right: 0.3rem;
}

/* --- TARIFAS --- */

.pricing {
  padding: 5rem 0;
  background: #ffffff;
  text-align: center;
}

.pricing-title {
  font-size: 1.8rem;
  color: var(--color-azul);
  margin-bottom: .5rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pricing-subtitle {
  color: #5f6d75;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #f2f4f6;
  padding: .6rem 1rem;
  border-radius: 999px;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(32,59,70,0.08);
}

.toggle-label {
  font-size: .85rem;
  cursor: pointer;
  color: #7d8b94;
  user-select: none;
  transition: color .2s;
}

.toggle-label.active {
  color: var(--color-azul);
  font-weight: 600;
}

.toggle-btn {
  width: 70px;
  height: 32px;
  border-radius: 999px;
  background: #dde3e8;
  border: none;
  position: relative;
  cursor: pointer;
}

.toggle-handler {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  transition: transform .25s ease;
}

.toggle-btn.pymes .toggle-handler {
  transform: translateX(38px);
}

.pricing-group {
  display: none;
  gap: 2rem;
  margin-top: 1rem;
  justify-content: center;
}

.pricing-group.active {
  display: flex;
  flex-wrap: wrap;
}

.price-card {
  background: #ffffff;
  border: 1px solid rgba(32,59,70,0.08);
  border-radius: 20px;
  padding: 1.8rem;
  width: 280px;
  box-shadow: 0 15px 40px rgba(0,0,0,.05);
  transition: .25s;
}

.price-card.featured {
  border-color: rgba(145,97,56,0.6);
  box-shadow: 0 20px 55px rgba(0,0,0,.08);
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card h3 {
  color: var(--color-azul);
  font-weight: 600;
  margin-bottom: .3rem;
}

.price-card .tagline {
  color: #6a7881;
  font-size: .9rem;
  margin-bottom: .8rem;
}

.price-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 1rem;
  color: #5e6c75;
  font-size: .9rem;
}

.price-card li::before {
  content: "•";
  color: var(--color-cobre);
  margin-right: .3rem;
}

.price-card .price {
  font-size: 1rem;
  color: var(--color-azul);
}
/* =======================================================
   HERRAMIENTAS TEASER
======================================================= */

.tools-teaser {
  background: #f5f7fa;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* =======================================================
   BLOG
======================================================= */

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

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(32, 59, 70, 0.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.03);
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.06);
}

.blog-meta {
  font-size: 0.78rem;
  color: #8a98a2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.blog-card h3 {
  font-size: 1rem;
  color: var(--color-azul);
}

.blog-card a {
  font-size: 0.88rem;
  color: var(--color-cobre);
  text-decoration: none;
}

/* =======================================================
   FOOTER
======================================================= */

footer {
  border-top: 1px solid rgba(32, 59, 70, 0.12);
  padding: 2rem 0;
  font-size: 0.84rem;
  color: #7b8790;
  background: #f9fafb;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer-block strong {
  display: block;
  font-weight: 600;
  color: var(--color-azul);
  margin-bottom: 0.2rem;
}

.footer-links a {
  text-decoration: none;
  color: #7b8790;
  margin-right: 1rem;
}

.footer-links a:hover {
  color: var(--color-azul);
}

/* =======================================================
   WHATSAPP FLOAT
======================================================= */

.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.7rem;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  z-index: 250;
  transition: var(--transition-fast);
  opacity: 0.95;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  opacity: 1;
}

/* =======================================================
   ANIMACIONES SCROLL
======================================================= */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =======================================================
   RESPONSIVE
======================================================= */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

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

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

  nav ul {
    position: absolute;
    inset: 100% 0 auto;
    background: #05070c;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.9rem 1.75rem 1.4rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: 0.18s ease-out;
  }

  nav ul.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta .btn-outline {
    display: none;
  }
}
/* Ajuste del tamaño del logo en el header */
.nav-logo img,
.nav-logo svg {
  max-height: 200px !important;
  height: auto !important;
  width: auto !important;
}

/* RESEÑAS */
.reviews-section {
  background: #f5f7fa;
  padding: 4.5rem 0;
}

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

.review-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.8rem 1.5rem;
  border: 1px solid rgba(32,59,70,0.08);
  box-shadow: 0 18px 45px rgba(0,0,0,0.04);
  transition: transform .2s ease, box-shadow .2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.06);
}

.review-rating {
  color: var(--color-cobre);
  font-size: 1.2rem;
  margin-bottom: .4rem;
}

.review-author {
  font-weight: 600;
  color: var(--color-azul);
  margin-bottom: .4rem;
  font-size: 1rem;
}

.review-text {
  color: #5f6d75;
  font-size: .92rem;
  line-height: 1.55;
}

@media(max-width: 720px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
/* LANDING ENLACES */
.links-section {
  background: #ffffff;
  padding: 4.5rem 0;
}

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

.link-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(32,59,70,0.08);
  box-shadow: 0 14px 38px rgba(0,0,0,0.03);
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.06);
  border-color: rgba(145,97,56,0.5);
}

.link-card h3 {
  font-weight: 600;
  color: var(--color-azul);
}

.link-card p {
  color: #5f6d75;
}

.link-card a {
  font-size: 0.88rem;
  color: var(--color-cobre);
  text-decoration: none;
  font-weight: 500;
}

.link-card a:hover {
  text-decoration: underline;
}

/* Hero más pequeño para páginas internas */
.hero.hero-small {
  min-height: 40vh;
}
@media (max-width: 960px) {
  .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
}
/* ================================
   LANDING SOBRE SUÁREZ ASESORÍA
   ================================ */

/* ----- HERO ----- */
.sobre-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  padding: 4rem 0;
  background-image: url("../img/hero-oficina.jpg");
  background-size: cover;
  background-position: center;
}

.sobre-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

.sobre-hero .container {
  position: relative;
  z-index: 2;
}

.sobre-hero-title {
  font-size: 2.4rem;
  margin-bottom: .7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sobre-hero-subtitle {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  color: #dfe6ea;
}

/* ----- INTRO ----- */
.sobre-intro.section {
  padding: 4rem 0;
}

.sobre-intro .narrow {
  max-width: 800px;
}

/* ----- EQUIPO ----- */

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.equipo-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.8rem;
  border: 1px solid rgba(32,59,70,0.08);
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.equipo-foto img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.equipo-nombre {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-azul);
}

.equipo-rol {
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: 0.1em;
  color: #7f8b92;
}

.equipo-desc {
  font-size: 0.92rem;
  color: #5f6d75;
  line-height: 1.55;
  text-align: left;
}

/* ----- QUÉ OFRECEMOS ----- */
.ofrecemos-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ofrecemos-grid h3 {
  font-size: 1.1rem;
  color: var(--color-azul);
  margin-bottom: .5rem;
}

.ofrecemos-grid ul {
  list-style: none;
  padding: 0;
}

.ofrecemos-grid li::before {
  content: "• ";
  color: var(--color-cobre);
}

/* ----- GALERÍA ----- */
.galeria-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.galeria-grid img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.galeria-grid img:hover {
  transform: scale(1.02);
}

/* ----- VALORES ----- */
.valores-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.valor h3 {
  font-size: 1rem;
  color: var(--color-azul);
  margin-bottom: .4rem;
}

.valor p {
  color: #6c7a82;
  font-size: .9rem;
  line-height: 1.4;
}

/* ----- CTA FINAL ----- */
.sobre-cta {
  text-align: center;
  padding: 4rem 0 5rem;
}

.sobre-cta .btn {
  margin-top: 1rem;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 960px) {

  .equipo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .galeria-grid {
    grid-template-columns: 1fr 1fr;
  }

  .valores-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {

  .equipo-grid,
  .galeria-grid,
  .ofrecemos-grid,
  .valores-grid {
    grid-template-columns: 1fr;
  }

  .sobre-hero-title {
    font-size: 1.9rem;
  }
}
/* ====== NAVBAR: SUBMENÚ SERVICIOS ====== */

.has-submenu {
  position: relative;
}

.nav-subtoggle {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: #d9e1e7;
  cursor: pointer;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-subtoggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-cobre);
  transition: width var(--transition-fast);
}

.has-submenu:hover .nav-subtoggle {
  color: #ffffff;
}

.has-submenu:hover .nav-subtoggle::after {
  width: 100%;
}

.nav-caret {
  font-size: 0.7rem;
  margin-left: 0.25rem;
}

/* Submenú en escritorio */
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #05070c;
  border-radius: 12px;
  padding: 0.7rem 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  list-style: none;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  z-index: 200;
}

.nav-submenu li a {
  display: block;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  color: #d9e1e7;
  text-decoration: none;
}

.nav-submenu li a:hover {
  background: #0e1419;
  color: #ffffff;
}

/* Mostrar en hover (escritorio) */
.has-submenu:hover > .nav-submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ====== VERSIÓN MÓVIL ====== */
@media (max-width: 960px) {
  .has-submenu {
    width: 100%;
  }

  .nav-subtoggle {
    width: 100%;
    text-align: left;
  }

  .nav-submenu {
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0.3rem 0.8rem;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none; /* por defecto oculto en móvil */
  }

  .has-submenu.submenu-open > .nav-submenu {
    display: block;
  }

  .nav-submenu li a {
    padding: 0.35rem 0;
  }
}
/* =======================================================
   HERRAMIENTAS
   ======================================================= */

.tools-hero {
  position: relative;
  padding: 4.5rem 0 3.2rem;
  background: #111820;
  color: #ffffff;
  overflow: hidden;
}

.tools-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(145,97,56,0.25), transparent 55%),
    radial-gradient(circle at bottom right, rgba(145,97,56,0.2), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.tools-hero .container {
  position: relative;
  z-index: 1;
}

.tools-hero-title {
  font-size: clamp(2rem, 3.2vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.8rem;
}

.tools-hero-subtitle {
  max-width: 34rem;
  font-size: 0.98rem;
  color: #dde3e8;
}

/* Secciones */

.tools-section {
  background: #ffffff;
}

.tools-section-alt {
  background: #f5f7fa;
}

.tools-cta {
  text-align: center;
}

/* Grids */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.tools-calculators-embed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

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

/* Tarjetas comunes */

.tool-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(32, 59, 70, 0.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tool-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(145, 97, 56, 0.14), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.06);
  border-color: rgba(145, 97, 56, 0.5);
}

.tool-card:hover::after {
  opacity: 1;
}

.tool-card-wide {
  grid-column: span 1;
}

.tool-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(145, 97, 56, 0.1);
  color: #916138;
}

.tool-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-azul);
}

.tool-text {
  font-size: 0.9rem;
  color: #5b6a73;
}

.tool-link {
  font-size: 0.85rem;
  color: var(--color-cobre);
  text-decoration: none;
  margin-top: 0.2rem;
}

.tool-link:hover {
  text-decoration: underline;
}

/* Botón pequeñito reutilizable */

.btn-small {
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
}

/* Embeds */

.calculator-embed {
  margin-top: 0.8rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 24, 34, 0.18);
}

/* Portadas de docs */

.tool-doc-cover,
.doc-cover {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 0.7rem;
  background: #e4eaef;
}

.tool-doc-cover img,
.doc-cover img {
  width: 100%;
  display: block;
}

/* Grid documentos */

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

.doc-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(32, 59, 70, 0.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.06);
  border-color: rgba(145, 97, 56, 0.5);
}

.doc-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-azul);
}

.doc-text {
  font-size: 0.86rem;
  color: #6a7881;
}

/* Responsive herramientas */

@media (max-width: 960px) {
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tools-calculators-embed {
    grid-template-columns: 1fr;
  }

  .tools-columns {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .tools-hero {
    padding-top: 4rem;
  }

  .tools-hero-title {
    letter-spacing: 0.14em;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .doc-grid {
    grid-template-columns: 1fr;
  }
}
/* Ajuste real del espacio bajo el header */
main {
  padding-top: 0px; /* escritorio */
}

@media (max-width: 960px) {
  main {
    padding-top: 0px; /* tablets */
  }
}

@media (max-width: 720px) {
  main {
    padding-top: 0px; /* móvil */
  }
}

@media (max-width: 480px) {
  main {
    padding-top: 0px; /* móvil pequeño */
  }
}
/* ===============================
   AJUSTES DE ESPACIADO EN MÓVIL
   =============================== */
@media (max-width: 720px) {

  /* --- HERO padding --- */
  .hero-inner {
    padding: 3rem 1.5rem 3rem !important;
  }

  .hero-title {
    line-height: 1.15;
    margin-bottom: 1.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.8rem;
  }

  /* Espaciado entre elementos del hero */
  .hero-actions {
    margin-bottom: 2rem;
  }

  .hero-meta {
    gap: 1rem;
  }

  /* Tarjeta lateral del hero */
  .hero-card {
    margin-top: 2rem;
    padding: 1.4rem !important;
  }

  /* --- SECCIONES BASE en móvil --- */
  section {
    padding: 3.2rem 0 !important;
  }

  /* Más separación entre títulos y contenido */
  .section-title {
    margin-bottom: 0.9rem;
  }

  .section-subtitle {
    margin-bottom: 2rem;
  }

  /* Aumentar padding lateral general */
  .container {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }
}
/* Forzar 1 columna en móvil para evitar tarjetas aplastadas */
@media (max-width: 720px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.3rem !important;
  }

  .service-card {
    padding: 1.8rem 1.4rem !important;
  }
}
/* =======================================================
   MODO MÓVIL GLOBAL: 1 COLUMNA PARA TODAS LAS SECCIONES
======================================================= */
@media (max-width: 720px) {

  /* Cualquier grid de columnas */
  .team-grid,
  .services-grid,
  .blog-grid,
  .links-grid,
  .equipo-grid,
  .ofrecemos-grid,
  .galeria-grid,
  .valores-grid,
  .tools-grid,
  .tools-calculators-embed,
  .tools-columns,
  .doc-grid,
  .pricing-group {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Tarjetas más cómodas en móvil */
  .service-card,
  .team-card,
  .link-card,
  .price-card,
  .doc-card,
  .tool-card,
  .equipo-card {
    padding: 1.6rem 1.4rem !important;
  }

  /* Mejorar contenedores */
  .container {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }

  /* Ajuste de márgenes superiores entre secciones */
  section {
    padding: 3.2rem 0 !important;
  }
}
/* ===============================
   TARIFAS – FIX DEFINITIVO
   =============================== */

.pricing-group {
  display: none;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.pricing-group.active {
  display: flex;
  flex-wrap: wrap;
}

/* Tarjetas */
.price-card {
  background: #ffffff;
  border: 1px solid rgba(32,59,70,0.08);
  border-radius: 20px;
  padding: 1.8rem;
  width: 280px;
  box-shadow: 0 15px 40px rgba(0,0,0,.05);
  transition: transform .25s ease;
}

.price-card.featured {
  border-color: rgba(145,97,56,0.6);
  box-shadow: 0 20px 55px rgba(0,0,0,.08);
}

.price-card:hover {
  transform: translateY(-5px);
}

/* MÓVIL */
@media (max-width: 720px) {
  .pricing-group.active {
    flex-direction: column;
    align-items: stretch;
  }

  .price-card {
    width: 100%;
  }
}
/* ===== FIX BOTONES LANDING HERRAMIENTAS ===== */

#herramientas .btn-outline {
  color: var(--color-azul);
  border-color: rgba(32,59,70,0.35);
  background: #ffffff;
}

#herramientas .btn-outline:hover {
  background: var(--color-fondo-suave);
}
/* ===== CALCULADORAS (IVA / estilo común) ===== */

.calc-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-azul);
  margin: 0.55rem 0 0.25rem;
}

.calc-input,
.calc-select {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(32,59,70,0.2);
  font-size: 0.9rem;
  background: #fff;
  margin-bottom: 0.65rem;
}

.calc-mode {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0.25rem 0 0.55rem;
}

.calc-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: #5f6d75;
  background: #f5f7fa;
  border: 1px solid rgba(32,59,70,0.12);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.calc-result-box {
  margin-top: 1rem;
  background: #f5f7fa;
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(32,59,70,0.12);
}

.calc-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.calc-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.calc-error {
  margin-top: 0.8rem;
  color: #c62828;
  font-weight: 600;
}

.calc-legal {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: #6c7a82;
}
/* ===== CALCULADORA IBAN ===== */

.iban-input {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(32,59,70,0.2);
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.iban-result-box {
  margin-top: 1rem;
  background: #f5f7fa;
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(32,59,70,0.12);
}

.iban-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.copy-btn {
  font-size: 0.7rem;
  border: none;
  background: var(--color-cobre);
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
}

.copy-btn:hover {
  opacity: 0.85;
}

.iban-valid {
  margin-top: 0.6rem;
  font-weight: 600;
  color: #2e7d32;
}

.iban-error {
  margin-top: 0.6rem;
  color: #c62828;
  font-weight: 600;
}

.iban-legal {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: #6c7a82;
}
/* ===== Hipoteca: extras ===== */

.calc-details {
  margin-top: 0.9rem;
  background: #f5f7fa;
  border: 1px solid rgba(32,59,70,0.12);
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
}

.calc-summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-azul);
  font-size: 0.88rem;
  list-style: none;
}

.calc-summary::-webkit-details-marker { display:none; }

.calc-table-wrap {
  margin-top: 0.75rem;
  overflow-x: auto;
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 620px;
}

.calc-table th,
.calc-table td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid rgba(32,59,70,0.10);
  text-align: right;
  white-space: nowrap;
}

.calc-table th {
  text-align: right;
  color: #5f6d75;
  font-weight: 700;
}

.calc-table td:first-child,
.calc-table th:first-child {
  text-align: left;
}
/* ================================
   SERVICIO AUTÓNOMOS / PYMES
================================ */

/* Grid de tarjetas */
.service-target-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

/* Tarjeta */
.service-target-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 2rem 2rem 2.2rem;
  border: 1px solid rgba(32, 59, 70, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.04);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover suave */
.service-target-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.06);
}

/* Título */
.service-target-card h3 {
  font-size: 1.2rem;
  color: var(--color-azul);
  margin-bottom: 1rem;
}

/* Lista */
.service-target-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .5rem;
  color: #5f6d75;
  font-size: .95rem;
}

/* Bullet custom */
.service-target-card li::before {
  content: "•";
  color: var(--color-cobre);
  margin-right: .4rem;
}

/* Responsive */
@media (max-width: 860px) {
  .service-target-grid {
    grid-template-columns: 1fr;
  }
}
/* ================================
   CTA SERVICIOS
================================ */

.service-cta {
  padding: 5rem 0 6rem;
  background: #ffffff;
}

.service-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
}

/* Título */
.service-cta h2 {
  font-size: 1.6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-azul);
  margin-bottom: .4rem;
}

/* Texto */
.service-cta p {
  max-width: 520px;
  font-size: .95rem;
  color: #6a7881;
}

/* Botón */
.service-cta .btn {
  margin-top: 1.4rem;
}

/* Móvil */
@media (max-width: 720px) {
  .service-cta {
    padding: 4rem 0 4.5rem;
  }

  .service-cta h2 {
    font-size: 1.4rem;
  }
}
/* ===========================
   SECCIONES BASE
=========================== */

.section {
  padding: 4rem 1.25rem;
}

.section-soft {
  background: #f7f9fa;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.centered {
  text-align: center;
}

/* ===========================
   HEADERS DE SECCIÓN
=========================== */

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

.section-title {
  font-size: 1.6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2c3e45;
}

.section-subtitle {
  margin-top: .75rem;
  color: #6b7c85;
  font-size: .95rem;
}

/* ===========================
   HERO SERVICIOS
=========================== */

.service-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.service-hero.particulares {
  background-image: url("/assets/img/hero-particulares.jpg");
}

.service-hero.autonomos {
  background-image: url("/assets/img/hero-autonomos.jpg");
}

.service-hero.emprendedores {
  background-image: url("/assets/img/hero-autonomos.jpg");
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.service-hero-content {
  position: relative;
  color: #fff;
  max-width: 600px;
}

.service-hero-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.service-hero-text {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
/* ===========================
   GRIDS DE TARJETAS
=========================== */

.cards-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.cards-grid.two-cols {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-content: center;
}

.cards-grid.three-cols {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ===========================
   TARJETAS INFO (PARA QUIÉN)
=========================== */

.info-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,.05);
  text-align: left;
}

.info-card-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: #24343b;
}

.info-list {
  padding-left: 1.1rem;
  color: #5a6b73;
}

.info-list li {
  margin-bottom: .5rem;
}

/* ===========================
   TARJETAS SERVICIO (QUÉ INCLUYE)
=========================== */

.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,.05);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: .75rem;
  color: #24343b;
}

.service-card p {
  font-size: .9rem;
  color: #5f6f78;
  line-height: 1.6;
}

/* ===========================
   CTA FINAL
=========================== */

.section-cta {
  background: #fff;
}

.section-cta .section-header {
  margin-bottom: 2rem;
}

.section-cta .btn {
  margin-top: 2rem;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 768px) {
  .service-hero-title {
    font-size: 1.9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* =========================
   ACENTOS MARRÓN – SERVICIOS
   ========================= */

:root {
  --accent-brown: #8b7355;
  --accent-brown-soft: rgba(139, 115, 85, 0.12);
}

/* Icono decorativo en tarjetas */
.service-card {
  position: relative;
  border-top: 3px solid var(--accent-brown);
}

/* Listas con punto marrón */
.info-list {
  list-style: none;
  padding-left: 0;
}

.info-list li {
  position: relative;
  padding-left: 1.4rem;
}

.info-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-brown);
  font-size: 1.2rem;
  line-height: 1;
}

/* Subrayado elegante en títulos */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent-brown);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* CTA */
.section-cta {
  border-top: 1px solid var(--accent-brown-soft);
}

/* Hover pro en tarjetas */
.service-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(139, 115, 85, 0.15);
}
/* RESEÑAS */
.reviews-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.reviews-slider-wrapper {
  position: relative;
  margin-top: 2rem;
}

.reviews-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem;
}

/* Ocultar scrollbar */
.reviews-slider::-webkit-scrollbar { display: none; }
.reviews-slider { scrollbar-width: none; }

.review-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

@media (min-width: 768px) {
  .review-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (min-width: 768px) {
  .review-card {
    min-width: 50%;
  }
}

.review-rating {
  color: #b08a57; /* marrón marca */
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.review-author {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.review-text {
  color: #555;
  line-height: 1.6;
}

/* Flechas */
.review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  cursor: pointer;
  font-size: 1.8rem;
  color: #b08a57;
  z-index: 10;
}

.review-arrow.prev { left: -10px; }
.review-arrow.next { right: -10px; }

@media (max-width: 767px) {
  .review-arrow {
    display: none;
  }
}

/* CTA */
.review-cta {
  text-align: center;
  margin-top: 2.5rem;
}
.pricing-pymes-note {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--accent-brown-soft);
}

.pricing-pymes-note p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.2rem;
}

.pricing-pymes-note span {
  color: #777;
  font-size: 0.95rem;
}

.pricing-pymes-note .btn {
  margin-top: .5rem;
}
.pricing-pymes-note {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--accent-brown-soft);
}
    /* CTA SERVICIOS – más presencia sin romper diseño */
.service-cta {
  background: linear-gradient(
    180deg,
    rgba(139,115,85,0.06),
    rgba(139,115,85,0.02)
  );
  padding: 5rem 0;
  margin-top: 4rem;
}

.service-cta-inner {
  text-align: center;
  max-width: 720px;
}

.service-cta .section-title {
  font-size: 2rem;
}

.service-cta .section-subtitle {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.service-cta-actions {
  margin-top: 2.5rem;
}

/* Botón CTA más protagonista */
.service-cta .btn-primary {
  padding: 0.95rem 2.4rem;
  font-size: 1rem;
  box-shadow: 0 12px 30px rgba(139, 115, 85, 0.25);
}

.service-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(139, 115, 85, 0.35);
}
.pricing-pymes-note {
  margin-top: 3rem;
  text-align: center;
}

.pricing-pymes-note .btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.8rem 1.8rem;
  border: 2px solid var(--accent-brown);
  color: var(--accent-brown);
  background: transparent;
  border-radius: 999px;
  font-weight: 500;
}

.pricing-pymes-note .btn:hover {
  background: var(--accent-brown);
  color: #fff;
}
.toggle-btn {
  position: relative;
  width: 54px;
  height: 28px;
  background: #d9e1e7;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease;
}

.toggle-handler {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #111920;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

/* CUANDO ESTÁ EN FACTURACIÓN */
.toggle-btn.facturacion .toggle-handler {
  transform: translateX(26px);
}
.how-we-help {
  background: #fff;
}

.help-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.help-block {
  padding: 2.5rem;
  border-radius: 18px;
  background: #f9fafb;
}

.help-block h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.help-block p {
  margin-bottom: 1rem;
  color: #4b5563;
  line-height: 1.7;
}

.help-highlight {
  margin-top: 1.5rem;
  font-weight: 500;
  color: var(--accent-brown);
}

.help-block.highlighted {
  background: #fff;
  border: 2px solid var(--accent-brown-soft);
}

/* Responsive */
@media (max-width: 900px) {
  .help-split {
    grid-template-columns: 1fr;
  }
}
.how-we-help-pro {
  background: #fff;
}

.help-columns {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  margin-top: 3.5rem;
}

.help-column {
  padding: 3rem;
  border-radius: 20px;
  background: #f9fafb;
}

.help-column.featured {
  background: #fff;
  border: 2px solid var(--accent-brown-soft);
}

.help-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-brown);
  margin-bottom: 0.75rem;
}

.help-column h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.help-intro {
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #374151;
}

.help-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.help-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
  color: #4b5563;
}

.help-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-brown);
  font-size: 1.3rem;
  line-height: 1;
}

.help-closure {
  font-weight: 500;
  color: var(--accent-brown);
}

/* Responsive */
@media (max-width: 900px) {
  .help-columns {
    grid-template-columns: 1fr;
  }
}
/* =========================
   CÓMO TE AYUDAMOS
========================= */

.how-help {
  background: #fafafa;
}

.how-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.how-help-block {
  background: #fff;
  padding: 2.8rem 2.5rem;
  border-radius: 18px;
  border: 1px solid #eee;
}

.how-help-block.highlighted {
  border: 2px solid var(--accent-brown);
}

.how-help-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-brown);
  margin-bottom: 0.6rem;
}

.how-help-block h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.how-help-intro {
  color: #666;
  margin-bottom: 1.6rem;
}

.how-help-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
}

.how-help-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.8rem;
}

.how-help-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-brown);
}

.how-help-close {
  font-weight: 500;
  color: #333;
}
/* =========================
   SERVICIOS PARTICULARES
========================= */

.personal-services {
  background: #fafafa;
}

.personal-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.personal-service {
  background: #fff;
  padding: 2.2rem 2rem;
  border-radius: 16px;
  border: 1px solid #eee;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.personal-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.personal-service h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: #1f2d3d;
}

.personal-service p {
  color: #555;
  line-height: 1.6;
}
.services-7 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  padding: 2.2rem;
  border-radius: 18px;
  border: 1px solid #eee;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}

.service-title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}
.tools-cta .btn {
  margin-top: 2rem;
}
.calendar-embed {
  margin-top: 3rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
  .calendar-embed iframe {
    height: 500px;
  }
}
.client-area-section {
  padding: 6rem 0;
}

.client-area-actions {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.client-area-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 3rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.client-area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.1);
}

.client-area-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.client-area-card p {
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .client-area-actions {
    grid-template-columns: 1fr;
  }
}
/* Botón outline sobre fondo claro */
.btn-outline-light {
  background: transparent;
  border: 2px solid #1f2933; /* mismo tono que textos */
  color: #1f2933;
}

.btn-outline-light:hover {
  background: #1f2933;
  color: #ffffff;
}
/* GRID */
.client-area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

/* TARJETAS */
.client-area-card {
  background: #fff;
  border-radius: 22px;
  padding: 2.8rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}

/* TEXTO */
.client-area-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.client-area-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* BOTÓN */
.card-action {
  margin-top: 2rem;
}

/* MOBILE */
@media (max-width: 900px) {
  .client-area-grid {
    grid-template-columns: 1fr;
  }
}
/* BOTÓN FACTURACIÓN - FORZAR VISIBILIDAD */
.client-area-card .btn-outline {
  background-color: transparent;
  color: #2f3a40;              /* texto oscuro */
  border: 2px solid #2f3a40;   /* borde visible */
}

.client-area-card .btn-outline:hover {
  background-color: #2f3a40;
  color: #ffffff;
}
/* ==========================
   CITA PREVIA
========================== */

.cita-previa {
  background: #f8f9fa;
}

.cita-previa-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cita-previa-note {
  margin-top: 0.75rem;
  color: #6a7881;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .cita-previa-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cita-previa-action {
  margin-top: 2rem;
}
.cita-previa-note {
  margin-top: 1rem;
}
}
/* Por defecto: oculto en escritorio */
.nav-mobile-only {
  display: none;
}

/* En móvil: mostrar dentro del menú */
@media (max-width: 960px) {
  .nav-mobile-only {
    display: block;
  }

  /* Opcional: darle estilo de CTA */
  .nav-area-link {
    display: block;
    margin-top: 1rem;
    padding: 0.9rem 1.2rem;
    text-align: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-weight: 500;
  }
}
/* CTA CITA PREVIA – forzar layout vertical y centrado */
.tools-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Limitar ancho del texto para que no quede larguísimo */
.tools-cta .section-subtitle {
  max-width: 720px;
}

/* Separar bien el botón del texto */
.tools-cta .btn {
  margin-top: 2rem;
}
/* ===== GALERÍA (Sobre) ===== */
.sobre-galeria .section-title,
.sobre-galeria .section-subtitle {
  text-align: left;
  margin-left: 0;
}
/* ===== EQUIPO (Sobre) ===== */
.sobre-equipo .section-title,
.sobre-equipo .section-subtitle {
  text-align: left;
  margin-left: 0;
}
/* Separación botón en cita previa */
.cita-previa-action {
  margin-top: 2rem;
}
/* Footer legal */
.footer-legal {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #9aa3aa;
}

.footer-legal a {
  color: #9aa3aa;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-legal a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255,255,255,0.4);
}
/* ===== RESUMEN GOOGLE ===== */

.reviews-summary {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-summary a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  padding: 1.5rem 2rem;
  border-radius: 18px;
  background: #f5f7f8;
  transition: 0.3s ease;
}

.reviews-summary a:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.reviews-stars {
  font-size: 1.6rem;
  color: #f5b400;
  letter-spacing: 3px;
  margin-bottom: 0.4rem;
}

.reviews-score strong {
  font-size: 2rem;
  color: #111920;
}

.reviews-score span {
  display: block;
  font-size: 0.85rem;
  color: #6c7a82;
}

.reviews-count {
  font-size: 0.9rem;
  margin-top: 0.4rem;
  color: #6c7a82;
}
/* ===== FOOTER ===== */
footer {
  padding: 80px 0 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 120px;
  flex-wrap: wrap;
}

.footer-block {
  min-width: 220px;
}

.footer-block strong {
  display: block;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
}

.footer-contact a,
.footer-legal-links a {
  display: block;
  margin-bottom: 12px;
  text-decoration: none;
  color: #6c7a82;
  transition: 0.25s ease;
}

.footer-contact a:hover,
.footer-legal-links a:hover {
  color: #111920;
}

/* BLOQUE INFERIOR CENTRADO */
.footer-bottom {
  text-align: center;
  margin-top: 70px;
  font-size: 13px;
  color: #8a969e;
}

.footer-bottom a {
  color: #6c7a82;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #111920;
}
/* ===============================
   SUBMENÚ MISMO COLOR QUE HEADER
=============================== */

.nav-submenu {
  background: var(--header-bg) !important;
  box-shadow: none !important;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Hover más sutil */
.nav-submenu a {
  background: transparent;
  color: var(--header-text);
  transition: 200ms ease;
}

.nav-submenu a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--header-white);
}
@media (max-width: 960px) {

  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    background: #111920 !important;
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 1.4rem;
  }

}
/* ==========================
   COOKIE MANAGER
========================== */

.cookie-banner {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 9999;
  width: min(92vw, 420px);
  animation: cookieFadeUp 0.35s ease both;
}

.cookie-banner.hidden,
.cookie-modal.hidden {
  display: none;
}

.cookie-box,
.cookie-modal-box {
  background: #111920;
  color: #ffffff;
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.cookie-kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #916138;
  font-weight: 600;
}

.cookie-box h3,
.cookie-modal-box h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  color: #ffffff;
}

.cookie-box p,
.cookie-modal-box p {
  margin: 0 0 1.2rem;
  color: #d9e1e7;
  font-size: 0.9rem;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn {
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  cursor: pointer;
  transition: 220ms ease;
}

.cookie-btn.primary {
  background: #ffffff;
  color: #111920;
  border-color: #ffffff;
}

.cookie-btn.secondary {
  background: transparent;
  color: #ffffff;
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 25, 32, 0.62);
  backdrop-filter: blur(6px);
}

.cookie-modal-box {
  position: relative;
  width: min(92vw, 520px);
  z-index: 1;
}

.cookie-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
}

.cookie-option {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
}

.cookie-option input {
  margin-top: 0.25rem;
}

.cookie-option strong {
  display: block;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.cookie-option small {
  display: block;
  color: #d9e1e7;
  line-height: 1.45;
}

.modal-actions {
  margin-top: 1rem;
}

@keyframes cookieFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}
.footer-cookie-settings {
  display: block;
  margin-top: 0.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6c7a82;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.footer-cookie-settings:hover {
  color: #111920;
} 
#site-header {
  min-height: 96px;
}
@media (max-width: 960px) {
  #site-header {
    min-height: 110px;
  }
}