﻿:root {
  --bg: #e8e8e8;
  --bg-dark: #394255;
  --bg-darker: #2f3748;
  --line: #d34248;
  --text: #4d5361;
  --text-dark: #2b3040;
  --muted: #8c90a0;
  --white: #ffffff;
  --panel: #f5f5f5;
  --crumb: #f0f0f0;
  --gold: #9c9736;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "PT Sans Narrow", Arial, sans-serif;
}

a {
  color: inherit;
}

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

.top-stripe {
  height: 5px;
  background: #5d333a;
}

.site-header {
  background: var(--white);
  padding: 24px 0 18px;
}

.wrap {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.header-row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
}


.logo {
  width: 292px;
}

.main-nav {
  background: transparent;
  margin-top: 18px;
}

.menu {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
}

.menu > li {
  position: relative;
}

.menu > li > a,
.menu-button {
  display: block;
  background: var(--bg-dark);
  color: var(--white);
  text-decoration: none;
  padding: 10px 14px;
  border-bottom: 3px solid var(--line);
  text-transform: uppercase;
  font: 700 14px/1.2 "PT Sans Narrow", Arial, sans-serif;
}

.menu > li > a:hover,
.menu > li > a:focus,
.menu > li.active > a,
.menu > li.active > .menu-button,
.menu-button:hover,
.menu-button:focus {
  background: #d04248;
}

.submenu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 150px;
  background: #dedede;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 10;
}

.submenu a {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
  font: 700 13px/1.35 "PT Sans Narrow", Arial, sans-serif;
}

.menu li:hover .submenu,
.menu li:focus-within .submenu {
  display: block;
}

.breadcrumbs {
  background: var(--crumb);
  color: #878b97;
  margin-top: 4px;
  padding: 9px 18px;
  font-size: 14px;
}

.breadcrumbs a {
  text-decoration: none;
  color: var(--text-dark);
}

.breadcrumbs span + span::before {
  content: '/';
  padding: 0 10px;
  color: #c3a26a;
}

.page-band {
  background: linear-gradient(180deg, #343b4a 0%, #2f3643 100%);
  color: var(--white);
  margin-top: 18px;
  padding: 16px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.page-band h1 {
  margin: 0;
  font: 400 28px/1.2 Oswald, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero {
  position: relative;
  min-height: 402px;
  background: center/cover no-repeat url('../images/recursos/slider/bg2.jpg');
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  gap: 8px;
}

.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.9);
}

.hero-dots span.is-active {
  background: #c7363b;
}

.hero-dots span {
  cursor: pointer;
}

.legal-copy table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 22px;
  font-size: 15px;
}

.legal-copy th,
.legal-copy td {
  border: 1px solid #d8d8d8;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-copy th {
  background: #f3f3f3;
  color: var(--text-dark);
}

.home-intro {
  display: grid;
  grid-template-columns: 1.8fr 160px;
  gap: 28px;
  align-items: start;
  padding: 8px 0 0;
}

.home-intro h2,
.section-title {
  margin: 0 0 8px;
  color: var(--text-dark);
  font: 400 26px/1.15 Oswald, Arial, sans-serif;
  text-transform: uppercase;
}

.home-intro h2 strong,
.highlight {
  color: var(--line);
  font-weight: 400;
}

.home-intro p,
.copy p,
.news-excerpt,
.service-card p,
.contact-copy p,
.project-empty p {
  margin: 0 0 12px;
  font-size: 16px;
}

.cta-box {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 12px;
}

.button-red,
.button-blue,
.button-muted {
  display: inline-block;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  padding: 12px 18px;
  text-transform: uppercase;
  font: 700 13px/1 Arial, sans-serif;
  color: var(--white);
}

.button-red { background: #d04248; }
.button-blue { background: #18a6d8; }
.button-muted { background: #d7434a; }

.separator {
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

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

.service-card {
  background: transparent;
}

.service-card img {
  width: 100%;
  height: 154px;
  object-fit: cover;
}

.service-card h3,
.service-name {
  margin: 10px 0 6px;
  color: #384150;
  font: 400 18px/1.2 Oswald, Arial, sans-serif;
  text-transform: uppercase;
}

.home-lower {
  padding: 22px 0 8px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.expertise-card {
  position: relative;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid #d2d2d2;
  padding: 38px 18px 20px;
  min-height: 214px;
}

.expertise-card.small {
  grid-column: span 4;
}

.expertise-card.wide {
  grid-column: span 8;
}

.expertise-icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid #cfcfcf;
  background: #f1f1f1;
  color: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 28px/1 Arial, sans-serif;
}

.expertise-card h3 {
  margin: 0 0 12px;
  text-align: center;
  color: #384150;
  font: 400 19px/1.2 Oswald, Arial, sans-serif;
  text-transform: uppercase;
}

.expertise-card h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--line);
  margin: 10px auto 0;
}

.expertise-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
}

.expertise-card li {
  margin-bottom: 7px;
}

.callout-box {
  margin-top: 18px;
  margin-left: auto;
  width: calc(((100% - 40px) / 12) * 8 + 20px);
  background: var(--line);
  color: var(--white);
  padding: 22px 24px;
  font-size: 15px;
}

.sponsors {
  padding: 26px 0 6px;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: end;
}

.sponsor-item h3 {
  margin: 0 0 12px;
  color: var(--text-dark);
  font: 400 18px/1.2 Oswald, Arial, sans-serif;
  text-transform: uppercase;
}

.sponsor-item img {
  max-height: 100px;
  width: auto;
}

.page-content {
  padding: 34px 0 8px;
}

.two-col {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

.image-frame img,
.news-thumb img {
  width: 100%;
}

.copy strong {
  color: var(--line);
  font-weight: 400;
}

.dark-footer {
  background: var(--bg-dark);
  color: var(--white);
  margin-top: 28px;
  padding: 32px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.map-frame iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

.contact-panel h2,
.contact-panel h3,
.contact-block h3,
.form-panel h2 {
  margin: 0 0 10px;
  color: var(--white);
  font: 400 28px/1.1 Oswald, Arial, sans-serif;
  text-transform: uppercase;
}

.contact-panel h3,
.contact-block h3,
.form-panel h2 {
  font-size: 20px;
}

.contact-panel p,
.contact-block p {
  margin: 0 0 14px;
  color: rgba(255,255,255,0.92);
}

.service-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}

.service-menu {
  background: #dedede;
  border: 1px solid rgba(0,0,0,0.05);
}

.service-menu a {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  text-transform: uppercase;
  font: 700 14px/1.3 "PT Sans Narrow", Arial, sans-serif;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.service-menu a.active,
.service-menu a:hover,
.service-menu a:focus {
  background: #d04248;
  color: var(--white);
}

.service-detail img {
  width: 100%;
  max-width: 320px;
  margin-bottom: 16px;
}

.news-list {
  display: grid;
  gap: 24px;
}

.news-item {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr;
  gap: 24px;
  align-items: start;
}

.news-meta {
  display: inline-flex;
  gap: 8px;
  margin-top: 0;
  background: #343d4d;
  color: var(--white);
  padding: 6px 10px;
  font-size: 13px;
  text-transform: uppercase;
}

.news-title {
  margin: 0 0 12px;
  color: var(--text-dark);
  font: 400 20px/1.2 Oswald, Arial, sans-serif;
}

.more-link {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
}

.project-empty {
  min-height: 220px;
}

.contact-layout {
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--text-dark);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  background: #f7f7f7;
  padding: 10px 12px;
  font: inherit;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 2px;
  margin-top: 6px;
}

.notice-box {
  background: #f0f0f0;
  padding: 18px;
  margin-bottom: 28px;
  min-height: 250px;
}

.policy {
  font-size: 14px;
}

.home-footer {
  margin-top: 0;
}

@media (max-width: 900px) {
  .menu,
  .services-grid,
  .sponsors-grid,
  .footer-grid,
  .two-col,
  .service-layout,
  .contact-layout,
  .news-item,
  .home-intro,
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .expertise-card.small,
  .expertise-card.wide {
    grid-column: auto;
  }

  .callout-box {
    width: auto;
    margin-left: 0;
  }

  .cta-box {
    padding-top: 0;
    justify-content: flex-start;
  }

  .menu {
    gap: 6px;
  }

  .menu > li > a,
  .menu-button {
    text-align: center;
  }

  .login-link {
    position: static;
    margin-left: auto;
  }

  .header-row {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .menu {
    grid-template-columns: 1fr 1fr;
  }

  .wrap {
    width: min(100% - 20px, 960px);
  }

  .hero {
    min-height: 220px;
  }

  .page-content {
    padding-top: 22px;
  }

  .sponsors-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 14px;
  text-align: center;
  color: rgba(255,255,255,0.92);
  font-size: 14px;
}

.footer-bottom a {
  text-decoration: none;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
  text-decoration: underline;
}
