/*
Theme Name: Lindamont
Theme URI: https://lindamont-balance.peachy-crown-4598.chatgpt.site
Author: Lindamont
Description: Tema editable de WordPress para Lindamont, con portada, planes, testimonios, blog y formulario de contacto.
Version: 1.33.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: lindamont
*/

:root {
  --ink: #121212;
  --muted: #5c4d4b;
  --line: #8b7f79;
  --paper: #f0f2f5;
  --soft: #ded8cf;
  --surface: #ccc4b7;
  --accent: #5c4d4b;
  --accent-dark: #121212;
  --sand: #ccc4b7;
  --clay: #a79b91;
  --font-ui: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font-ui);
  --font-mono-ui: "Courier New", Courier, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
#contacto-footer {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 400;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgb(33 30 28 / 70%);
  backdrop-filter: blur(10px);
}

.promo-overlay[hidden],
.promo-floating[hidden] {
  display: none;
}

.promo-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  width: min(760px, 100%);
  overflow: hidden;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 28px 90px rgb(33 30 28 / 28%);
}

.promo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  cursor: pointer;
  font-family: var(--font-mono-ui);
  font-size: 18px;
  font-weight: 700;
}

.promo-media {
  min-height: 420px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 36px);
}

.promo-copy h2 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.promo-copy p:not(.before-title) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.promo-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 16px;
}

.promo-code {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 4px 4px 10px;
  border: 1px solid var(--line);
  background: rgb(255 250 246 / 34%);
}

.promo-code span,
.promo-expiry {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.promo-code strong {
  padding: 8px 10px;
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-mono-ui);
  font-size: 13px;
  line-height: 1;
}

.promo-copy .promo-expiry {
  margin: 0;
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 18px;
}

.promo-actions .btn-primary,
.promo-actions button {
  min-height: 44px;
  padding-right: 14px;
  padding-left: 14px;
  font-size: 11px;
}

.promo-actions .btn-primary {
  margin-top: 0;
}

.promo-actions button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.promo-floating {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 40;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgb(255 250 246 / 36%);
  border-radius: 8px;
  background: var(--accent-dark);
  color: var(--surface);
  box-shadow: 0 18px 44px rgb(33 30 28 / 24%);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.promo-floating:hover {
  background: var(--accent-dark);
}

.whatsapp-floating {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: calc(clamp(16px, 3vw, 34px) + 64px);
  z-index: 39;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--whatsapp-color, #25d366);
  color: #fff;
  box-shadow: 0 16px 38px rgb(18 18 18 / 24%);
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-floating:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgb(18 18 18 / 30%);
}

.whatsapp-floating svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

/* Fusion/Avada adds clearfix pseudo-elements that become unwanted grid items. */
body.wp-theme-lindamont-theme .container::before,
body.wp-theme-lindamont-theme .container::after {
  display: none !important;
  content: none !important;
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  min-height: 90px;
  padding: 0;
  background: rgb(240 242 245 / 92%);
  box-shadow: 0 10px 32px rgb(18 18 18 / 6%);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1140px, calc(100% - 40px));
  min-height: 90px;
  margin: 0 auto;
}

.logo-link {
  display: grid;
  place-items: center;
  width: 164px;
  height: 48px;
  border-radius: 8px;
  background: var(--accent-dark);
}

.logo-link img {
  width: 132px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 30px);
  overflow-x: auto;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav li,
.footer-nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
}

.banner-carousel {
  position: relative;
  height: min(760px, 100svh);
  min-height: 690px;
  overflow: hidden;
  padding-top: 90px;
  background: var(--soft);
}

.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  animation: heroCycle 18s infinite;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: calc(100% - 90px);
  align-items: center;
}

.hero-content {
  width: min(560px, 100%);
  padding: 74px 0 96px;
}

.before-title {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.before-title.scnd {
  text-align: left;
}

.before-title.center,
.center-title {
  text-align: center;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 {
  max-width: 620px;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.06;
  font-weight: 600;
}

h2 {
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.12;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.18;
  font-weight: 700;
}

.description {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.after-title {
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.35;
  font-weight: 600;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 34px;
  padding: 0 28px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--surface);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 18px 30px rgb(18 18 18 / 14%);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-text::after {
  content: "->";
  font-family: var(--font-mono-ui);
}

.carousel-number {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 74px;
  z-index: 3;
  color: var(--accent);
  font-family: var(--font-mono-ui);
  font-size: clamp(40px, 6.4vw, 82px);
  font-weight: 700;
}

.box-banner {
  position: absolute;
  top: 120px;
  right: 0;
  bottom: 0;
  width: min(50vw, 720px);
}

.thumb-banner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.thumb-banner picture {
  display: block;
  width: 100%;
  height: 100%;
}

.thumb-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: clamp(78px, 9vw, 126px) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.92fr);
  gap: clamp(54px, 7vw, 100px);
  align-items: center;
}

.img-about {
  position: relative;
  min-height: 620px;
}

.thumb-back,
.thumb-front {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 24px 60px rgb(33 30 28 / 12%);
}

.thumb-back {
  top: 0;
  left: 0;
  width: 72%;
  height: 520px;
}

.thumb-front {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 410px;
  border: 14px solid var(--paper);
}

.thumb-back img,
.thumb-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-count {
  padding: 0 0 clamp(76px, 8vw, 116px);
}

.box-count {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  text-align: center;
  box-shadow: 0 22px 54px rgb(0 0 0 / 7%);
}

.count-item {
  min-height: 172px;
  padding: 34px 18px;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.count-item:last-child {
  border-right: 0;
}

.title-count {
  margin: 0;
  color: var(--accent);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
  font-weight: 700;
}

.text-count {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.section-action {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 10vw, 136px) 0;
  background: var(--accent-dark);
  color: var(--surface);
}

.section-action h2,
.section-action .before-title {
  color: var(--surface);
}

.section-action .before-title {
  opacity: 0.64;
}

.section-action p:not(.before-title) {
  width: min(650px, 100%);
  color: rgb(255 250 246 / 72%);
  font-size: 18px;
  line-height: 1.7;
}

.action-content {
  position: relative;
  z-index: 2;
}

.box-action {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(42vw, 560px);
  height: 100%;
  opacity: 0.42;
}

.box-action img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.section-services {
  background: var(--surface);
}

.center-title {
  width: min(760px, 100%);
  margin: 0 auto;
}

.row-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 58px;
}

.col-services {
  display: flex;
  flex-direction: column;
  min-height: 365px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgb(18 18 18 / 6%);
}

.col-services:nth-child(even) {
  transform: translateY(34px);
}

.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 36px 30px;
}

.service-card-body .btn-text {
  margin-top: auto;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--accent);
  font-family: var(--font-mono-ui);
  font-size: 22px;
  font-weight: 700;
}

.section-case {
  padding-bottom: 0;
  background: var(--soft);
}

.case-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}

.case-heading > .description {
  width: max-content;
  max-width: none;
  justify-self: end;
  white-space: nowrap;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
}

.case-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 0;
  color: var(--surface);
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.case-card:hover img {
  transform: scale(1.05);
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(33 30 28 / 74%), rgb(33 30 28 / 4%));
}

.case-card div {
  position: absolute;
  right: 32px;
  bottom: 32px;
  left: 32px;
  z-index: 2;
}

.case-card p {
  margin: 0 0 10px;
  color: rgb(255 250 246 / 78%);
  font-size: 13px;
  font-weight: 700;
  text-transform: lowercase;
}

.case-card h3 {
  color: var(--surface);
}

.contact-band {
  padding: clamp(74px, 9vw, 120px) 0;
  background: var(--soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.contact-band h2,
.contact-band .before-title {
  color: var(--ink);
}

.balance-tool {
  padding: 34px;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 22px 54px rgb(18 18 18 / 12%);
}

.balance-readout,
.balance-bar {
  display: grid;
  grid-template-columns: var(--balance) 1fr;
  overflow: hidden;
}

.balance-readout {
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
}

.balance-readout span:last-child {
  text-align: right;
}

.balance-tool input {
  width: 100%;
  accent-color: var(--accent);
  cursor: ew-resize;
}

.balance-bar {
  min-height: 82px;
  margin-top: 14px;
  border: 1px solid var(--ink);
}

.balance-bar span {
  display: flex;
  align-items: center;
  padding: 18px;
  font-size: 14px;
  font-weight: 700;
}

.balance-bar span:first-child {
  background: var(--ink);
  color: var(--surface);
}

.balance-bar span:last-child {
  justify-content: flex-end;
  background: var(--soft);
  color: var(--ink);
  text-align: right;
}

.balance-tool p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.section-testimonials {
  background: var(--surface);
}

.section-subtitle {
  width: min(680px, 100%);
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.45;
  text-align: center;
}

.testimonial-carousel {
  position: relative;
  margin-top: 56px;
}

.testimonial-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 22px;
}

.testimonial-controls button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-mono-ui);
  font-size: 20px;
  font-weight: 700;
}

.testimonial-controls button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--surface);
}

.testimonial-track {
  display: grid;
  grid-auto-columns: minmax(320px, 43%);
  grid-auto-flow: column;
  gap: 24px;
  overflow-x: auto;
  padding: 0 0 36px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.testimonial-card {
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
  box-shadow: 0 18px 46px rgb(18 18 18 / 6%);
}

.testimonial-card > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--soft);
}

.about-page-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 96px;
  background: var(--soft);
}

.about-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}

.about-page-copy h1 {
  max-width: 720px;
}

.about-page-media {
  position: relative;
  height: 610px;
  overflow: hidden;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.about-page-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 88px);
  align-items: center;
}

.story-detail-image {
  height: 680px;
  overflow: hidden;
}

.story-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.about-manifest {
  position: relative;
  isolation: isolate;
  padding: clamp(76px, 9vw, 118px) 0;
  background-color: var(--accent-dark);
  background-image: var(--purpose-background-image, url("assets/images/hero-banner-hq.webp"));
  background-position: center 48%;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--surface);
}

.about-manifest::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgb(18 18 18 / 68%);
}

.manifest-grid {
  display: grid;
  grid-template-columns: 0.45fr minmax(0, 1fr) minmax(260px, 0.7fr) auto;
  gap: 28px;
  align-items: end;
}

.about-manifest h2,
.about-manifest .before-title {
  color: var(--surface);
}

.about-manifest p:not(.before-title) {
  margin: 0;
  color: rgb(255 250 246 / 72%);
  font-size: 18px;
  line-height: 1.62;
}

.about-manifest span {
  color: var(--surface);
  font-size: 22px;
  font-weight: 700;
}

.section-blog {
  background: var(--soft);
}

.row-blog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.col-post {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgb(18 18 18 / 6%);
}

.col-post:nth-child(even) {
  transform: translateY(32px);
}

.thumb-blog {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.thumb-blog::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(33 30 28 / 18%);
}

.thumb-blog img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.col-post h3,
.col-post .description,
.col-post .btn-text {
  margin-right: 24px;
  margin-left: 24px;
}

.col-post h3 {
  margin-top: 24px;
}

.col-post .description {
  margin-top: 18px;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.72;
}

.col-post .btn-text {
  margin-bottom: 26px;
}

.section-blog .center-title {
  width: min(900px, 100%);
  font-size: clamp(28px, 3vw, 42px);
}

.subscribe {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--surface);
}

.blog-entry {
  padding: 160px 0 88px;
  background: var(--soft);
}

.service-entry {
  padding: 160px 0 88px;
  background: var(--soft);
}

.blog-entry-grid,
.service-entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.86fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
}

.blog-entry-media,
.service-entry-media {
  height: 520px;
  overflow: hidden;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.blog-entry-media img,
.service-entry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-entry-body {
  background: var(--surface);
}

.service-entry-body {
  background: var(--surface);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.62fr);
  gap: clamp(42px, 7vw, 88px);
  align-items: start;
}

.service-detail-grid .description + .description {
  margin-top: 18px;
}

.plan-description,
.plan-description-content {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.plan-description {
  max-width: 62ch;
}

.plan-description-content {
  margin-top: 24px;
}

.plan-description-content p {
  margin: 0 0 18px;
  color: inherit;
  font: inherit;
}

.plan-description-content p:last-child {
  margin-bottom: 0;
}

.service-highlights {
  padding: 34px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 46px rgb(18 18 18 / 6%);
}

.service-highlight {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.service-highlight span {
  color: var(--accent);
  font-family: var(--font-mono-ui);
  font-size: 18px;
  font-weight: 700;
}

.service-highlight p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.58;
}

.narrow-container {
  width: min(780px, calc(100% - 40px));
}

.tip-entry-content {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 20px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.tip-entry-content p,
.tip-entry-content ul,
.tip-entry-content ol {
  margin: 0 0 26px;
  color: inherit;
  font: inherit;
}

.tip-entry-content p:last-child,
.tip-entry-content ul:last-child,
.tip-entry-content ol:last-child {
  margin-bottom: 0;
}

.social-share {
  margin: 54px 0 36px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.social-share .before-title {
  margin: 0 0 18px;
}

.social-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-share-links a,
.social-share-links button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.social-share-links a:hover,
.social-share-links button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--paper);
}

.subscribe-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: end;
}

@media (min-width: 621px) {
  .subscribe-grid {
    align-items: start;
  }

  .contact-copy {
    align-self: start;
    text-align: left;
  }
}

label {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

input[type="email"],
input[type="tel"],
input[type="text"],
textarea {
  min-width: 0;
  width: 100%;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
}

input[type="email"],
input[type="tel"],
input[type="text"] {
  height: 58px;
}

textarea {
  min-height: 150px;
  padding-top: 18px;
  resize: vertical;
}

.contact-form .notice {
  margin: 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.5;
}

.contact-form .notice-success {
  border-color: var(--accent);
}

form button {
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--surface);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer {
  background: var(--ink);
  color: var(--surface);
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 0;
  border-bottom: 1px solid rgb(255 250 246 / 12%);
}

.footer-nav img {
  width: 190px;
}

.footer-nav div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-nav a,
.footer-info a {
  color: rgb(255 250 246 / 70%);
  font-size: 14px;
}

.footer-info {
  display: grid;
  grid-template-columns: 1fr 0.45fr 0.45fr;
  gap: 42px;
  padding: 50px 0;
}

.footer-info h3 {
  color: var(--surface);
  font-size: 20px;
}

.footer-info p {
  max-width: 560px;
  color: rgb(255 250 246 / 66%);
  line-height: 1.7;
}

.footer-info a {
  display: block;
  margin-top: 12px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-info .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: 0;
  padding: 0;
  border: 1px solid rgb(255 250 246 / 22%);
  border-radius: 8px;
  color: var(--surface);
}

.footer-info .social-links svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.footer-info .social-links svg path:first-child {
  fill: currentColor;
  stroke: none;
}

.footer-info .social-links svg .social-icon-cutout {
  fill: var(--accent-dark);
  stroke: none;
}

.footer-info .social-links svg .social-icon-fill {
  fill: currentColor;
  stroke: none;
}

.footer-info .social-links a:hover {
  border-color: var(--surface);
  background: rgb(255 250 246 / 10%);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgb(255 250 246 / 12%);
  color: rgb(255 250 246 / 56%);
  font-size: 13px;
}

.admin-bar .header {
  top: 32px;
}

.wp-page {
  padding: 160px 0 88px;
  background: var(--surface);
}

.wp-page .entry-content {
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.wp-page .entry-content p,
.wp-page .entry-content ul,
.wp-page .entry-content ol {
  margin: 0 0 22px;
}

.wp-page .entry-content a {
  color: var(--accent-dark);
  font-weight: 700;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

@keyframes heroCycle {
  0%,
  27% {
    transform: translateX(0);
  }
  33%,
  60% {
    transform: translateX(-100%);
  }
  66%,
  93% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 1080px) {
  .case-heading > .description {
    width: auto;
    justify-self: start;
    white-space: normal;
  }

  .row-services,
  .row-blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .box-banner {
    width: 48vw;
    opacity: 0.72;
  }
}

@media (min-width: 861px) {
  .hero-grid {
    min-height: 100%;
  }

  .box-banner {
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
  }

  .thumb-banner {
    background: var(--soft);
  }

  .thumb-banner img {
    object-fit: cover;
    object-position: center center;
    image-rendering: auto;
  }

  .hero-content .btn-primary {
    position: absolute;
    bottom: 46px;
    left: 0;
    z-index: 3;
    margin: 0;
  }
}

@media (max-width: 860px) {
  .header {
    min-height: 124px;
    padding: 14px 0;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  .banner-carousel {
    min-height: 760px;
    padding-top: 124px;
  }

  .hero-content {
    padding-bottom: 270px;
  }

  .box-banner {
    top: auto;
    width: 100%;
    height: 310px;
  }

  .thumb-banner {
    clip-path: none;
  }

  .about-page-grid,
  .story-detail-grid,
  .service-entry-grid,
  .service-detail-grid,
  .manifest-grid,
  .blog-entry-grid,
  .case-heading,
  .contact-grid,
  .subscribe-grid,
  .footer-info {
    grid-template-columns: 1fr;
  }

  .promo-card {
    grid-template-columns: 1fr;
    max-height: calc(100svh - 32px);
    overflow-y: auto;
  }

  .promo-media {
    min-height: 220px;
    clip-path: none;
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Keep the portrait-and-copy composition on tablets and narrow desktop previews. */
  .section-about {
    padding: 72px 0 46px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    gap: 26px;
  }

  .img-about {
    min-height: 440px;
  }

  .thumb-back {
    width: 72%;
    height: 370px;
  }

  .thumb-front {
    width: 48%;
    height: 294px;
    border-width: 8px;
  }

  .about-copy h2 {
    font-size: clamp(27px, 4vw, 42px);
  }

  .about-copy .after-title {
    font-size: 16px;
  }

  .about-copy .description {
    font-size: 14px;
  }

  .section-count {
    padding-bottom: 76px;
  }

  .box-count {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .count-item {
    min-height: 126px;
    padding: 24px 8px;
  }

  .title-count {
    font-size: clamp(28px, 4vw, 42px);
  }

  .text-count {
    margin-top: 8px;
    font-size: 12px;
  }
}

/* Keep the editorial two-column composition and four metrics outside mobile. */
@media (min-width: 621px) {
  .about-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.92fr) !important;
  }

  .box-count {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .count-item {
    min-width: 0;
  }
}

@media (min-width: 621px) and (max-width: 860px) {
  .about-grid,
  .about-page-grid,
  .story-detail-grid,
  .service-entry-grid,
  .service-detail-grid,
  .blog-entry-grid,
  .contact-grid,
  .subscribe-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 28px;
  }

  .about-page-hero,
  .blog-entry,
  .service-entry {
    padding-top: 138px;
    padding-bottom: 74px;
  }

  .about-page-media,
  .blog-entry-media,
  .service-entry-media {
    height: 440px;
  }

  .story-detail-image {
    height: 500px;
  }

  .box-count {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  section[id],
  #contacto-footer {
    scroll-margin-top: 74px;
  }

  .admin-bar .header {
    top: 46px;
  }

  .container {
    width: min(100% - 28px, 1140px);
  }

  .header {
    min-height: 72px;
    padding: 0;
  }

  .header-inner {
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: min(100% - 28px, 1140px);
    min-height: 72px;
  }

  .logo-link {
    width: 138px;
    height: 40px;
  }

  .logo-link img {
    width: 112px;
    max-height: 34px;
    object-fit: contain;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle-line {
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-open .menu-toggle-line:nth-child(1),
  .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle-line:nth-child(2),
  .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle-line:nth-child(3),
  .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    position: absolute;
    top: 100%;
    right: -14px;
    left: -14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: calc(100% + 28px);
    max-height: 0;
    overflow: hidden;
    padding: 0 14px;
    border-top: 1px solid transparent;
    background: var(--paper);
    box-shadow: 0 18px 30px rgb(18 18 18 / 10%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height 240ms ease, opacity 180ms ease, transform 180ms ease, visibility 180ms ease, padding 240ms ease;
  }

  .menu-open .nav,
  .menu-toggle[aria-expanded="true"] + .nav {
    max-height: 380px;
    padding-top: 8px;
    padding-bottom: 14px;
    border-top-color: var(--line);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .nav a::after {
    content: "→";
    color: var(--accent);
  }

  .nav li:last-child a,
  .nav > a:last-child {
    border-bottom: 0;
  }

  .banner-carousel {
    height: max(700px, 100svh);
    min-height: 0;
    padding-top: 72px;
  }

  .hero-track,
  .hero-slide {
    height: 100%;
  }

  .hero-track {
    animation: none;
    transform: none;
  }

  .hero-slide:not(:first-child) {
    display: none;
  }

  .hero-slide::before,
  .hero-slide::after {
    content: none;
    display: none;
    background: none;
    opacity: 0;
  }

  .hero-grid {
    height: 100%;
    min-height: 0;
    align-items: center;
  }

  .hero-content {
    width: min(100%, 330px);
    padding: 0;
    text-align: left;
    text-shadow: none;
  }

  .before-title {
    margin-bottom: 12px;
    font-size: 12px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.1;
  }

  h2,
  .section-blog .center-title {
    font-size: 30px;
    line-height: 1.12;
  }

  h3 {
    font-size: 21px;
  }

  .description {
    max-width: 300px;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.55;
  }

  .after-title {
    margin-top: 18px;
    font-size: 18px;
  }

  .btn-primary {
    width: auto;
    min-height: 44px;
    margin-top: 22px;
    padding: 0 18px;
    font-size: 12px;
    text-align: center;
    box-shadow: 0 10px 22px rgb(18 18 18 / 10%);
  }

  .hero-content .btn-primary {
    position: absolute;
    bottom: 34px;
    left: 0;
    z-index: 3;
    width: min(175px, 42vw);
    margin: 0;
    padding: 0 8px;
    font-size: 10.5px;
  }

  .carousel-number {
    display: none;
  }

  .box-banner {
    top: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
  }

  .thumb-banner {
    clip-path: none;
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
  }

  .thumb-banner img {
    object-position: center center;
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
  }

  .img-about {
    display: block;
    position: relative;
    min-height: clamp(430px, 122vw, 500px);
    isolation: isolate;
  }

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

  .thumb-back,
  .thumb-front {
    position: absolute;
    aspect-ratio: auto;
  }

  .thumb-back {
    top: 0;
    left: 0;
    width: 82%;
    height: clamp(350px, 104vw, 425px);
  }

  .thumb-front {
    right: 0;
    bottom: 0;
    width: 58%;
    height: clamp(250px, 78vw, 320px);
    border: 6px solid var(--paper);
  }

  .thumb-back img,
  .thumb-front img {
    object-position: center top;
  }

  .section {
    padding: 64px 0;
  }

  .section-about {
    padding: 64px 0 42px;
  }

  .section-count {
    padding: 0 0 64px;
  }

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

  .count-item {
    min-height: 122px;
    padding: 24px 12px;
    border-bottom: 1px solid var(--line);
  }

  .count-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .count-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .title-count {
    font-size: 34px;
  }

  .text-count {
    font-size: 12px;
    line-height: 1.35;
  }

  .section-action {
    padding: 72px 0;
  }

  .section-action p:not(.before-title) {
    font-size: 16px;
  }

  .box-action {
    width: 100%;
    opacity: 0.2;
  }

  .row-services,
  .row-blog {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 340px);
    gap: 16px;
    margin-top: 36px;
    margin-right: -14px;
    padding: 0 14px 22px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .col-services {
    min-height: 0;
    scroll-snap-align: start;
  }

  .service-card-body {
    padding: 28px 24px;
  }

  .service-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    font-size: 18px;
  }

  .col-services:nth-child(even),
  .col-post:nth-child(even) {
    transform: none;
  }

  .col-post {
    display: flex;
    flex-direction: column;
    min-width: 0;
    scroll-snap-align: start;
  }

  .col-post .btn-text {
    margin-top: auto;
  }

  .case-heading {
    gap: 18px;
  }

  .case-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(86vw, 380px);
    margin-top: 36px;
    padding: 0 14px 22px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .case-card,
  .story-detail-image,
  .about-page-media,
  .blog-entry-media,
  .service-entry-media {
    height: min(112vw, 420px);
    min-height: 0;
  }

  .about-page-media,
  .blog-entry-media,
  .service-entry-media {
    clip-path: none;
  }

  .case-card {
    height: min(118vw, 420px);
    scroll-snap-align: start;
  }

  .case-card div {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  .contact-band {
    padding: 64px 0;
  }

  .contact-grid,
  .subscribe-grid,
  .service-entry-grid,
  .service-detail-grid,
  .blog-entry-grid,
  .about-page-grid,
  .story-detail-grid,
  .manifest-grid,
  .footer-info {
    gap: 32px;
  }

  .balance-tool,
  .service-highlights {
    padding: 22px;
  }

  .testimonial-track {
    grid-auto-columns: 100%;
    gap: 14px;
    padding-bottom: 24px;
  }

  .testimonial-carousel {
    margin-top: 36px;
  }

  .testimonial-card > img {
    height: 100%;
    object-fit: cover;
  }

  .testimonial-controls {
    margin-bottom: 16px;
  }

  .thumb-blog {
    min-height: 190px;
  }

  .balance-readout,
  .balance-bar,
  .form-row {
    grid-template-columns: 1fr;
  }

  .balance-readout span:last-child,
  .balance-bar span:last-child {
    text-align: left;
  }

  .balance-bar span:last-child {
    justify-content: flex-start;
  }

  .about-page-hero,
  .blog-entry,
  .service-entry,
  .wp-page {
    padding: 100px 0 64px;
  }

  .blog-entry-body,
  .service-entry-body,
  .subscribe {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .entry-content,
  .blog-entry-body,
  .service-entry-body {
    overflow-wrap: anywhere;
  }

  .tip-entry-content {
    font-size: 17px;
  }

  .about-page-media,
  .story-detail-image,
  .blog-entry-media,
  .service-entry-media {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .about-page-media img,
  .story-detail-image img,
  .blog-entry-media img,
  .service-entry-media img {
    object-position: center top;
  }

  .service-highlights,
  .social-share {
    width: 100%;
  }

  .form-row {
    gap: 16px;
  }

  input[type="email"],
  input[type="tel"],
  input[type="text"] {
    height: 54px;
  }

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

  .footer-nav {
    padding: 34px 0;
  }

  .footer-nav div {
    justify-content: flex-start;
    gap: 14px 18px;
  }

  .footer-info {
    padding: 40px 0;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  .promo-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .promo-actions .btn-primary,
  .promo-actions button {
    width: 100%;
  }

  .promo-overlay {
    padding: 10px;
  }

  .promo-card {
    width: min(330px, 100%);
    max-height: calc(100svh - 20px);
  }

  .promo-media {
    min-height: 120px;
    height: 120px;
  }

  .promo-copy {
    padding: 16px;
  }

  .promo-copy .before-title {
    font-size: 9px;
  }

  .promo-copy h2 {
    font-size: 21px;
  }

  .promo-copy p:not(.before-title) {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
  }

  .promo-details {
    gap: 4px;
    margin-top: 10px;
  }

  .promo-code {
    padding: 4px 4px 4px 8px;
  }

  .promo-code span,
  .promo-expiry {
    font-size: 9px;
  }

  .promo-code strong {
    padding: 7px 8px;
    font-size: 12px;
  }

  .promo-actions {
    gap: 4px;
    margin-top: 12px;
  }

  .promo-actions .btn-primary,
  .promo-actions button {
    min-height: 44px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 10px;
  }

  .promo-close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }

  .promo-floating,
  .whatsapp-floating {
    right: 14px;
    width: min(160px, 42vw);
    min-height: 52px;
    max-width: calc(100% - 28px);
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13px;
  }

  .promo-floating {
    bottom: 14px;
  }

  .whatsapp-floating {
    bottom: 78px;
  }
}
