:root {
  --blue: #1b2b4a;
  --blue-2: #243b66;
  --coral: #e96a4b;
  --coral-dark: #cc563b;
  --ink: #1f2933;
  --muted: #667085;
  --line: #e7ebf0;
  --soft: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(27, 43, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(190px, 330px) minmax(0, 1fr) auto;
  gap: clamp(12px, 2vw, 20px);
  align-items: center;
  min-height: 104px;
  padding: 10px clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  height: 84px;
}

.brand img {
  display: block;
  width: 100%;
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
}

.nav-tabs {
  display: flex;
  justify-content: center;
  gap: clamp(2px, 0.55vw, 6px);
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
}

.nav-link {
  flex: 0 1 auto;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--blue);
  padding: 12px clamp(5px, 0.75vw, 11px) 10px;
  font-size: clamp(0.72rem, 0.85vw, 0.95rem);
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  cursor: pointer;
}

.nav-link.active,
.nav-link:hover {
  border-bottom-color: var(--coral);
  font-weight: 800;
}

.language {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

.language select,
.project-form select,
.project-form input,
.project-form textarea {
  border: 1px solid #ccd5e1;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.language select {
  padding: 9px 12px;
}

.menu-toggle {
  display: none;
}

main {
  min-height: 70vh;
}

.tab-panel {
  display: none;
  padding: clamp(42px, 6vw, 82px) clamp(22px, 7vw, 110px);
}

.tab-panel.active {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hero-copy,
.page-title,
.section-heading {
  max-width: 1120px;
}

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

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(1.35rem, 2.7vw, 1.8rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 1.05rem;
  letter-spacing: 0;
}

h4 {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

p {
  margin: 0 0 16px;
}

.lead {
  color: #344054;
  font-size: clamp(1.05rem, 1.03vw, 1.28rem);
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--coral);
  color: var(--white);
  min-height: 48px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(233, 106, 75, 0.24);
}

.primary-action:hover {
  background: var(--coral-dark);
}

.whiteboard {
  position: relative;
  min-height: 420px;
  border: 2px solid #d9e0ea;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(27, 43, 74, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(27, 43, 74, 0.06) 1px, transparent 1px),
    var(--white);
  background-size: 34px 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.board-line {
  position: absolute;
  inset: 64% 12% auto 12%;
  height: 4px;
  background: var(--blue);
  transform: rotate(-7deg);
}

.board-card {
  position: absolute;
  width: 38%;
  min-height: 150px;
  border: 3px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 18px;
}

.board-card.chart {
  left: 8%;
  top: 14%;
  display: flex;
  align-items: end;
  gap: 14px;
}

.board-card.chart span {
  display: block;
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: var(--coral);
}

.board-card.chart span:nth-child(1) { height: 54px; }
.board-card.chart span:nth-child(2) { height: 92px; background: var(--blue); }
.board-card.chart span:nth-child(3) { height: 126px; }

.board-card.notes {
  right: 8%;
  top: 22%;
}

.board-card.notes strong {
  display: block;
  color: var(--blue);
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.board-card.notes span {
  display: block;
  width: 100%;
  height: 10px;
  margin: 14px 0;
  border-radius: 999px;
  background: #cdd6e3;
}

.board-people {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 42px;
  display: flex;
  justify-content: space-between;
}

.board-people i {
  display: block;
  width: 72px;
  height: 72px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, var(--coral) 0 16%, transparent 17%), linear-gradient(var(--white) 0 45%, var(--blue) 46%);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 42px 0;
  background: var(--blue);
  border-radius: 8px;
  padding: 18px;
}

.metrics article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  text-align: center;
}

.metrics strong {
  display: block;
  color: var(--coral);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.section-band {
  margin-top: 48px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  background: var(--soft);
}

.compact {
  max-width: 780px;
}

.pillar-grid,
.team-grid,
.value-grid,
.industry-grid {
  display: grid;
  gap: 18px;
}

.pillar-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.pillar-grid article,
.value-grid article,
.team-card,
.service-piece,
.industry-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(27, 43, 74, 0.06);
}

.pillar-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(233, 106, 75, 0.12);
  color: var(--coral);
  font-weight: 900;
}

.testimonials {
  margin-top: 56px;
}

.testimonial-card {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.testimonial-content {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 26px;
  align-items: center;
  min-height: 300px;
}

.testimonial-content.reverse {
  grid-template-columns: 220px 1fr;
}

.testimonial-copy {
  font-size: 1.05rem;
}

.testimonial-copy blockquote {
  margin: 0 0 18px;
  color: #344054;
}

.testimonial-copy cite {
  color: var(--blue);
  font-style: normal;
  font-weight: 800;
}

.testimonial-photo {
  width: 220px;
  height: 220px;
  border-radius: 8px;
  object-fit: cover;
  border: 5px solid var(--soft);
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
}

.carousel-dots button.active {
  width: 28px;
  border-radius: 999px;
  background: var(--coral);
}

.page-title {
  margin-bottom: 36px;
}

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

.team-card {
  padding: 16px;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.team-card h3 {
  margin-top: 14px;
  font-size: 1rem;
}

.team-card p,
.team-card a {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.team-card a {
  color: var(--blue);
  font-weight: 400;
}

.value-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-puzzle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 34px 0;
}

.service-piece {
  position: relative;
  min-height: 132px;
  padding-left: 62px;
  overflow: hidden;
}

.service-piece::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  width: 26px;
  height: 26px;
  background-image: url("/Users/luisvelez/Documents/Codex/2026-07-06/files-mentioned-by-the-user-prompt/outputs/kiro-latam-research/assets/O_de_Logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


/* 
.service-piece::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 18px 18px 0 rgba(27, 43, 74, 0.16);
}
*/

.service-piece:nth-child(even) {
  background: var(--blue);
  color: var(--white);
}

.service-piece:nth-child(even) h3,
.service-piece:nth-child(even) h4 {
  color: var(--white);
}

.office-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.office-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.coverage-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(300px, 1.4fr) minmax(180px, 0.65fr);
  gap: 22px;
  align-items: center;
}

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

.country-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 6px;
  background: var(--white);
  font-weight: 500;
  color: var(--blue);
}

.map-card {
  position: relative;
  border-radius: 8px;
  background: var(--soft);
  padding: 11px;
  box-shadow: var(--shadow);
}

.map-card img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.map-pin {
  position: absolute;
  left: 28%;
  top: 38%;
  transform: translate(-50%, -50%);
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(233, 106, 75, 0.28);
}

.experience {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 28px;
  margin-top: 50px;
  padding: 34px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
}

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

.experience ol {
  margin: 0;
  padding-left: 22px;
}

.experience li {
  margin-bottom: 12px;
}

.industries {
  margin-top: 48px;
}

.industry-grid {
  grid-template-columns: repeat(4, 1fr);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 28px;
  align-items: start;
}

.contact-info,
.project-form {
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-info {
  background: var(--blue);
  color: var(--white);
}

.contact-info h2,
.contact-info strong {
  color: var(--white);
}

.contact-info ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.contact-info li {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.project-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}

.project-form h2,
.project-form .full,
.project-form .form-error,
.project-form button {
  grid-column: 1 / -1;
}

.project-form label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-weight: 800;
}

.project-form input,
.project-form select,
.project-form textarea {
  width: 100%;
  padding: 12px 13px;
  font-weight: 400;
}

.project-form textarea {
  resize: vertical;
}

.form-error {
  min-height: 20px;
  margin: 0;
  color: #b42318;
  font-weight: 700;
}

.privacy-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.privacy-box img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.site-footer {
  padding: 34px clamp(22px, 7vw, 110px);
  background: var(--blue);
  color: var(--white);
  text-align: center;
}

.site-footer p {
  margin: 5px 0;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 230px minmax(0, 1fr) auto;
    padding-inline: clamp(16px, 3vw, 34px);
  }

  .brand {
    height: 72px;
  }

  .brand img {
    max-height: 70px;
  }

  .nav-link {
    padding-inline: 5px;
    font-size: 0.72rem;
  }

  .team-grid,
  .office-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(180px, 1fr) auto auto;
    min-height: 86px;
    position: sticky;
  }

  .brand {
    height: 66px;
  }

  .brand img {
    max-height: 64px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--blue);
    padding: 0 10px;
    font-weight: 800;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--blue);
  }

  .nav-tabs {
    display: none;
    grid-column: 1 / -1;
    justify-content: stretch;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-tabs.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .nav-link {
    width: 100%;
    padding: 12px 10px;
    border-bottom: 0;
    border-left: 3px solid transparent;
    border-radius: 8px;
    font-size: 0.92rem;
    text-align: left;
    white-space: normal;
  }

  .nav-link.active,
  .nav-link:hover {
    border-bottom-color: transparent;
    border-left-color: var(--coral);
    background: var(--soft);
  }

  .hero,
  .contact-layout,
  .experience,
  .privacy-box {
    grid-template-columns: 1fr;
  }

  .coverage-layout {
    grid-template-columns: 1fr;
  }

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

  .pillar-grid,
  .service-puzzle,
  .metrics {
    grid-template-columns: 1fr;
  }

  .testimonial-content,
  .testimonial-content.reverse {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .testimonial-photo {
    width: 180px;
    height: 180px;
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 8px 16px;
  }

  .language {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .nav-tabs.open {
    grid-template-columns: 1fr;
  }

  .tab-panel {
    padding: 34px 18px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .whiteboard {
    min-height: 330px;
  }

  .board-card {
    width: 42%;
    min-height: 120px;
  }

  .team-grid,
  .office-gallery,
  .value-grid,
  .industry-grid,
  .country-list,
  .project-form {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    grid-template-columns: 38px 1fr 38px;
    padding: 12px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
  }
}
