:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #67615b;
  --line: #e3ddd4;
  --red: #b61f2a;
  --red-dark: #851823;
  --charcoal: #242322;
  --gold: #c59a58;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 244, 239, 0.9);
  border-bottom: 1px solid rgba(227, 221, 212, 0.8);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  width: min(260px, 44vw);
  max-height: 70px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 14px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--ink);
  background: rgba(182, 31, 42, 0.08);
}

.main-nav .nav-cta {
  color: #fff;
  background: var(--charcoal);
}

.main-nav .nav-cta:hover {
  color: #fff;
  background: var(--red);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 82px);
  padding: clamp(44px, 7vw, 96px) clamp(20px, 5vw, 72px) 56px;
  background:
    linear-gradient(120deg, rgba(23, 23, 23, 0.94) 0%, rgba(36, 35, 34, 0.9) 43%, rgba(247, 244, 239, 0.2) 43.2%),
    var(--bg);
}

.hero-copy {
  max-width: 650px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c06f;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 16px 36px rgba(182, 31, 42, 0.28);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero-photo {
  position: relative;
  margin: 0;
  align-self: stretch;
  min-height: 540px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent);
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: -32px auto 0;
  padding: 0 clamp(20px, 5vw, 28px);
  position: relative;
  z-index: 2;
}

.intro-band div {
  min-height: 128px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.intro-band span {
  color: var(--muted);
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 6vw, 86px);
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  max-width: 600px;
}

.section-heading.centered {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.content-block {
  color: var(--muted);
  font-size: 1.04rem;
}

.content-block p:last-child,
.mission-panel p:last-child,
.objective-panel p:last-child,
.contact-section p:last-child {
  margin-bottom: 0;
}

.mission-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 22px;
  background: var(--charcoal);
}

.mission-panel,
.objective-panel {
  padding: clamp(30px, 5vw, 56px);
  border-radius: 8px;
}

.mission-panel {
  color: #fff;
  background: linear-gradient(135deg, rgba(182, 31, 42, 0.95), rgba(133, 24, 35, 0.95));
}

.mission-panel .eyebrow,
.objective-panel .eyebrow {
  color: #f1c06f;
}

.mission-panel p,
.objective-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.objective-panel {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.solutions-grid article {
  min-height: 220px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solutions-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(23, 23, 23, 0.1);
}

.card-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--red);
  background: rgba(182, 31, 42, 0.08);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.solutions-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.differentials {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 72px);
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 0;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 58px;
  padding: 17px 18px 17px 58px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
}

.check-list li::before {
  position: absolute;
  top: 17px;
  left: 18px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  content: "";
}

.check-list li::after {
  position: absolute;
  top: 23px;
  left: 26px;
  width: 7px;
  height: 11px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
  transform: rotate(45deg);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: 0 clamp(20px, 5vw, 72px) clamp(60px, 8vw, 90px);
  padding: clamp(34px, 6vw, 64px);
  color: #fff;
  background: var(--charcoal);
  border-radius: 8px;
}

.contact-section .eyebrow {
  color: #f1c06f;
}

.contact-section p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-button {
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #111;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #fff;
  background: #25d366;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.34), 0 8px 18px rgba(23, 23, 23, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.whatsapp-float:hover {
  box-shadow: 0 22px 44px rgba(37, 211, 102, 0.44), 0 10px 22px rgba(23, 23, 23, 0.2);
  filter: saturate(1.08);
  transform: translateY(-3px);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.38);
  outline-offset: 4px;
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

@media (max-width: 920px) {
  .site-header {
    gap: 14px;
  }

  .menu-toggle {
    display: grid;
    flex: 0 0 auto;
  }

  .main-nav {
    position: fixed;
    top: 86px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: rgba(247, 244, 239, 0.75);
  }

  .main-nav .nav-cta {
    color: #fff;
    background: var(--red);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
    padding-top: 52px;
    background: var(--charcoal);
  }

  .hero-copy {
    max-width: none;
  }

  .hero-photo {
    width: min(100%, 560px);
    min-height: 440px;
    justify-self: center;
  }

  .intro-band,
  .two-column,
  .mission-section,
  .differentials,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .contact-button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 74px;
    padding: 10px 14px;
  }

  .brand-logo {
    width: min(168px, 54vw);
    max-height: 52px;
  }

  .brand small {
    display: none;
  }

  .main-nav {
    top: 76px;
    right: 12px;
    left: 12px;
  }

  .hero {
    gap: 26px;
    padding: 34px 16px 28px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.72rem;
  }

  h1 {
    margin-bottom: 14px;
    font-size: clamp(2.95rem, 15vw, 3.55rem);
    line-height: 0.96;
  }

  h2 {
    margin-bottom: 14px;
    font-size: clamp(1.75rem, 9vw, 2.2rem);
    line-height: 1.12;
  }

  h3 {
    font-size: 1.08rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    min-height: 50px;
    padding: 13px 16px;
  }

  .hero-photo {
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-radius: 8px;
  }

  .intro-band {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding: 0 16px;
  }

  .intro-band div {
    min-height: auto;
    padding: 20px;
  }

  .section,
  .differentials {
    padding: 58px 16px;
  }

  .two-column,
  .differentials {
    gap: 24px;
  }

  .content-block {
    font-size: 1rem;
  }

  .mission-section {
    gap: 14px;
  }

  .mission-panel,
  .objective-panel {
    padding: 26px 20px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .solutions-grid article {
    min-height: auto;
    padding: 22px;
  }

  .card-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
  }

  .check-list {
    gap: 10px;
  }

  .check-list li {
    min-height: auto;
    padding: 15px 16px 15px 52px;
  }

  .check-list li::before {
    top: 16px;
    left: 16px;
  }

  .check-list li::after {
    top: 22px;
    left: 24px;
  }

  .contact-section {
    gap: 20px;
    margin: 0 16px 64px;
    padding: 28px 20px;
  }

  .contact-button {
    justify-self: stretch;
    white-space: normal;
  }

  .site-footer {
    flex-direction: column;
    gap: 10px;
    padding: 24px 16px 88px;
  }

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

  .whatsapp-float svg {
    width: 33px;
    height: 33px;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: min(150px, 50vw);
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-photo {
    aspect-ratio: 1 / 1.16;
  }

  .section-heading.centered {
    margin-bottom: 28px;
    text-align: left;
  }
}
