:root {
  --mint: #56c7c4;
  --mint-dark: #1f8d8a;
  --mint-soft: #eefbfa;
  --mint-strong: #0f6765;
  --black: #0f1418;
  --white: #ffffff;
  --line: #dbe9e8;
  --line-strong: #cfe1e0;
  --text: #1b2328;
  --text-soft: #617079;
  --bg: #f5f8f8;
  --bg-soft: #f9fcfc;
  --shadow: 0 20px 50px rgba(11, 25, 31, 0.08);
  --shadow-strong: 0 28px 80px rgba(8, 18, 23, 0.16);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #f8fbfb 0%, #f1f6f6 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* HERO */

.hero {
  position: relative;
  min-height: 74vh;
  background:
    linear-gradient(120deg, rgba(9, 14, 18, 0.86), rgba(9, 14, 18, 0.64)),
    url("fachada-principal.png") center/cover no-repeat;
  color: var(--white);
  padding-top: 80px;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 14, 18, 0.85) 0%,
    rgba(10, 14, 18, 0.56) 46%,
    rgba(10, 14, 18, 0.32) 100%
  );
  z-index: 1;
}

.nav,
.hero-content {
  position: relative;
}

.hero-content,
.hero-panel,
.glass-card {
  z-index: 2;
}

/* NAV */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: none;
  width: 100%;
  z-index: 99999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(9, 14, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.brand-mark {
  width: 122px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 24px rgba(8, 18, 23, 0.18));
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-top {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #a8f6f3;
}

.brand h1 {
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 10000;
}

.nav-links a {
  color: #fff;
  font-weight: 600;
  opacity: 0.94;
}

.nav-links a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
  margin: 5px 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0.9rem 1.25rem;
  border-radius: 16px;
  border: 0;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(14, 31, 37, 0.14);
}

.btn-solid {
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  color: #fff;
  box-shadow: var(--shadow-strong);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-light {
  background: #fff;
  color: var(--black);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.btn-nav {
  min-height: 44px;
  padding: 0.75rem 1rem;
}

/* HERO CONTENT */

.hero-content {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: end;
  gap: 2rem;
  min-height: calc(74vh - 98px);
  padding: 4rem 0 2.25rem;
}

.tag,
.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(86, 199, 196, 0.3);
  background: rgba(86, 199, 196, 0.11);
  color: var(--mint);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-text h2 {
  font-size: 50px;
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 20ch;
  margin-bottom: 1rem;
}

.hero-text p {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  margin-bottom: 4rem;
}

.hero-actions,
.form-actions,
.contact-actions,
.reviews-cta-row,
.premium-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-trust-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.hero-trust-mini span,
.trust-points span {
  padding: 0.55rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.92rem;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
  align-self: end;
}

.glass-card {
  width: min(100%, 420px);
  padding: 1.7rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-strong);
}

.mini-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.hero-list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-list li:last-child {
  border-bottom: 0;
}

.hero-list strong {
  display: block;
  margin-bottom: 0.18rem;
}

.hero-list span,
.schedule {
  color: rgba(255, 255, 255, 0.8);
}

.card-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0.9rem 0;
}

/* TRUST STRIP */

.trust-strip {
  margin-top: 0;
  padding-top: 1.25rem;
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.trust-stat,
.service-card,
.feature-card,
.team-card,
.review-card,
.process-card,
.contact-info,
.form-card,
.location-strip,
.premium-banner {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(219, 233, 232, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.trust-stat {
  padding: 1.3rem 1.25rem;
  backdrop-filter: blur(10px);
  min-height: 138px;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 0.42rem;
}

.trust-stat strong {
  display: block;
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 0;
}

.trust-stat span {
  color: var(--text-soft);
}

.trust-strip-refined {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-stat-wide {
  background: linear-gradient(135deg, #ffffff, #eef9f9);
}

.trust-stat-wide strong {
  font-size: 1.02rem;
}

.trust-stat-wide span {
  max-width: 34ch;
  display: block;
}

/* SECTIONS */

.premium-section {
  padding: 5rem 0;
}

.services {
  background: linear-gradient(180deg, #f3f9f9 0%, #ffffff 100%);
}

.team-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.reviews-section {
  background: linear-gradient(180deg, #f8fbfb 0%, #eef7f7 100%);
}

.section-heading {
  max-width: 760px;
  text-align: center;
  margin: 0 auto 2rem;
}

.section-heading h3,
.about-text h3,
.contact-info h3,
.form-card h3,
.location-strip h3,
.premium-banner h3 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: 0.85rem;
}

.section-heading p,
.about-text > p,
.contact-info > p,
.form-intro,
.location-strip p,
.premium-banner p {
  color: var(--text-soft);
  font-size: 1rem;
}

.premium-grid,
.process-grid,
.contact-grid,
.footer-main {
  display: grid;
  gap: 1rem;
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.team-card,
.review-card,
.process-card {
  padding: 1.35rem;
}

.service-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
}

.service-card,
.team-card,
.review-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.team-card:hover,
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px rgba(11, 25, 31, 0.12);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f4fbfb, #ffffff);
  border: 1px solid var(--line);
  margin-bottom: 1rem;
  color: var(--mint-dark);
}

.service-card h4,
.team-card h4,
.process-card h4 {
  margin-bottom: 0.45rem;
  color: var(--black);
}

.service-card p,
.team-card p,
.review-card p,
.process-card p,
.feature-card p,
.team-role,
.footer-main p,
.footer-links a {
  color: var(--text-soft);
}

/* ABOUT */

.about {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 2rem;
  align-items: center;
  padding: 5rem 0;
}

.image-frame-premium {
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(220, 232, 231, 0.95);
  box-shadow: var(--shadow-strong);
}

.image-frame-premium img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.feature-card {
  padding: 1rem 1.05rem;
}

.feature-card strong {
  display: block;
  color: var(--black);
  margin-bottom: 0.3rem;
}

/* BANNERS */

.premium-banner,
.location-strip {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.premium-banner {
  margin-bottom: 5rem;
  background: linear-gradient(135deg, #ffffff, #eef9f9);
}

.location-strip {
  margin-bottom: 4rem;
}

/* TEAM / REVIEWS */

.team-grid {
  display: grid;
  justify-content: center;
  gap: 1.5rem;
}

.team-grid-top {
  grid-template-columns: repeat(3, 320px);
  margin-bottom: 4rem;
}

.team-grid-bottom {
  grid-template-columns: repeat(4, 320px);
}

.reviews-grid {
  grid-template-columns: repeat(3, 1fr);
}

.team-card {
  width: 100%;
  max-width: 320px;
  padding: 2.3rem 1.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(11, 25, 31, 0.14);
}

.team-avatar {
  width: 155px;
  height: 155px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef3f3;
  margin: 0 auto 1.2rem;
  border: 4px solid rgba(86, 199, 196, 0.25);
  box-shadow: 0 12px 28px rgba(11, 25, 31, 0.12);
  flex-shrink: 0;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.team-role {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--mint-dark);
  text-align: center;
}

.team-card h4 {
  margin-bottom: 0.75rem;
  font-size: 1.7rem;
  line-height: 1.05;
  color: var(--black);
}

.team-card p {
  max-width: 30ch;
  margin: 0 auto 1rem;
  color: var(--text-soft);
  font-size: 1rem;
}

.team-points {
  list-style: none;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  display: grid;
  gap: 0.6rem;
}

.team-points li {
  color: var(--text-soft);
  font-size: 0.95rem;
  padding-left: 1rem;
  position: relative;
  text-align: left;
}

.team-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--mint-dark);
}

.centered-highlight {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  text-align: center;
  padding: 1.45rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 233, 232, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.centered-highlight h4 {
  font-size: 1.12rem;
  color: var(--black);
  margin-bottom: 1rem;
}

.trust-points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.centered-highlight .trust-points span {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.review-stars {
  color: #f0b229;
  letter-spacing: 0.14em;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.review-card strong {
  color: var(--black);
}

.review-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--mint-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.reviews-highlight-card {
  max-width: 980px;
}

/* PROCESS */

.process {
  padding: 0 0 5rem;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.step {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--mint-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

/* CONTACT */

.contact-section {
  padding: 0 0 5rem;
}

.contact-grid {
  grid-template-columns: 0.96fr 0.94fr;
  align-items: start;
}

.contact-info,
.form-card {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.contact-info,
.form-card {
  height: 100%;
}

.contact-info > p,
.form-intro {
  max-width: 36ch;
}

.contact-info .map-card {
  margin-top: 1rem;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.15rem;
}

.contact-list a {
  color: inherit;
}

.contact-list p {
  color: var(--text);
}

.contact-label {
  display: inline-block;
  margin-bottom: 0.18rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mint-dark);
}

.map-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 270px;
  border: 0;
}

.form-card {
  justify-content: flex-start;
  align-self: start;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 249, 0.98));
  padding: 1.15rem;
}

.form-row {
  display: grid;
  gap: 0.28rem;
  margin-bottom: 0.7rem;
}

.form-row:last-of-type {
  flex: 1 1 auto;
}

label {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
}

input,
select {
  min-height: 48px;
  padding: 0.72rem 0.9rem;
  border-radius: 16px;
  border: 1px solid #d1e4e3;
}

textarea {
  min-height: 140px;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid #d1e4e3;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(86, 199, 196, 0.15);
}

.form-actions {
  margin-top: auto;
}

.form-actions .btn {
  flex: 1 1 220px;
}

/* VALIDACIÓN PREMIUM FORMULARIO */

.field-group,
.checkbox-group {
  margin-bottom: 10px;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1.5px solid #bfdede;
  border-radius: 18px;
  padding: 12px 14px;
  font-size: 16px;
  background: #fff;
  color: #1c1c1c;
  outline: none;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: #7ecbcb;
  box-shadow: 0 0 0 4px rgba(126, 203, 203, 0.14);
}

.field-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row-legal {
  margin-top: 0.2rem;
}

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-soft);
  cursor: pointer;
}

.checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: auto;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.checkbox-wrap a {
  color: var(--mint-dark);
  text-decoration: underline;
}

.form-legal-note {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.error-message {
  display: block;
  min-height: 16px;
  margin-top: 5px;
  font-size: 12px;
  color: #c64b4b;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.field-group.has-error .error-message,
.checkbox-group.has-error .error-message {
  opacity: 1;
  transform: translateY(0);
}

.field-group.has-error input,
.field-group.has-error select,
.field-group.has-error textarea,
.checkbox-group.has-error .checkbox-wrap {
  border-color: #d9534f !important;
}

.checkbox-group.has-error .checkbox-wrap {
  padding: 9px 11px;
  border: 1.5px solid #d9534f;
  border-radius: 14px;
  background: rgba(217, 83, 79, 0.04);
}

.field-group.has-error input,
.field-group.has-error select,
.field-group.has-error textarea {
  box-shadow: 0 0 0 4px rgba(217, 83, 79, 0.10);
  animation: premiumShake 0.34s ease;
}

.checkbox-group.has-error .checkbox-wrap {
  animation: premiumShake 0.34s ease;
}

.form-status {
  display: none;
  min-height: 0;
  margin: 8px 0 12px;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  background: #fff7f7;
  border: 1px solid rgba(217, 83, 79, 0.22);
  color: #a94442;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.form-status.show {
  display: block;
  animation: fadeSlideUp 0.35s ease;
}

.form-status.error {
  background: #fff7f7;
  border-color: rgba(217, 83, 79, 0.22);
  color: #a94442;
}

.form-status.success {
  background: #f4fffb;
  border-color: rgba(46, 167, 160, 0.22);
  color: #1f766f;
}

.btn-submit {
  width: 100%;
  border: none;
  border-radius: 18px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

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

.btn-submit:active {
  transform: translateY(0);
}

@keyframes premiumShake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
  100% { transform: translateX(0); }
}

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

/* FOOTER */

.footer {
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-main {
  grid-template-columns: 1.15fr 0.85fr 0.9fr;
  padding: 1.7rem 0;
}

.footer-brand,
.footer-title {
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.45rem;
}

.footer-links {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-links-column {
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 0.95rem 0 1.1rem;
  color: var(--text-soft);
  font-size: 0.94rem;
}

/* FLOATS */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #27d367, #1dae55);
  color: #fff;
  box-shadow: var(--shadow-strong);
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  background: rgba(11, 15, 18, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -12px 32px rgba(6, 14, 20, 0.18);
}

.mobile-cta-bar a {
  flex: 1;
  text-align: center;
  padding: 0.95rem 0.35rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-cta-bar a:last-child {
  border-right: 0;
}

/* SUBPAGES */

.subpage-header {
  min-height: 0px;
  color: var(--white);
  padding-top: 0px;
}

.inner-hero {
  padding: 2rem 0 1.5rem;
  background: linear-gradient(180deg, #f3f9f9 0%, #ffffff 100%);
}

.inner-hero-content {
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

.inner-hero-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: 0.9rem;
}

.inner-hero-content p {
  color: var(--text-soft);
}

/* ICONS */

.service-icon svg,
.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--mint-dark);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* COOKIE BANNER */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 110000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner__content {
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(12, 16, 20, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(5, 10, 14, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.cookie-banner__content a {
  color: #a8f6f3;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* FOOTER COMPACTO */

.footer-wrap {
  padding: 1.6rem 0 1rem;
}

.footer-main.footer-main-compact {
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  padding: 1.45rem 1.6rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(219, 233, 232, 0.95);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(11, 25, 31, 0.06);
}

.footer-block-right {
  justify-self: end;
  text-align: left;
}

.footer-main.footer-main-compact .footer-links-column {
  display: grid;
  gap: 0.8rem;
}

.footer-bottom {
  padding: 0.75rem 0 1rem;
}

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

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.footer-bottom-links a {
  color: var(--mint-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.footer-social svg {
  width: 24px;
  height: 24px;
  fill: var(--mint-dark);
}

/* MAPA */

.map-wrapper {
  position: relative;
  min-height: 270px;
}

.map-wrapper iframe {
  display: none;
  width: 100%;
  height: 270px;
  border: 0;
}

.map-wrapper.is-loaded iframe {
  display: block;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 270px;
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, #f8fbfb 0%, #eef5f5 100%);
}

.map-placeholder[hidden] {
  display: none !important;
}

.map-placeholder p {
  margin: 0;
  color: var(--text-soft);
  max-width: 320px;
}

.map-placeholder-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* MEDIA */

@media (min-width: 761px) {
  .nav-links .btn-nav {
    display: inline-flex;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-content {
    min-height: calc(74vh - 110px);
    padding: 4rem 0 2.25rem;
  }
}

@media (min-width: 901px) {
  .contact-grid > * {
    height: auto;
  }
}

@media (max-width: 1200px) {
  .team-grid-top,
  .team-grid-bottom {
    grid-template-columns: repeat(2, 320px);
  }
}

@media (max-width: 980px) {
  .hero-content,
  .about,
  .contact-grid,
  .footer-main,
  .premium-banner,
  .location-strip,
  .reviews-grid,
  .team-grid,
  .services-grid,
  .process-grid,
  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content,
  .about,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .premium-banner,
  .location-strip {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .trust-strip,
  .services-grid,
  .reviews-grid,
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main.footer-main-compact {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .trust-strip-refined,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 0px;
  }

  .hero {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 2rem;
  }

  .nav {
    position: fixed;
    top: 0;
    padding: 0.85rem 0.9rem;
    border-radius: 0;
    z-index: 10001;
  }

  .menu-toggle {
    display: block;
    z-index: 10002;
  }

  .brand {
    gap: 0.2rem;
    align-items: center;
    max-width: calc(100% - 64px);
  }

  .brand-mark {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
  }

  .brand-text h1 {
    font-size: 0.9rem;
    line-height: 1.1;
  }

  .brand-top {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .nav-links {
    position: fixed;
    top: 84px;
    right: 16px;
    left: auto;
    width: 112px;
    max-height: none;
    overflow: visible;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    padding: 1.1rem;
    border-radius: 22px;
    background: rgba(12, 16, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(5, 10, 14, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
    line-height: 1.2;
    padding: 0.2rem 0;
  }

  .nav-links .btn-nav {
    display: none;
  }

  .hero-content {
    min-height: auto;
    align-items: start;
    padding: 1.8rem 0 1.5rem;
    gap: 1.4rem;
  }

  .hero-text h2 {
    max-width: 100%;
    font-size: 2.25rem;
  }

  .hero-text p {
    font-size: 0.98rem;
  }

  .glass-card {
    width: 100%;
  }

  .trust-strip {
    margin-top: 0;
    padding-top: 1rem;
  }

  .trust-strip,
  .services-grid,
  .reviews-grid,
  .process-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .trust-stat {
    min-height: auto;
  }

  .about,
  .premium-section,
  .contact-section,
  .process {
    padding-top: 3.8rem;
    padding-bottom: 3.8rem;
  }

  .image-frame-premium img {
    min-height: 360px;
  }

  .section-heading h3,
  .about-text h3,
  .contact-info h3,
  .form-card h3,
  .location-strip h3,
  .premium-banner h3 {
    font-size: 2rem;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    padding: 0.82rem 0.95rem;
  }

  .mobile-cta-bar {
    display: flex;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 84px;
  }

  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }

  .footer-wrap {
    padding: 1rem 0 0.8rem;
  }

  .footer-main.footer-main-compact {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.2rem 1rem;
    border-radius: 20px;
  }

  .footer-block-right {
    justify-self: start;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-links {
    justify-content: flex-start;
  }

  .team-grid-top,
  .team-grid-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .team-card {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
  }

  .field-group,
  .checkbox-group {
    margin-bottom: 9px;
  }

  .field-group input,
  .field-group select,
  .field-group textarea {
    padding: 11px 13px;
    font-size: 15px;
  }

  .field-group textarea {
    min-height: 100px;
  }

  .form-card {
    padding: 1rem;
  }
}