:root {
  --black: #100a07;
  --deep: #1b100b;
  --brown: #3b2115;
  --copper-dark: #6e3d22;
  --copper: #a96539;
  --bronze: #c9834c;
  --gold: #f1c57f;
  --sand: #ffe1ad;
  --cream: #fff5df;
  --muted: #d2b58e;
  --line: rgba(255, 213, 148, 0.22);
  --glass: rgba(47, 27, 18, 0.72);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--cream);
  background:
    radial-gradient(circle at 18% 12%, rgba(201, 131, 76, 0.25), transparent 30%),
    radial-gradient(circle at 82% 4%, rgba(241, 197, 127, 0.16), transparent 24%),
    linear-gradient(140deg, #100a07 0%, #24140d 44%, #130c08 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.23;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, transparent 0%, rgba(0, 0, 0, 0.48) 72%);
  z-index: -1;
}

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

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

p {
  line-height: 1.7;
}

.section-padding {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.page-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 197, 127, 0.2), transparent 68%);
  filter: blur(20px);
  top: -140px;
  right: -100px;
  z-index: -3;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 10, 7, 0.72);
  border-bottom: 1px solid rgba(255, 225, 173, 0.14);
  backdrop-filter: blur(20px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(16, 10, 7, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.navbar {
  width: min(1180px, calc(100% - 30px));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo-wrap {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  overflow: hidden;
  flex: 0 0 auto;
  background: linear-gradient(145deg, rgba(169, 101, 57, 0.32), rgba(255, 225, 173, 0.1));
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: clamp(1rem, 2vw, 1.18rem);
  letter-spacing: 0.02em;
  color: var(--cream);
}

.brand-text small {
  color: var(--gold);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: rgba(255, 245, 223, 0.8);
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 0.94rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--cream);
  background: rgba(255, 225, 173, 0.1);
  transform: translateY(-2px);
}

.nav-links .nav-cta {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold), var(--bronze));
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(201, 131, 76, 0.24);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 225, 173, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--gold);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 52px;
  padding-top: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero h1,
.section-heading h2,
.experience h2,
.contact-card h2 {
  font-size: clamp(2.35rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  max-width: 880px;
  color: var(--cream);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.42);
}

.hero-subtitle {
  margin-top: 24px;
  color: var(--sand);
  font-size: clamp(1.12rem, 2.2vw, 1.65rem);
  font-weight: 700;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0;
}

.hero-tags span,
.legacy-grid span {
  color: var(--sand);
  border: 1px solid var(--line);
  background: rgba(255, 225, 173, 0.075);
  padding: 12px 15px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  color: #1a0e08;
  background: linear-gradient(135deg, #ffe2a9 0%, #d99452 48%, #a96539 100%);
  box-shadow: 0 16px 42px rgba(201, 131, 76, 0.34);
}

.btn-secondary {
  color: var(--cream);
  border: 1px solid rgba(255, 225, 173, 0.34);
  background: rgba(255, 225, 173, 0.07);
}

.btn-secondary:hover {
  border-color: rgba(255, 225, 173, 0.6);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.32);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.logo-card {
  position: relative;
  width: min(100%, 470px);
  border-radius: 38px;
  overflow: hidden;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 225, 173, 0.18), rgba(169, 101, 57, 0.08)),
    rgba(20, 11, 7, 0.82);
  border: 1px solid rgba(255, 225, 173, 0.26);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.logo-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, transparent, rgba(241, 197, 127, 0.36), transparent);
  pointer-events: none;
}

.logo-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 26px;
  object-fit: contain;
}

.security-panel {
  position: absolute;
  right: -8px;
  bottom: -30px;
  width: min(260px, 70%);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(16, 10, 7, 0.88);
  border: 1px solid rgba(255, 225, 173, 0.25);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.panel-number {
  font-size: 2.8rem;
  line-height: 1;
  color: var(--gold);
  font-weight: 900;
}

.security-panel span:last-child {
  color: var(--sand);
  font-weight: 700;
  line-height: 1.2;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading h2,
.experience h2,
.contact-card h2 {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.02;
}

.section-heading p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.quick-info-card,
.service-card,
.mv-card,
.value-card,
.contact-card,
.experience-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 225, 173, 0.08), rgba(169, 101, 57, 0.07)),
    rgba(28, 16, 10, 0.72);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.quick-info-card {
  padding: 26px;
  min-height: 170px;
}

.quick-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold), var(--copper));
  font-weight: 900;
  font-size: 1.45rem;
}

.quick-info-card h3,
.service-card h3,
.mv-card h3,
.value-card h3 {
  color: var(--cream);
  font-size: 1.22rem;
  margin-bottom: 8px;
}

.quick-info-card p,
.service-card p,
.mv-card p {
  color: var(--muted);
}

.services {
  position: relative;
}

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

.service-card {
  position: relative;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(241, 197, 127, 0.12);
  transition: transform 0.28s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 225, 173, 0.48);
  background:
    linear-gradient(145deg, rgba(255, 225, 173, 0.13), rgba(169, 101, 57, 0.1)),
    rgba(36, 20, 13, 0.84);
}

.service-card:hover::after {
  transform: scale(1.25);
}

.service-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 48px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 225, 173, 0.96), rgba(169, 101, 57, 0.88));
  box-shadow: 0 14px 34px rgba(201, 131, 76, 0.22);
}

.service-icon svg {
  width: 38px;
  height: 38px;
  fill: #1c0f08;
}

.service-number {
  position: absolute;
  top: 28px;
  right: 28px;
  color: rgba(255, 225, 173, 0.4);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  font-weight: 900;
}

.service-card h3 {
  font-size: 1.42rem;
  line-height: 1.15;
  margin-bottom: 16px;
}

.experience {
  display: grid;
  gap: 22px;
}

.experience-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 20%, rgba(241, 197, 127, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(109, 61, 34, 0.45), rgba(16, 10, 7, 0.74));
}

.experience-number {
  width: clamp(118px, 18vw, 180px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--black);
  font-size: clamp(2.7rem, 7vw, 5rem);
  font-weight: 900;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #fff1c8, #d99452 52%, #6e3d22 100%);
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.45), 0 22px 54px rgba(0, 0, 0, 0.35);
}

.experience-copy {
  margin-top: 18px;
  color: var(--sand);
  font-size: 1.2rem;
  font-weight: 700;
}

.legacy-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.mission-vision {
  position: relative;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.mv-card {
  min-height: 300px;
  padding: 34px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(241, 197, 127, 0.14), transparent 36%);
  pointer-events: none;
}

.mv-label {
  position: relative;
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold), var(--bronze));
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
}

.mv-card h3,
.mv-card p {
  position: relative;
}

.mv-card h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin-bottom: 16px;
}

.mv-card p {
  font-size: 1.08rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.value-card {
  padding: 28px;
  min-height: 170px;
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  right: -20px;
  bottom: -20px;
  border-radius: 50%;
  background: rgba(241, 197, 127, 0.1);
}

.value-card span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--gold);
  letter-spacing: 0.16em;
  font-weight: 900;
}

.value-card h3 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 225, 173, 0.1), rgba(169, 101, 57, 0.08)),
    rgba(20, 11, 7, 0.84);
}

.contact-line {
  color: var(--muted);
  margin-top: 10px;
}

.contact-line strong {
  color: var(--sand);
}

.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--bronze));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 245, 223, 0.42);
  transition: transform 0.25s ease;
}

.float-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
}

.float-whatsapp svg {
  width: 34px;
  height: 34px;
  fill: #160c07;
}

.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 24px;
  padding: 34px 20px 38px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 24px;
  margin: 0 auto 16px;
  border: 1px solid var(--line);
}

.site-footer strong {
  color: var(--cream);
}

.footer-phrase {
  color: var(--gold);
  font-weight: 800;
  margin: 10px 0;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 52px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text .eyebrow,
  .hero-actions,
  .hero-tags {
    justify-content: center;
  }

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

  .quick-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .navbar {
    min-height: 78px;
  }

  .brand-logo-wrap {
    width: 52px;
    height: 52px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    left: 15px;
    right: 15px;
    top: calc(100% + 10px);
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(16, 10, 7, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(0.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nav-links a {
    display: block;
    text-align: center;
    border-radius: 14px;
  }

  .section-padding {
    padding: 70px 0;
  }

  .mv-grid,
  .contact-card,
  .experience-card {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-actions .btn,
  .hero-actions .btn {
    flex: 1 1 190px;
  }

  .security-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 16px;
    width: min(100%, 470px);
  }
}

@media (max-width: 620px) {
  .section-padding,
  .navbar,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text small {
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 13vw, 4rem);
  }

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

  .service-card {
    min-height: auto;
  }

  .logo-card {
    border-radius: 28px;
    padding: 10px;
  }

  .logo-card img {
    border-radius: 20px;
  }

  .experience-card,
  .contact-card,
  .mv-card {
    padding: 26px;
  }

  .experience-number {
    margin: 0 auto;
  }

  .experience-card {
    text-align: center;
  }

  .experience-card .eyebrow {
    justify-content: center;
  }

  .float-whatsapp {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
