:root {
  --font-sans: "Avenir Next", Avenir, Montserrat, Corbel, "Segoe UI", system-ui, sans-serif;
  --navy: #0b1d3f;
  --ink: #172033;
  --teal: #00a6c8;
  --teal-deep: #007f99;
  --gold: #c89b3c;
  --paper: #f7f8f5;
  --white: #ffffff;
  --muted: #667085;
  --line: rgba(11, 29, 63, 0.12);
  --shadow: 0 24px 70px rgba(8, 26, 48, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 58px);
  color: var(--white);
  transition: background 240ms ease, box-shadow 240ms ease, padding 240ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  padding-block: 12px;
  background: rgba(9, 22, 47, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 182px;
  height: auto;
  padding: 7px 10px;

}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: clamp(1rem, 1.05vw, 1.18rem);
  font-weight: 700;
}

.main-nav a {
  opacity: 0.78;
  transition: opacity 180ms ease, color 180ms ease;
}

.main-nav a:hover {
  color: var(--teal);
  opacity: 1;
}

.main-nav a.is-active {
  color: var(--white);
  opacity: 1;
}

body:not([data-view="inicio"]) .site-header {
  padding-block: 12px;
  background: rgba(9, 22, 47, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

body:not([data-view="inicio"]) .brand img {
  width: 132px;
}

.header-cta,
.btn {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 20px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--white);
  box-shadow: 0 14px 32px rgba(0, 166, 200, 0.3);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(18px, 5vw, 70px) 58px;
  color: var(--white);
}

.hero-carousel,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  background-image: var(--photo);
  background-position: center;
  background-size: cover;
  transform: scale(1.05);
  transition: opacity 900ms ease, transform 7200ms linear;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 15, 32, 0.94), rgba(9, 29, 58, 0.68) 48%, rgba(9, 29, 58, 0.24)),
    linear-gradient(0deg, rgba(5, 15, 32, 0.58), transparent 38%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -18vw;
  width: 44vw;
  height: 34vw;
  border: 1px solid rgba(0, 166, 200, 0.36);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow,
.section-label,
.panel-kicker {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: clamp(0.98rem, 1.15vw, 1.14rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 4.7vw, 4.5rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.12rem, 1.55vw, 1.34rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(680px, 100%);
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
   border-radius: 12px;
}

.hero-metrics div {
  padding: 22px;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(1.8rem, 2.9vw, 3.1rem);
  font-weight: 700;

}

.hero-metrics span,
.hero-panel p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;

}

.hero-panel {
  position: absolute;
  z-index: 3;
  top: auto;
  right: clamp(18px, 5vw, 70px);
  bottom: 118px;
  width: min(330px, 26vw);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 15, 32, 0.54);
  backdrop-filter: blur(16px);
  transform: translateY(-4%);
  border-radius: 12px;
}

.hero-panel span {
  display: block;
  margin-bottom: 14px;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.45rem;
  line-height: 1.22;
}

.carousel-dots {
  position: absolute;
  z-index: 4;
  right: clamp(18px, 5vw, 70px);
  bottom: 42px;
  display: flex;
  gap: 10px;
}

.carousel-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--teal);
}

.intro,
.presentation-section,
.service-showcase,
.process,
.sectors-inner,
.quote-band,
.site-footer {
  padding-inline: clamp(18px, 5vw, 70px);
}

.intro {
  padding-top: clamp(74px, 10vw, 128px);
  padding-bottom: clamp(70px, 9vw, 118px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.difference-copy h2,
.quote-copy h2,
.sectors h2 {
  color: var(--navy);
  font-size: clamp(2.3rem, 4.2vw, 4.6rem);
  line-height: 1.04;
}

.intro p,
.presentation-item p,
.difference-copy p,
.mission-vision p,
.service-detail-grid p,
.sectors p,
.quote-copy p {
  color: var(--muted);
  font-size: clamp(1.12rem, 1.25vw, 1.28rem);
  line-height: 1.74;
}

.text-stack {
  display: grid;
  gap: 22px;
}

.text-stack strong {
  color: var(--navy);
  font-weight: 700;
}

.presentation-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(84px, 10vw, 142px);
  padding-bottom: clamp(84px, 10vw, 142px);
  background:
    radial-gradient(circle at 80% 12%, rgba(0, 166, 200, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff, var(--paper));
}

.presentation-accent {
  position: absolute;
  right: -8vw;
  top: 14%;
  width: 42vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 155, 60, 0.65), transparent);
  transform: rotate(-18deg);
}

.presentation-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.25fr);
  gap: clamp(36px, 7vw, 104px);
  align-items: start;
}

.presentation-lead {
  position: sticky;
  top: 120px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 14px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 21, 46, 0.94), rgba(11, 29, 63, 0.78)),
    url("assets/hero-accounting-team-web.jpg") center / cover;
  box-shadow: var(--shadow);
}

.presentation-lead h2 {
  color: var(--white);
  font-size: clamp(2.25rem, 4vw, 4.1rem);
  line-height: 1;
}

.presentation-cta {
  display: inline-flex;
  margin-top: 22px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 18px;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
}

.presentation-flow {
  display: grid;
  gap: 18px;
}

.presentation-item {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  align-items: start;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 56px rgba(8, 26, 48, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.presentation-item:hover,
.sector-card:hover,
.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 166, 200, 0.38);
  box-shadow: 0 24px 70px rgba(8, 26, 48, 0.14);
}

.presentation-item span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.08rem;
  font-weight: 700;
}

.presentation-item p {
  margin-bottom: 0;
}

.presentation-item.is-emphasis {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #0f3854);
}

.presentation-item.is-emphasis p {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.presentation-item.is-emphasis span {
  background: rgba(255, 255, 255, 0.12);
  color: var(--teal);
}

.service-showcase {
  padding-top: 92px;
  padding-bottom: 104px;
  background: var(--white);
}

body:not([data-view="inicio"]) .service-showcase,
body:not([data-view="inicio"]) .difference,
body:not([data-view="inicio"]) .sectors-inner,
body:not([data-view="inicio"]) .quote-band {
  padding-top: clamp(156px, 14vw, 210px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}

.service-tabs {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 26px;
}

.tab-list {
  display: grid;
  gap: 10px;
}

.tab-button {
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 1.12rem;
  font-weight: 700;
  text-align: left;
  padding: 0 20px;
}

.tab-button.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(24px, 5vw, 70px);
  min-height: 360px;
  padding: clamp(26px, 5vw, 60px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 29, 63, 0.96), rgba(0, 127, 153, 0.85)),
    url("assets/desk-assortment-web.jpg") center / cover;
  box-shadow: var(--shadow);
}

.service-panel h3 {
  max-width: 760px;
  font-size: clamp(2rem, 3.1vw, 3.35rem);
  line-height: 1.08;
  font-weight: 700;
}

.service-panel p,
.service-panel li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.7;
}

.service-panel ul {
  align-self: end;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-panel li {
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  font-weight: 700;
}

.service-details {
  margin-top: clamp(42px, 6vw, 78px);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-detail-grid article {
  min-height: 260px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f7fafb);
}

.formalities-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.formalities-list li {
  position: relative;
  padding-left: 22px;
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.5;
  font-weight: 700;
}

.formalities-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.service-detail-grid h3,
.mission-vision h3,
.values-title {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(1.35rem, 1.8vw, 1.85rem);
  font-weight: 700;
}

.difference {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
  padding: clamp(80px, 10vw, 132px) clamp(18px, 5vw, 70px);
  background: linear-gradient(180deg, var(--paper), #eef8fa);
}

.difference-visual {
  position: relative;
}

.difference-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.difference-visual::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  z-index: -1;
  border: 1px solid rgba(200, 155, 60, 0.55);
  border-radius: 8px;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.value-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--navy);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.value-card span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 166, 200, 0.12);
  color: var(--teal-deep);
  font-weight: 700;
}

.value-card h4 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1.2rem;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.56;
}

.mission-vision {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.mission-vision article {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.mission-vision p:last-child {
  margin-bottom: 0;
}

.values-title {
  margin-top: 28px;
}

.process {
  padding-top: 96px;
  padding-bottom: 110px;
  background: var(--navy);
  color: var(--white);
}

.process .section-heading h2 {
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  min-height: 310px;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.process-step span {
  display: block;
  margin-bottom: 54px;
  color: var(--teal);
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 700;
  line-height: 0.9;
}

.process-step h3 {
  font-size: clamp(1.65rem, 2.1vw, 2.15rem);
  font-weight: 700;
}

.process-step p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  line-height: 1.66;
}

.sectors {
  overflow: hidden;
  background: var(--white);
}

.marquee {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 28px 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 29, 63, 0.16);
  font-family: var(--font-sans);
  font-size: clamp(3rem, 8vw, 9rem);
  font-weight: 700;
  animation: marquee 24s linear infinite;
}

.marquee span {
  white-space: nowrap;
}

.sectors-inner {
  width: min(1440px, 100%);
  padding-top: 30px;
  padding-bottom: 100px;
}

.sector-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.sector-card {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 248, 245, 0.92)),
    var(--paper);
  color: var(--navy);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.sector-card::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -56px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(0, 166, 200, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.sector-card span {
  color: var(--gold);
  font-weight: 700;
}

.sector-card h3 {
  margin: 36px 0 14px;
  color: var(--navy);
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.08;
}

.sector-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.58;
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.9fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
  padding-top: clamp(78px, 9vw, 120px);
  padding-bottom: clamp(78px, 9vw, 120px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 29, 63, 0.96), rgba(11, 29, 63, 0.7)),
    url("assets/hero-finance-adviser-web.jpg") center / cover;
}

.quote-copy h2 {
  color: var(--white);
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.whatsapp-link {
  display: grid;
  grid-template-columns: 52px auto;
  column-gap: 16px;
  row-gap: 2px;
  align-items: center;
  width: fit-content;
  margin-top: 28px;
  padding: 16px 20px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.whatsapp-link img,
.footer-whatsapp img {
  width: 52px;
  height: 52px;
  grid-row: span 2;
  display: block;
  object-fit: contain;
}

.whatsapp-link span,
.footer-whatsapp span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 600;
}

.whatsapp-link strong,
.footer-whatsapp strong {
  color: var(--teal);
  font-size: clamp(1.5rem, 2vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  font-weight: 700;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  padding: 14px;
  outline: none;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 166, 200, 0.22);
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(180px, 0.6fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 6vw, 90px);
  padding-top: clamp(64px, 8vw, 98px);
  padding-bottom: 28px;
  background: #07152e;
  color: var(--white);
}

.site-footer img {
  width: min(150px, 100%);
  margin-bottom: 22px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.site-footer p,
.site-footer address,
.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  max-width: 520px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.site-footer address {
  display: grid;
  gap: 12px;
  font-style: normal;
  text-align: left;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 14px;
  font-size: 1.02rem;
  font-weight: 700;
}

.footer-nav a:hover,
.site-footer address a:hover {
  color: var(--white);
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 22px;
}

.footer-whatsapp {
  display: grid;
  grid-template-columns: 48px auto;
  gap: 3px 14px;
  align-items: center;
  width: fit-content;
  color: var(--white);
}

.footer-whatsapp img {
  width: 48px;
  height: 48px;
}

.footer-whatsapp strong {
  font-size: 1.5rem;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
}

.whatsapp-floating {
  position: fixed;
  z-index: 30;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  display: grid;
  grid-template-columns: 46px auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  min-width: min(340px, calc(100vw - 36px));
  padding: 13px 18px 13px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: var(--white);
  background: rgba(7, 21, 46, 0.94);
  box-shadow: 0 22px 60px rgba(7, 21, 46, 0.32);
  backdrop-filter: blur(16px);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.whatsapp-floating:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 74px rgba(7, 21, 46, 0.42);
}

.whatsapp-floating img {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: block;
  object-fit: contain;
}

.whatsapp-floating span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.1;
}

.whatsapp-floating strong {
  color: var(--teal);
  font-size: clamp(1.25rem, 1.8vw, 1.72rem);
  font-weight: 700;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.98);
  transition: opacity 760ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-left {
  transform: translate3d(-42px, 0, 0) scale(0.98);
}

.reveal-right {
  transform: translate3d(42px, 0, 0) scale(0.98);
}

.reveal-scale {
  transform: translate3d(0, 18px, 0) scale(0.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

[hidden] {
  display: none !important;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1750px) and (max-height: 1050px) {
  .brand img {
    width: 138px;
  }

  .hero {
    min-height: 100vh;
    align-items: start;
    padding-top: clamp(220px, 22vh, 260px);
    padding-bottom: 44px;
  }

  h1 {
    font-size: clamp(2.55rem, 4.25vw, 4.1rem);
  }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.menu-active .main-nav,
  .site-header.menu-active .header-cta {
    display: flex;
  }

  .site-header.menu-active .main-nav {
    position: fixed;
    inset: 102px 16px auto;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    border-radius: 8px;
    background: #081a36;
    box-shadow: var(--shadow);
  }

  .site-header.menu-active .header-cta {
    position: fixed;
    top: 332px;
    left: 38px;
    right: 38px;
  }

  .hero-panel {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(560px, 100%);
    margin-top: 32px;
    transform: none;
  }

  .carousel-dots {
    left: clamp(18px, 5vw, 70px);
    right: auto;
  }

  .intro-grid,
  .presentation-stage,
  .section-heading,
  .service-tabs,
  .service-detail-grid,
  .difference,
  .quote-band {
    grid-template-columns: 1fr;
  }

  .service-panel {
    grid-template-columns: 1fr;
  }

  .presentation-lead {
    position: relative;
    top: auto;
  }

  .value-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand img {
    width: 82px;
    padding: 6px;
  }

  .hero {
    min-height: auto;
    padding-top: 166px;
  }

  .eyebrow {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.6rem);
    line-height: 1;
  }

  .hero-metrics,
  .process-grid,
  .sector-list,
  .quote-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .presentation-item,
  .value-card {
    grid-template-columns: 1fr;
  }

  .presentation-item span,
  .value-card span {
    width: 48px;
    height: 48px;
  }

  .sector-card {
    min-height: 210px;
  }

  .whatsapp-floating {
    grid-template-columns: 46px 1fr;
    right: 14px;
    bottom: 14px;
    min-width: 0;
    max-width: calc(100vw - 28px);
  }

  .hero-metrics div {
    padding: 18px;
  }

  .process-step {
    min-height: 240px;
  }

  .process-step span {
    margin-bottom: 34px;
  }

  .quote-band {
    grid-template-columns: 1fr;
  }

  .site-footer address {
    text-align: left;
  }

  .tab-button {
    min-height: 72px;
  }

  .whatsapp-link {
    width: 100%;
  }

  .site-footer {
    gap: 30px;
    padding-bottom: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
