:root {
  --navy-900: #0f3556;
  --navy-800: #174770;
  --navy-700: #1f4f76;
  --blue-500: #2e6f9e;
  --gold-500: #c8932a;
  --gold-300: #e8be67;
  --paper: #f6f4ef;
  --ink: #142433;
  --card: #ffffff;
  --shadow: 0 16px 40px rgba(15, 53, 86, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 110px;
}

.anchor-contact {
  scroll-margin-top: 132px;
}

.anchor-target {
  scroll-margin-top: 110px;
}

body {
  font-family: "Work Sans", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 8% -10%, #ffe6b2 0%, transparent 35%),
    radial-gradient(circle at 95% 15%, #d9e8f5 0%, transparent 35%),
    linear-gradient(180deg, #fdfcf8 0%, var(--paper) 100%);
  min-height: 100vh;
  line-height: 1.6;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(31, 79, 118, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 79, 118, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, #000 40%, transparent 90%);
  z-index: -1;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(246, 244, 239, 0.86);
  border-bottom: 1px solid rgba(15, 53, 86, 0.1);
  z-index: 20;
}

.nav {
  min-height: 98px;
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand img {
  width: 168px;
  height: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(167, 119, 26, 0.58);
  background: linear-gradient(135deg, rgba(232, 190, 103, 0.98), rgba(200, 147, 42, 0.96) 56%, rgba(175, 126, 28, 0.96));
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(132, 94, 20, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
}

.nav-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(132, 94, 20, 0.32);
  filter: saturate(1.06);
}

.nav-toggle:active {
  transform: translateY(0);
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(200, 147, 42, 0.68);
  outline-offset: 2px;
}

.hero {
  min-height: calc(100vh - 98px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6.4rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
  background-color: #0f3556;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transform-origin: center center;
  animation: heroKenBurnsGlobal 12s ease-in-out infinite alternate;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.35s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg-slide.is-active {
  opacity: 1;
}

@keyframes heroKenBurnsGlobal {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

.hero-bg-slide-1 {
  background-image: url('Multimedia/Hero/hero1.png');
}

.hero-bg-slide-2 {
  background-image: url('Multimedia/Hero/hero2.png');
}

.hero-bg-slide-3 {
  background-image: url('Multimedia/Hero/hero3.png');
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(8, 24, 40, 0.7), rgba(12, 36, 58, 0.64)),
    radial-gradient(circle at 14% 16%, rgba(200, 147, 42, 0.22), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(10, 28, 45, 0.5), transparent 48%);
  z-index: 1;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero::before {
  top: -290px;
  right: -210px;
  background: radial-gradient(
    circle,
    rgba(200, 147, 42, 0.2) 0%,
    rgba(200, 147, 42, 0.1) 34%,
    rgba(200, 147, 42, 0.04) 52%,
    transparent 72%
  );
}

.hero::after {
  bottom: -300px;
  left: -220px;
  background: radial-gradient(
    circle,
    rgba(15, 53, 86, 0.2) 0%,
    rgba(15, 53, 86, 0.11) 36%,
    rgba(15, 53, 86, 0.05) 55%,
    transparent 74%
  );
}

.hero .container {
  max-width: 860px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.84);
}

.hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.45rem);
  margin-bottom: 1.5rem;
  line-height: 1.08;
  color: #ffffff;
  max-width: none;
  margin-inline: auto;
}

.hero h1 span {
  color: var(--gold-300);
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero h1 .hero-title-line--top {
  color: #ffffff;
}

.hero h1 .hero-title-line--bottom {
  color: var(--gold-300);
}

.hero-copy {
  font-size: 1.1rem;
  color: rgba(245, 249, 253, 0.95);
  line-height: 1.7;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 2px 20px rgba(6, 17, 30, 0.46);
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  min-width: 186px;
  justify-content: center;
  text-align: center;
  border-radius: 12px;
  border: 1px solid transparent;
}

.hero-stats {
  display: flex;
  gap: clamp(1rem, 2.2vw, 1.7rem);
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-stat strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.85rem);
  color: var(--gold-300);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.18rem;
}

.hero-stat span {
  font-size: 0.74rem;
  color: rgba(242, 248, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.hero-actions .btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(6, 20, 33, 0.2);
  backdrop-filter: blur(2px);
}

.hero-actions .btn-ghost:hover {
  background: #ffffff;
  color: var(--navy-900);
  border-color: #ffffff;
}

.services-banner {
  margin-bottom: 1.35rem;
  padding: 1.8rem 2rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(15, 53, 86, 0.96), rgba(31, 79, 118, 0.95));
  text-align: center;
}

.services-banner::before,
.services-banner::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(200, 147, 42, 0.25) 0%,
    rgba(226, 185, 93, 0.95) 18%,
    rgba(245, 220, 160, 0.95) 50%,
    rgba(226, 185, 93, 0.95) 82%,
    rgba(200, 147, 42, 0.25) 100%
  );
}

.services-banner::before {
  top: 0;
}

.services-banner::after {
  bottom: 0;
}

.services-banner h2 {
  color: var(--gold-300);
  font-size: clamp(2rem, 4vw, 3rem);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24), 0 6px 14px rgba(8, 20, 34, 0.28);
}

.eyebrow {
  color: var(--navy-700);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.1;
  margin: 0;
  color: var(--navy-900);
}

h1 {
  font-size: clamp(2.3rem, 5.7vw, 4.25rem);
}

h1 span {
  color: var(--gold-500);
}

.hero-copy {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 2.2vw, 1.16rem);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.7rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(100deg, var(--gold-500), var(--gold-300));
  color: #1f2a33;
  box-shadow: 0 12px 26px rgba(200, 147, 42, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(200, 147, 42, 0.35);
}

.hero-actions .btn-primary:hover {
  background: #ffffff;
  color: var(--gold-500);
  border-color: var(--gold-500);
}

.btn-ghost {
  color: var(--navy-900);
  border: 1px solid rgba(15, 53, 86, 0.25);
  background: rgba(255, 255, 255, 0.6);
}

.hero-actions .btn-ghost:hover {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
}

.services {
  padding: 3.2rem 0 3.8rem;
}

.services .services-banner {
  margin-bottom: 2.8rem;
}

.services-subtitle {
  margin: 1.1rem auto 3rem;
  max-width: 760px;
  text-align: center;
  color: var(--navy-900);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  line-height: 1.2;
}

.section-head {
  margin-bottom: 1.7rem;
  max-width: 780px;
}

.services .section-head .eyebrow {
  color: var(--gold-500);
}

.services .section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.services .section-head p {
  margin: 0.7rem 0 0;
  color: var(--navy-700);
  max-width: 68ch;
}

.services .cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.services .card:nth-child(1) {
  grid-column: 1 / 3;
}

.services .card:nth-child(2) {
  grid-column: 3 / 5;
}

.services .card:nth-child(3) {
  grid-column: 5 / 7;
}

.services .card:nth-child(4) {
  grid-column: 2 / 4;
}

.services .card:nth-child(5) {
  grid-column: 4 / 6;
}
.services .card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.72rem;
  row-gap: 0.78rem;
  align-content: start;
  min-height: 384px;
  height: 100%;
  padding: 1.5rem 1.45rem;
  position: relative;
  border: 1px solid rgba(31, 79, 118, 0.13);
  box-shadow: 0 10px 26px rgba(106, 131, 156, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.services .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(140, 166, 191, 0.24);
  border-color: rgba(200, 147, 42, 0.24);
}

.services .card h3 {
  font-family: "Cormorant Garamond", serif;
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  padding-right: 0;
  align-self: center;
  grid-column: 2;
}

.services .card p {
  margin: 0;
  line-height: 1.6;
  color: var(--navy-700);
}

.service-points {
  grid-column: 1 / -1;
  margin: 0.35rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.42rem;
  color: var(--navy-800);
  font-size: 0.93rem;
  line-height: 1.5;
}

.service-points li::marker {
  color: var(--gold-500);
}

.service-more {
  grid-column: 1 / -1;
  margin-top: auto;
}

.service-more summary {
  list-style: none;
  cursor: pointer;
  width: fit-content;
  margin: 0.9rem auto 0;
  color: var(--gold-500);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.03em;
  text-align: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-more summary::-webkit-details-marker {
  display: none;
}

.service-more summary::after {
  content: ' +';
  font-weight: 600;
}

.service-more summary:hover {
  color: var(--gold-300);
  transform: translateY(-1px);
}

.service-more[open] summary::after {
  content: ' -';
}

.service-more-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.32s ease, opacity 0.28s ease, margin-top 0.28s ease;
}

.service-more[open] .service-more-content {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.85rem;
}

.service-more-content ul {
  overflow: hidden;
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.42rem;
  color: var(--navy-800);
  font-size: 0.93rem;
  line-height: 1.5;
}

.service-more-content li::marker {
  color: var(--gold-500);
}

.services .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  color: var(--gold-500);
  background: transparent;
  margin-bottom: 0;
  position: static;
  align-self: center;
  justify-self: center;
  grid-column: 1;
  grid-row: 1;
}

.services .icon i {
  font-size: 1.62rem;
  line-height: 1;
}

.founder {
  padding-bottom: 2.2rem;
}

.founder-banner {
  margin-bottom: 4.8rem;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.founder-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 0.72fr 1fr;
  align-items: center;
  padding-top: 0.4rem;
}

.founder-photo {
  min-height: 330px;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.founder-photo i {
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.18);
}

.founder-copy {
  display: grid;
  gap: 1rem;
}

.founder-copy h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.founder-badge {
  display: inline-block;
  width: fit-content;
  border: 1px solid rgba(23, 71, 112, 0.2);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--card);
}

.founder-journey-title {
  margin: 2rem 0 0.9rem;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  color: var(--navy-900);
  line-height: 1.15;
}

.founder-journey-title::after {
  content: '';
  display: block;
  width: 110px;
  height: 3px;
  margin: 0.5rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}

.founder-journey {
  margin-top: 0;
  max-width: 900px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), #f4f8fb 70%);
  border: 1px solid rgba(31, 79, 118, 0.15);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.6rem 1.7rem;
}

.founder-journey p {
  margin: 0;
  color: var(--navy-700);
  line-height: 1.65;
}

.founder-journey p + p {
  margin-top: 0.78rem;
}

.it-services {
  padding: 0.4rem 0 2.8rem;
}

.it-services-intro {
  margin: 0 auto 1.45rem;
  max-width: 760px;
  text-align: center;
  color: var(--navy-700);
  line-height: 1.6;
}

.it-systems-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 360px));
  justify-content: center;
  gap: 1.15rem;
}

.it-system-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), #f4f8fb 70%);
  border: 1px solid rgba(31, 79, 118, 0.15);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.5rem 1.35rem;
  display: grid;
  justify-items: center;
  gap: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.it-system-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(15, 53, 86, 0.16);
  border-color: rgba(200, 147, 42, 0.28);
}

.it-system-visual {
  width: min(62%, 210px);
  min-height: 188px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(15, 53, 86, 0.04), rgba(200, 147, 42, 0.1));
  border: 1px solid rgba(31, 79, 118, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  margin-top: 0.25rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.it-system-visual:hover {
  transform: translateY(-1px);
  border-color: rgba(200, 147, 42, 0.28);
  box-shadow: 0 10px 22px rgba(15, 53, 86, 0.12);
}

.it-system-visual:focus-visible {
  outline: 3px solid rgba(200, 147, 42, 0.45);
  outline-offset: 3px;
}

.it-system-logo-image {
  display: block;
  width: min(100%, 190px);
  max-height: 150px;
  object-fit: contain;
  object-position: center;
}

.it-system-card p {
  margin: 0;
  color: var(--navy-700);
  line-height: 1.58;
  text-align: center;
  max-width: 32ch;
}

.it-link {
  width: fit-content;
  margin-top: 0.22rem;
  text-decoration: none;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.93rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid rgba(200, 147, 42, 0.5);
  padding-bottom: 0.18rem;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.it-link:hover {
  color: var(--blue-500);
  border-color: var(--gold-500);
  transform: translateY(-1px);
}

.card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), #f4f8fb 70%);
  border: 1px solid rgba(31, 79, 118, 0.15);
  border-radius: 18px;
  padding: 1.45rem;
  box-shadow: var(--shadow);
}

.card h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
  margin-bottom: 0.5rem;
}

.approach {
  margin: 3.2rem 0;
  border-top: 1px solid rgba(15, 53, 86, 0.15);
  border-bottom: 1px solid rgba(15, 53, 86, 0.15);
  background: linear-gradient(90deg, rgba(15, 53, 86, 0.96), rgba(31, 79, 118, 0.95));
  color: #f4f7fa;
}

.approach-grid {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.approach h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.approach .eyebrow {
  color: var(--gold-300);
}

.approach ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.approach li {
  margin-bottom: 0.65rem;
  padding-left: 1.7rem;
  position: relative;
}

.approach li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold-300);
  font-weight: 700;
}

.contact {
  padding: 3rem 0 4.6rem;
}

.contact h2 {
  font-size: clamp(1.95rem, 4vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.contact > .container > div:first-child p {
  color: var(--navy-700);
  margin-bottom: 1.4rem;
  max-width: 45ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), #f4f8fb 70%);
  border: 1px solid rgba(31, 79, 118, 0.15);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  color: var(--navy-900);
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
}

.contact-form > p {
  margin: 0;
  color: var(--navy-700);
}

.contact-map {
  width: 100%;
  height: 248px;
  border: 1px solid rgba(31, 79, 118, 0.18);
  border-radius: 12px;
}

.map-link {
  width: fit-content;
  text-decoration: none;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.93rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid rgba(200, 147, 42, 0.5);
  padding-bottom: 0.18rem;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.map-link:hover {
  color: var(--blue-500);
  border-color: var(--gold-500);
  transform: translateY(-1px);
}

.contact-actions {
  display: flex;
  gap: 0.72rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-whatsapp {
  margin-top: 0.3rem;
  background: #16834d;
  color: var(--card);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(22, 131, 77, 0.28);
}

.btn-mail {
  margin-top: 0.3rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(31, 79, 118, 0.25);
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn-mail:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 53, 86, 0.16);
  border-color: rgba(200, 147, 42, 0.42);
}

.whatsapp-float {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, #20a966, #16834d);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(22, 131, 77, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 40;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float i {
  font-size: 1.75rem;
  line-height: 1;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 30px rgba(22, 131, 77, 0.42);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(200, 147, 42, 0.5);
  outline-offset: 3px;
}

.site-footer {
  background: #0b243d;
  color: rgba(255, 255, 255, 0.88);
  padding: 2rem 0;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gold-300);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-500);
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1.visible {
  transition-delay: 0.12s;
}

.delay-2.visible {
  transition-delay: 0.22s;
}

.delay-3.visible {
  transition-delay: 0.32s;
}

@media (max-width: 1020px) {
  .services .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .services .card:nth-child(1),
  .services .card:nth-child(2),
  .services .card:nth-child(3),
  .services .card:nth-child(4),
  .services .card:nth-child(5) {
    grid-column: auto;
  }

  .services .card {
    min-height: 370px;
  }
}

@media (max-width: 760px) {
  section[id] {
    scroll-margin-top: 120px;
  }

  .anchor-contact {
    scroll-margin-top: 120px;
  }

  .anchor-target {
    scroll-margin-top: 120px;
  }

  .container {
    width: min(1120px, 94vw);
  }

  .site-header {
    background: rgba(246, 244, 239, 0.94);
  }

  .nav {
    min-height: 74px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0.45rem 0.1rem;
  }

  .brand {
    align-self: auto;
    margin-left: 0.35rem;
  }

  .brand img {
    width: 132px;
    height: auto;
  }

  .nav-toggle {
    display: inline-flex;
    margin-right: 0.35rem;
  }

  .nav-links {
    width: 100%;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.55rem;
    border: 1px solid rgba(31, 79, 118, 0.2);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(250, 248, 243, 0.98), rgba(242, 247, 252, 0.98));
    box-shadow: 0 14px 28px rgba(15, 53, 86, 0.16);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 30;
  }

  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    display: block;
    text-align: center;
    border: 1px solid rgba(31, 79, 118, 0.22);
    border-radius: 12px;
    padding: 0.36rem 0.5rem;
    font-size: 0.76rem;
    letter-spacing: 0.055em;
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy-900);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 245, 250, 0.94));
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 6px 12px rgba(15, 53, 86, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease,
      background-color 0.18s ease;
  }

  .nav-links a:hover {
    border-color: rgba(200, 147, 42, 0.55);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 9px 14px rgba(15, 53, 86, 0.11);
    transform: translateY(-1px);
  }

  .nav-links a:active {
    transform: translateY(0);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset, 0 4px 8px rgba(15, 53, 86, 0.08);
  }

  .nav-links a:focus-visible {
    outline: 2px solid rgba(200, 147, 42, 0.55);
    outline-offset: 2px;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 2.35rem 0.85rem 2.8rem;
  }

  .hero::before,
  .hero::after {
    width: 380px;
    height: 380px;
  }

  .hero .eyebrow {
    margin-bottom: 0.75rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
    margin-bottom: 1rem;
    line-height: 1.08;
  }

  .hero-title-line {
    white-space: normal;
  }

  .hero-copy {
    font-size: 0.96rem;
    line-height: 1.58;
    margin-bottom: 1.15rem;
  }

  .hero-actions {
    margin-top: 1.05rem;
    margin-bottom: 1.55rem;
    gap: 0.6rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    padding: 0.74rem 1rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.7rem;
    padding-top: 1.05rem;
    border-top: 1px solid rgba(15, 53, 86, 0.1);
  }

  .hero-stat:nth-child(3) {
    display: block;
    grid-column: 1 / -1;
    justify-self: center;
    text-align: center;
    margin-top: 0.35rem;
  }

  .hero-stat {
    padding: 0.35rem 0.25rem;
  }

  .hero-stat strong {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
    margin-bottom: 0.1rem;
    line-height: 1.02;
  }

  .hero-stat span {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .services,
  .contact {
    padding-top: 2.15rem;
    padding-bottom: 2.4rem;
  }

  .founder.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .services-banner,
  .founder-banner {
    padding: 1.18rem 1rem;
    margin-bottom: 1.55rem;
  }

  .services-subtitle {
    margin: 0.65rem auto 1.5rem;
    font-size: clamp(1.38rem, 6.5vw, 1.8rem);
  }

  .services .cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .founder-badge-prefix {
    display: none;
  }

  .services .card {
    min-height: auto;
    padding: 1.2rem 1.05rem;
  }

  .it-systems-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .it-system-card {
    padding: 1.2rem 1rem;
  }

  .it-system-visual {
    width: min(78%, 220px);
    min-height: 158px;
  }
}

@media (max-width: 920px) {
  .founder-grid,
  .approach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .founder-grid {
    justify-items: center;
    text-align: center;
  }

  .founder-copy {
    justify-items: center;
    text-align: center;
  }

  .founder-photo {
    width: min(100%, 420px);
    min-height: 280px;
  }

  .founder-journey {
    margin-top: 1.4rem;
    padding: 1.3rem 1.2rem;
    text-align: center;
  }

  .founder-journey-title {
    margin-top: 1.5rem;
  }
}

@media (max-width: 700px) {
  .service-panel {
    padding: 1.3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 1rem;
    bottom: 1rem;
  }

  .whatsapp-float i {
    font-size: 1.62rem;
  }
}

@media (max-width: 520px) {
  .nav-links {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: calc(100svh - 150px);
    padding-top: 1.8rem;
    padding-bottom: 2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.2rem;
  }

  .hero-stat {
    padding: 0.24rem 0;
  }

  .hero-stat strong {
    font-size: 1.28rem;
  }

  .hero-stat span {
    font-size: 0.64rem;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-whatsapp,
  .btn-mail {
    width: 100%;
  }
}
