:root {
  --navy: #071b2e;
  --blue: #0e3858;
  --gold: #c8a45a;
  --cream: #f6f2e9;
  --ink: #17212b;
  --white: #fff;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background: #fff;
  line-height: 1.6;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: Georgia, serif;
  line-height: 1.08;
  margin-top: 0;
}
h1 {
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}
.site-header {
  height: 80px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 27, 46, 0.97);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.brand span,
.eyebrow {
  color: var(--gold);
}
nav {
  display: flex;
  gap: 30px;
}
nav a {
  text-decoration: none;
}
.menu-button {
  display: none;
}
.hero {
  min-height: calc(100vh - 80px);
  position: relative;
  background-color: #0f1a26;
}

/* --- Ferrol hero carousel (CSS-only crossfade, 3s per slide, 27s loop) --- */
.hero-carousel {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: hero-fade 27s infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 3s; }
.hero-slide:nth-child(3) { animation-delay: 6s; }
.hero-slide:nth-child(4) { animation-delay: 9s; }
.hero-slide:nth-child(5) { animation-delay: 12s; }
.hero-slide:nth-child(6) { animation-delay: 15s; }
.hero-slide:nth-child(7) { animation-delay: 18s; }
.hero-slide:nth-child(8) { animation-delay: 21s; }
.hero-slide:nth-child(9) { animation-delay: 24s; }
@keyframes hero-fade {
  0%    { opacity: 0; }
  2.8%  { opacity: 1; }
  11.1% { opacity: 1; }
  14%   { opacity: 0; }
  100%  { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; }
  .hero-slide:nth-child(1) { opacity: 1; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 26, 38, 0.95) 0%,
    rgba(27, 43, 62, 0.85) 35%,
    rgba(27, 43, 62, 0.7) 60%,
    rgba(27, 43, 62, 0.5) 100%
  );
}
.hero-overlay-v {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 26, 38, 0.3) 0%,
    transparent 30%,
    transparent 70%,
    rgba(15, 26, 38, 0.5) 100%
  );
}
.hero-gold {
  color: var(--gold);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 8px 0 0;
}
.hero-scroll span {
  width: 6px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  animation: hero-scroll-dot 2s ease-in-out infinite;
}
@keyframes hero-scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll span {
    animation: none;
  }
}
.hero-copy {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 760px;
  padding: clamp(90px, 14vw, 180px) max(24px, calc((100vw - var(--max)) / 2));
}
.hero-copy p:not(.eyebrow) {
  font-size: 1.2rem;
  max-width: 650px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}
.button {
  display: inline-block;
  border: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 22px;
  text-decoration: none;
  font-weight: 800;
  margin-top: 16px;
  cursor: pointer;
}
.section {
  max-width: var(--max);
  margin: auto;
  padding: 100px 24px;
}
.about-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url('/assets/images/source/about-hero.jpg') center/cover var(--navy);
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 26, 38, 0.93) 0%,
    rgba(27, 43, 62, 0.8) 45%,
    rgba(27, 43, 62, 0.55) 100%
  );
}
.about-hero-copy {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 130px 24px 100px;
  color: #fff;
}
.about-hero-copy h1 {
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  color: #fff;
  max-width: 640px;
  margin: 0 0 18px;
}
.about-hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0;
}
.about-define {
  text-align: center;
  max-width: 860px;
}
.about-define h2 {
  color: var(--blue);
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 14px 0 30px;
}
.about-quote {
  margin: 0 auto 30px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--gold);
  max-width: 620px;
}
.about-define p:not(.eyebrow) {
  color: #4a5a68;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto 18px;
}
.about-why {
  max-width: none;
  background: #f4f6f8;
}
.about-why-head {
  text-align: center;
  margin-bottom: 54px;
}
.about-why-head h2 {
  color: var(--blue);
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 14px 0 0;
}
.about-why-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px 48px;
}
.about-why-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.about-why-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #2c4763);
  color: var(--gold);
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 10px 20px rgba(20, 42, 61, 0.25);
}
.about-why-item h3 {
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 8px;
}
.about-why-item p {
  color: #5b6a77;
  line-height: 1.65;
  margin: 0;
}
.about-data {
  max-width: 860px;
}
.about-data h3 {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 30px;
}
.about-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.about-data-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.about-data-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(246, 189, 24, 0.12);
  color: var(--gold);
}
.about-data-icon svg {
  width: 24px;
  height: 24px;
}
.about-data-label {
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 4px;
}
.about-data-item p {
  margin: 0;
  color: #5b6a77;
  font-size: 0.95rem;
}
.about-cta {
  background: var(--navy);
}
@media (max-width: 800px) {
  .about-why-grid,
  .about-data-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-copy {
    padding: 100px 20px 70px;
  }
}
.svcx-hero {
  padding: 60px 24px;
  text-align: center;
  background: #fff;
}
.svcx-hero h1 {
  color: var(--blue);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  max-width: 820px;
  margin: 14px auto 20px;
}
.svcx-hero-sub {
  color: #5b6a77;
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
}
.svcx {
  max-width: none;
  background: #f7f8fa;
}
.svcx-cards {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.svcx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6eaee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(20, 42, 61, 0.06);
  text-decoration: none;
  transition: box-shadow 0.3s, transform 0.3s;
}
.svcx-card:hover {
  box-shadow: 0 20px 40px rgba(20, 42, 61, 0.16);
  transform: translateY(-4px);
}
.svcx-media {
  position: relative;
  display: block;
  height: 192px;
  overflow: hidden;
}
.svcx-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.svcx-card:hover .svcx-media img {
  transform: scale(1.1);
}
.svcx-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 56, 88, 0.6), transparent 55%);
}
.svcx-icon {
  position: absolute;
  top: 168px;
  left: 24px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s;
}
.svcx-card:hover .svcx-icon {
  transform: scale(1.1);
}
.svcx-icon svg {
  width: 24px;
  height: 24px;
}
.svcx-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 40px 24px 24px;
}
.svcx-body h3 {
  font-size: 1.45rem;
  color: var(--blue);
  margin-bottom: 12px;
  transition: color 0.3s;
}
.svcx-card:hover .svcx-body h3 {
  color: var(--gold);
}
.svcx-body > p {
  color: #5b6a77;
  line-height: 1.65;
  margin: 0 0 18px;
}
.svcx-checks {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
  flex: 1;
}
.svcx-checks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #5b6a77;
}
.svcx-checks svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.crumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: #7a8894;
}
.crumbs a {
  text-decoration: none;
  color: #7a8894;
  transition: color 0.2s;
}
.crumbs a:hover {
  color: var(--gold);
}
.crumbs span[aria-current] {
  color: var(--blue);
  font-weight: 600;
}
.svc-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 110px 24px 90px;
  background: var(--svc) center/cover var(--navy);
  color: #fff;
}
.svc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 22, 34, 0.95),
    rgba(27, 43, 62, 0.88) 50%,
    rgba(10, 22, 34, 0.8)
  );
}
.svc-hero-overlay-v {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 34, 0.5), transparent 40%);
}
.svc-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 768px;
  margin: 0 auto;
}
.svc-hero-icon {
  display: inline-grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: rgba(246, 189, 24, 0.18);
  border: 1px solid rgba(246, 189, 24, 0.35);
  color: var(--gold);
  margin-bottom: 26px;
}
.svc-hero-icon svg {
  width: 40px;
  height: 40px;
}
.svc-hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  margin-bottom: 20px;
}
.svc-hero-copy > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 0;
}
.svc-hero-scroll {
  position: static;
  transform: none;
  margin: 44px auto 0;
}
.svc-section-head {
  text-align: center;
  margin-bottom: 46px;
}
.svc-section-head h2 {
  color: var(--blue);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  margin: 12px 0 0;
}
.svc-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-include {
  position: relative;
  background: #fff;
  border: 1px solid #e6eaee;
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.svc-include:hover {
  box-shadow: 0 16px 34px rgba(20, 42, 61, 0.14);
  border-color: rgba(246, 189, 24, 0.4);
}
.svc-include-num {
  position: absolute;
  top: -12px;
  right: -12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.svc-include-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(246, 189, 24, 0.12);
  color: var(--gold);
  margin-bottom: 16px;
}
.svc-include-icon svg {
  width: 24px;
  height: 24px;
}
.svc-include p {
  margin: 0;
  color: #4a5a68;
  line-height: 1.6;
}
.svc-stats {
  background: var(--navy);
  padding: 64px 24px;
  color: #fff;
}
.svc-stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.svc-stats strong {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  color: var(--gold);
}
.svc-stats span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.svc-profiles {
  max-width: none;
  background: #f4f6f8;
}
.svc-profiles-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.svc-profile {
  background: #fff;
  border: 1px solid #e6eaee;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(20, 42, 61, 0.08);
  transition: box-shadow 0.4s;
}
.svc-profile:hover {
  box-shadow: 0 22px 44px rgba(20, 42, 61, 0.18);
}
.svc-profile-media {
  display: block;
  position: relative;
  height: 192px;
  overflow: hidden;
}
.svc-profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-profile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 56, 88, 0.55), transparent 55%);
}
.svc-profile-body {
  position: relative;
  padding: 24px;
}
.svc-profile-num {
  position: absolute;
  top: -20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}
.svc-profile-body h3 {
  color: var(--blue);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.svc-profile-body p {
  margin: 0;
  color: #5b6a77;
  line-height: 1.65;
}
.cta-navy {
  background: var(--navy);
}
@media (max-width: 1024px) and (min-width: 801px) {
  .svcx-cards,
  .svc-includes-grid,
  .svc-profiles-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 800px) {
  .svcx-cards,
  .svc-includes-grid,
  .svc-profiles-grid {
    grid-template-columns: 1fr;
  }
  .svc-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .svcx-hero {
    padding: 44px 20px;
  }
  .svc-hero {
    padding: 80px 20px 64px;
  }
}
.philosophy {
  max-width: none;
  background: #f4f6f8;
}
.philosophy-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.philosophy-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--blue);
  max-width: 520px;
  margin: 16px 0 0;
  line-height: 1.15;
}
.philosophy-sub {
  color: #5b6a77;
  font-size: 1.1rem;
  max-width: 460px;
  margin: 22px 0 0;
  line-height: 1.65;
}
.philosophy-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 30px;
}
.philosophy-checks span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}
.philosophy-checks svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}
.philosophy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}
.philosophy-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: 16px 30px;
  border-radius: 8px;
  font-size: 0.95rem;
}
.philosophy-actions .button svg {
  width: 18px;
  height: 18px;
}
.button-ghost {
  background: #fff;
  border: 1px solid rgba(27, 48, 67, 0.3);
  color: var(--blue);
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.button-ghost:hover {
  border-color: var(--blue);
  background: rgba(27, 48, 67, 0.05);
}
.philosophy-media {
  position: relative;
}
.philosophy-media::before {
  content: "";
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 112px;
  height: 112px;
  background: var(--gold);
  border-radius: 12px;
}
.philosophy-media::after {
  content: "";
  position: absolute;
  top: -16px;
  right: -16px;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(246, 189, 24, 0.3);
  border-radius: 12px;
}
.philosophy-frame {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}
.philosophy-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.philosophy-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 48, 67, 0.2), transparent 40%);
}
@media (max-width: 1024px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .philosophy-media {
    order: -1;
  }
}
@media (max-width: 640px) {
  .philosophy-media::before,
  .philosophy-media::after {
    display: none;
  }
}
.services-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.services-head h2 {
  color: var(--blue);
  margin-bottom: 18px;
}
.services-sub {
  color: #5b6a77;
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 620px;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(20, 42, 61, 0.1);
  text-decoration: none;
  transition: box-shadow 0.3s;
}
.service-card:hover {
  box-shadow: 0 20px 40px rgba(20, 42, 61, 0.18);
}
.service-media {
  position: relative;
  display: block;
  height: 176px;
  overflow: hidden;
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.service-card:hover .service-media img {
  transform: scale(1.1);
}
.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 27, 46, 0.7), rgba(7, 27, 46, 0.2) 50%, transparent);
}
.service-icon {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s;
}
.service-card:hover .service-icon {
  transform: scale(1.1);
}
.service-icon svg {
  width: 24px;
  height: 24px;
}
.service-card-body {
  display: block;
  padding: 24px;
}
.service-card-body h3 {
  font-size: 1.25rem;
  color: var(--blue);
  margin-bottom: 0;
  transition: color 0.3s;
}
.service-card:hover .service-card-body h3 {
  color: var(--gold);
}
.service-card-body p {
  margin: 12px 0 0;
  color: #5b6a77;
  font-size: 0.9rem;
  line-height: 1.6;
}
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}
.service-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}
.service-card:hover .service-more svg {
  transform: translateX(4px);
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover::after {
  transform: scaleX(1);
}
.services-all-wrap {
  text-align: center;
  margin: 48px 0 0;
}
.services-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}
.services-all:hover {
  color: var(--gold);
}
.services-all svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 1024px) and (min-width: 801px) {
  .service-cards {
    grid-template-columns: 1fr 1fr;
  }
}
.reviews {
  max-width: none;
  overflow: hidden;
  padding: 84px 24px;
  text-align: center;
  color: #e5e5e5;
  background: linear-gradient(rgba(15, 26, 38, 0.85), rgba(15, 26, 38, 0.85)),
    url('/assets/images/public/testimonials-bg.png') center/cover #0f1a26;
}
.reviews-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #1e1e1e;
  border: 1px solid rgba(240, 193, 40, 0.2);
  color: #f0c128;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.reviews-badge svg {
  width: 14px;
  height: 14px;
}
.reviews h2 {
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e5e5e5;
  margin-bottom: 10px;
}
.reviews-sub {
  max-width: 36rem;
  margin: 0 auto;
  color: #75808d;
  font-size: 0.9rem;
}
.reviews-carousel {
  max-width: 768px;
  margin: 40px auto 0;
}
.reviews-track {
  display: grid;
  text-align: left;
}
.review-card {
  grid-area: 1 / 1;
  position: relative;
  overflow: hidden;
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateX(48px) scale(0.97);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}
.review-card.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.review-quote {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 80px;
  height: 80px;
  color: #f0c128;
  opacity: 0.08;
}
.review-google {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 4px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  color: #333;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.review-google svg {
  width: 14px;
  height: 14px;
}
.review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.review-stars {
  display: inline-flex;
  gap: 2px;
}
.review-star {
  width: 14px;
  height: 14px;
  fill: #f0c128;
}
.review-date {
  font-size: 0.75rem;
  color: #75808d;
}
.review-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  font-style: italic;
  color: #aaa;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid #1e1e1e;
}
.review-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #123960;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}
.review-name {
  display: block;
  color: #e5e5e5;
  font-weight: 500;
}
.review-meta {
  display: block;
  font-size: 0.75rem;
  color: #75808d;
}
.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 26px;
}
.reviews-nav {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1e1e1e;
  color: #e5e5e5;
  border: 1px solid #2a2a2a;
  cursor: pointer;
  transition: opacity 0.2s;
}
.reviews-nav:hover {
  opacity: 0.8;
}
.reviews-nav svg {
  width: 16px;
  height: 16px;
}
.reviews-dots {
  display: flex;
  gap: 6px;
}
.review-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #333;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s, background-color 0.3s;
}
.review-dot.is-active {
  width: 24px;
  background: #f0c128;
}
.reviews-marquee {
  margin-top: 48px;
  overflow: hidden;
}
.reviews-marquee-track {
  display: flex;
  width: max-content;
  animation: reviews-marquee 40s linear infinite;
}
.marquee-card {
  flex-shrink: 0;
  width: 288px;
  margin-right: 16px;
  text-align: left;
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  padding: 16px;
}
.marquee-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.marquee-top .review-star {
  width: 12px;
  height: 12px;
}
.marquee-top > span:last-child {
  font-size: 0.63rem;
  color: #75808d;
}
.marquee-text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.55;
  font-style: italic;
  color: #888;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.marquee-name {
  margin: 8px 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: #aaa;
}
@keyframes reviews-marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-marquee-track {
    animation: none;
  }
  .review-card {
    transition: none;
  }
}
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 96px 24px;
  background: linear-gradient(rgba(7, 27, 46, 0.85), rgba(7, 27, 46, 0.85)),
    url('/assets/images/source/about-hero.jpg') center/cover var(--navy);
  color: #fff;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0);
  background-size: 40px 40px;
}
.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 768px;
  margin: 0 auto;
}
.cta-tagline {
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 16px;
}
.cta h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  max-width: 620px;
  margin: 0 auto 22px;
}
.cta-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 40px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.cta-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: 18px 32px;
  font-size: 1.05rem;
  border-radius: 8px;
}
.cta-primary {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.cta-primary svg {
  width: 20px;
  height: 20px;
}
.cta-primary svg:last-of-type {
  transition: transform 0.3s;
}
.cta-primary:hover svg:last-of-type {
  transform: translateX(4px);
}
.cta .button-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  transition: background 0.3s, color 0.3s;
}
.cta .button-outline:hover {
  background: #fff;
  color: var(--navy);
}
.cta-trust {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin: 32px 0 0;
}
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 110px max(24px, calc((100vw - var(--max)) / 2));
}
.page-hero > div {
  max-width: 850px;
}
.prose {
  font-size: 1.15rem;
  max-width: 850px;
}
.legal-document {
  max-width: 900px;
}
.legal-document p {
  white-space: pre-line;
  margin: 0 0 1.6rem;
}
.imported-copy{max-width:900px}.imported-copy h2{margin-top:3.5rem}.imported-copy h3{font-size:1.45rem;margin-top:2rem}.imported-copy p{font-size:1.08rem;color:#44515d}.imported-list{padding-left:1.25rem}.imported-list li{margin:.6rem 0}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
form {
  display: grid;
  gap: 18px;
}
label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}
input,
textarea,
select {
  width: 100%;
  padding: 13px;
  border: 1px solid #b9c1c8;
  font: inherit;
  background: #fff;
  color: inherit;
}
.contact-hero {
  text-align: center;
  padding: 90px 24px 70px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #12314e 55%, #1b3c5e);
}
.contact-hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  margin: 14px 0 16px;
}
.contact-hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin: 0 auto;
  max-width: 560px;
}
.contact-info h2 {
  color: var(--blue);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 34px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}
.contact-item a {
  text-decoration: none;
  color: #4a5a68;
}
.contact-item a:hover {
  color: var(--gold);
}
.contact-item p {
  margin: 0;
  color: #4a5a68;
}
.contact-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(246, 189, 24, 0.12);
  color: var(--gold);
}
.contact-icon svg {
  width: 22px;
  height: 22px;
}
.contact-label {
  font-weight: 600;
  color: var(--blue) !important;
  margin: 0 0 2px !important;
}
.contact-ceo {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid #e6eaee;
  border-radius: 14px;
  background: #f7f8fa;
}
.contact-ceo-name {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  color: var(--blue);
  margin: 4px 0 8px;
}
.contact-ceo-bio {
  color: #5b6a77;
  margin: 0 0 14px;
  line-height: 1.6;
}
.contact-ceo-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.contact-ceo-phone:hover {
  color: var(--gold);
}
.contact-ceo-phone svg {
  width: 18px;
  height: 18px;
}
form button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
form button.button svg {
  width: 18px;
  height: 18px;
}
.check {
  display: flex;
  grid-template-columns: auto 1fr;
}
.check input {
  width: auto;
}
.site-footer {
  background: #04111e;
  color: #fff;
  padding: 60px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}
.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  color: #062411;
  padding: 12px 17px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 800;
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.hermes{position:fixed;right:20px;bottom:78px;z-index:30}.hermes-toggle{border:0;border-radius:999px;background:var(--gold);color:var(--navy);padding:12px 18px;font-weight:800;box-shadow:0 8px 30px rgba(0,0,0,.25);cursor:pointer}.hermes-panel{position:absolute;right:0;bottom:56px;width:min(380px,calc(100vw - 32px));height:500px;background:#0c1724;color:#fff;border:1px solid rgba(200,164,90,.35);border-radius:18px;overflow:hidden;box-shadow:0 18px 60px rgba(0,0,0,.35)}.hermes-panel header{display:grid;padding:16px 18px;background:#07111d}.hermes-panel header small{color:#aeb8c2}.hermes-messages{height:370px;overflow:auto;padding:16px}.hermes-message{max-width:85%;padding:10px 13px;border-radius:14px;background:#17283a}.hermes-message.user{margin-left:auto;background:var(--gold);color:var(--navy)}.hermes-panel form{position:absolute;left:0;right:0;bottom:0;display:flex;gap:8px;padding:12px;background:#07111d}.hermes-panel input{min-width:0;flex:1;background:#fff;color:var(--navy);caret-color:var(--navy)}.hermes-panel input::placeholder{color:#5f6b77;opacity:1}.hermes-panel form button{border:0;background:var(--gold);font-weight:800;padding:0 12px;cursor:pointer}
.service-hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--navy);
  color: #fff;
}
.service-copy {
  align-self: center;
  min-width: 0;
  padding: 90px max(24px, calc((100vw - var(--max)) / 2));
}
.service-copy h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  overflow-wrap: anywhere;
}
.service-hero img {
  min-width: 0;
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}
.service-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-list li {
  padding: 18px 0;
  border-bottom: 1px solid #d9dde0;
  font-weight: 700;
}
.service-list li::before {
  content: "✓";
  color: var(--gold);
  margin-right: 12px;
}
@media (max-width: 800px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 44px;
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 12px;
  }
  nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 22px;
    flex-direction: column;
  }
  nav.open {
    display: flex;
  }
  .service-cards,
  .contact-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }
  .service-hero,
  .service-body {
    grid-template-columns: 1fr;
  }
  .service-hero img {
    min-height: 320px;
  }
  .service-copy {
    padding: 70px 24px;
  }
  .hero-copy {
    padding-top: 100px;
  }
  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

/* Visual parity layer: mirrors the current Sinergy production identity. */
:root{--navy:#1b3043;--gold:#f6bd18;--cream:#f7f7f5;--ink:#172534;--max:1200px}
body{font-family:Arial,Helvetica,sans-serif;color:var(--ink);font-size:15px}
.site-header{position:fixed;height:80px;width:100%;background:rgba(27,48,67,.98);padding:0 max(24px,calc((100vw - var(--max))/2));box-shadow:0 1px rgba(246,189,24,.22)}
.brand{display:flex;align-items:center;height:100%}
.brand img{display:block;width:150px;max-height:68px}
.site-header nav{align-items:center;gap:36px;font-size:14px;font-weight:600;color:rgba(255,255,255,.82)}
.site-header nav a:first-child{color:var(--gold)}
main{padding-top:80px}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif}
.hero{min-height:calc(100vh - 80px);display:grid;place-items:center;background-position:center}
.hero-overlay{background:linear-gradient(rgba(13,29,43,.68),rgba(13,29,43,.73))}
.hero-copy{text-align:center;max-width:944px;padding:90px 24px 70px;margin:auto}
.hero-copy h1{font-size:clamp(2.8rem,5vw,4.5rem);max-width:900px;margin:0 auto 22px;font-weight:700;color:#fff}
.hero-copy>p:not(.eyebrow){font-size:1.05rem;max-width:690px;margin:0 auto 18px;color:rgba(255,255,255,.86)}
.eyebrow{color:var(--gold);font-size:.72rem;letter-spacing:.2em;margin-bottom:18px}
.hero-actions{display:flex;gap:14px;justify-content:center;align-items:center}
.button{background:var(--gold);color:#152739;border-radius:6px;padding:13px 24px;font-size:.88rem}
.button-outline{background:transparent;color:var(--gold);border:1px solid var(--gold)}
.button-ghost{background:#fff;color:var(--blue);border:1px solid rgba(27,48,67,.3)}
.button-ghost:hover{border-color:var(--blue);background:rgba(27,48,67,.05)}
.hero-features{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:44px;color:rgba(255,255,255,.9);font-size:.85rem;font-weight:500}
.hero-features span{display:inline-flex;align-items:center;gap:8px;padding:9px 18px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.05)}
.hero-features svg{width:16px;height:16px;color:var(--gold)}
.section{padding:96px 24px}
.section>h2{font-size:clamp(2.2rem,4vw,3.7rem);margin-bottom:44px}
.imported-copy{padding-top:110px;padding-bottom:110px;max-width:900px;text-align:center}
.imported-copy p{font-size:1.1rem}.imported-copy h2{font-size:clamp(2.2rem,4vw,3.6rem)}
.site-footer{position:relative;padding:70px max(24px,calc((100vw - var(--max))/2)) 30px;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:55px;background:linear-gradient(rgba(20,43,62,.96),rgba(20,43,62,.97)),url('/assets/images/source/hero-corporate.jpg') center/cover;color:rgba(255,255,255,.72);font-size:.85rem}
.site-footer>div{display:flex;flex-direction:column;gap:11px}.site-footer strong{color:var(--gold);font-family:Georgia,serif;font-size:1.05rem;margin-bottom:8px}.site-footer a{text-decoration:none}.site-footer a:hover{color:var(--gold)}
.footer-brand img{width:170px;margin-bottom:8px}.footer-brand p{line-height:1.6}.footer-copy{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.1);text-align:center;padding-top:25px;margin-top:25px;color:rgba(255,255,255,.45)}
.whatsapp{display:grid;place-items:center;width:56px;height:56px;padding:0;border-radius:999px;background:#25d366;color:#fff;box-shadow:0 8px 28px rgba(0,0,0,.25)}
.whatsapp svg{width:30px;height:30px}
.hermes{right:20px;bottom:88px}.hermes-toggle{display:grid;place-items:center;width:56px;height:56px;padding:0}.hermes-toggle svg{width:26px;height:26px}
.hermes-message{margin:0 0 10px;width:fit-content}.hermes-message.bot{background:#17283a}
@media(max-width:800px){
  .site-header{height:72px}.brand img{width:118px;max-height:58px}main{padding-top:72px}.menu-button{border-color:rgba(255,255,255,.7);border-radius:3px;font-size:.75rem}
  .site-header nav{top:72px}.hero{min-height:calc(100svh - 72px)}.hero-copy{padding:60px 20px 45px}.hero-copy h1{font-size:clamp(2.5rem,12vw,4rem)}.hero-copy>p:not(.eyebrow){font-size:.94rem}.hero-actions{flex-direction:column;gap:0}.hero-actions .button{min-width:190px}.hero-features{margin-top:30px;gap:10px;font-size:.78rem}.hero-scroll{display:none}
  .section{padding:68px 20px}.section>h2{margin-bottom:28px}.service-cards{gap:20px}.imported-copy{text-align:left}.cta{padding:76px 22px}.site-footer{grid-template-columns:1fr;padding:58px 24px 25px;gap:34px}.footer-copy{margin-top:8px}
  .reviews{padding:64px 20px}.review-card{padding:24px}.review-quote{top:18px;right:20px;width:56px;height:56px}.review-google{top:12px;right:12px}.marquee-card{width:250px}
}
.about-cta,
.cta-navy {
  background: var(--navy);
}

/* Áreas táctiles mínimas en móvil (auditoría 2026-08-12): enlaces de pie,
   migas, dots del carrusel y CTAs de texto quedaban por debajo de 32 px. */
@media (max-width: 800px) {
  .site-footer a,
  .crumbs a,
  .crumbs span[aria-current],
  .services-all,
  .contact-item a,
  .contact-ceo-phone {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
  .site-footer > div {
    gap: 4px;
  }
  .reviews-dots {
    gap: 10px;
  }
  .review-dot {
    width: 32px;
    height: 32px;
    background: transparent;
    position: relative;
  }
  .review-dot.is-active {
    width: 44px;
  }
  .review-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: #333;
    transition: background-color 0.3s, width 0.3s;
  }
  .review-dot.is-active::after {
    width: 24px;
  }
  .review-dot.is-active::after {
    background: var(--gold);
  }
}
