/* Rodaeuropa - hoja de estilos */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: #444;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }

h1, h2, h3 {
  color: #222b36;
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 18px; }

a { color: #1a4b8c; }
a:hover { color: #12345f; }

a:focus, summary:focus {
  outline: 2px solid #f5b301;
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; }

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.skip {
  position: absolute;
  left: 10px;
  top: -60px;
  z-index: 20;
  padding: 8px 14px;
  background: #1a4b8c;
  color: #fff;
}

.skip:focus { top: 10px; color: #fff; }

/* Barra superior */

.topbar {
  background: #1b2a3d;
  color: #c9d3df;
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
}

.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.lang { display: flex; align-items: center; }
.lang a, .lang span { padding: 6px 4px; }
.lang [aria-current] { color: #f5b301; font-weight: 700; }
.lang .sep { color: #5d6b7c; padding: 0 4px; }

/* Cabecera */

.site-header {
  background: #fff;
  border-bottom: 1px solid #e3e6ea;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: #222b36;
  font-size: 24px;
  text-decoration: none;
}

.logo svg { width: 36px; height: 36px; margin-right: 9px; }

.wordmark { font-weight: 700; letter-spacing: -0.5px; color: #222b36; }
.wordmark span { color: #1a4b8c; }

.site-nav { flex-basis: 100%; margin-top: 8px; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 8px 18px 8px 0;
  color: #444;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover { color: #1a4b8c; }

/* Portada */

.hero {
  position: relative;
  padding: 60px 0 70px;
  background: #24364d url(img/hero.jpg) center 62% / cover no-repeat;
  color: #fff;
}

.hero:before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(16, 32, 54, 0.66);
}

.hero .wrap { position: relative; }

.hero-text { max-width: 640px; }

.hero h1 { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); }

.hero .lead {
  margin-top: 18px;
  color: #eef2f6;
  font-size: 18px;
}

.actions { margin-top: 28px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  background: #f5b301;
  border-radius: 3px;
  color: #222b36;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-transform: uppercase;
}

.btn:hover { background: #dba000; color: #222b36; }

.link-more {
  display: inline-block;
  margin: 12px 0 0 0;
  padding: 6px 0;
  color: #fff;
  font-weight: 700;
}

.link-more:hover { color: #f5b301; }

.hero .note { margin-top: 16px; color: #d5dde6; font-size: 14px; }

/* Secciones */

section { padding: 55px 0; }

.alt { background: #f5f6f8; border-top: 1px solid #e9ebee; border-bottom: 1px solid #e9ebee; }

.section-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-head h2:after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  margin: 14px auto 0;
  background: #1a4b8c;
}

.section-head p { margin-top: 18px; color: #666; }

/* Servicios */

.grid { padding: 0; list-style: none; }

.grid > li, .grid > div { margin-bottom: 30px; }

.grid.three .card { text-align: center; padding: 0 10px; }

.icon {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  padding: 20px;
  background: #1a4b8c;
  border-radius: 50%;
  color: #fff;
}

.icon svg { display: block; width: 32px; height: 32px; }

.card h3 { margin-bottom: 10px; }
.card p { color: #666; font-size: 15px; }

.below {
  max-width: 760px;
  margin: 10px auto 0;
  padding-top: 22px;
  border-top: 1px solid #dfe2e6;
  color: #666;
  font-size: 15px;
  text-align: center;
}

/* Cómo funciona */

.steps { padding: 0; list-style: none; counter-reset: paso; }

.steps li {
  position: relative;
  min-height: 46px;
  margin-bottom: 26px;
  padding-left: 64px;
  counter-increment: paso;
}

.steps li:before {
  content: counter(paso);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  background: #1a4b8c;
  border-radius: 3px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 46px;
  text-align: center;
}

.steps h3 { margin-bottom: 6px; }
.steps p { color: #666; font-size: 15px; }

.photo img {
  display: block;
  width: 100%;
  padding: 4px;
  background: #fff;
  border: 1px solid #d8dce1;
  border-radius: 4px;
}

/* Para quién */

#para-quien .card,
#who-for .card {
  background: #fff;
  border: 1px solid #dfe2e6;
  border-radius: 4px;
  overflow: hidden;
}

.card-img { display: block; width: 100%; height: 220px; object-fit: cover; }

#para-quien .card h3,
#who-for .card h3 { margin: 22px 24px 10px; font-size: 20px; }

#para-quien .card p,
#who-for .card p { margin: 0 24px; }

.card ul { margin: 14px 24px 24px; padding-left: 18px; color: #444; font-size: 15px; }
.card li { margin-top: 5px; }

/* Países */

.prose { max-width: 800px; text-align: center; }
.prose p + p { margin-top: 14px; }

/* Preguntas frecuentes */

.faq { max-width: 820px; margin: 0 auto; }

.faq details {
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid #d8dce1;
  border-radius: 4px;
}

.faq summary {
  padding: 13px 16px;
  background: #f5f6f8;
  border-radius: 3px;
  color: #222b36;
  font-weight: 700;
  cursor: pointer;
}

.faq details[open] summary { border-bottom: 1px solid #d8dce1; border-radius: 3px 3px 0 0; }
.faq summary:hover { color: #1a4b8c; }
.faq details p { padding: 14px 16px 16px; color: #555; font-size: 15px; }

/* Contacto */

.contact-band { background: #1a4b8c; color: #fff; }
.contact-box { max-width: 760px; margin: 0 auto; }
.contact-band h2 { color: #fff; }
.contact-band a { color: #fff; }
.contact-box > p { margin-top: 16px; }
.contact-box ul { margin-top: 12px; padding-left: 20px; }
.contact-box li { margin-top: 4px; }
.contact-box .btn { margin-top: 26px; }
.contact-band .btn { color: #222b36; }

.contact-box .note {
  margin-top: 22px;
  padding: 12px 16px;
  background: #174177;
  border-left: 3px solid #f5b301;
  color: #dbe5f1;
  font-size: 14px;
}

/* Pie */

.site-footer { background: #1b2a3d; color: #aeb9c6; font-size: 14px; }

.footer-cols { padding-top: 45px; padding-bottom: 20px; }
.footer-cols > div { margin-bottom: 28px; }

.site-footer h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.site-footer p + p { margin-top: 10px; }
.site-footer a { color: #fff; }

.footer-logo { display: flex; align-items: center; margin-bottom: 14px; font-size: 22px; }
.footer-logo svg { width: 32px; height: 32px; margin-right: 8px; }
.footer-logo .wordmark { color: #fff; }
.footer-logo .wordmark span { color: #9cc4f2; }
.site-footer .tagline { color: #dbe2ea; }

.footer-bottom { padding: 16px 0; background: #152131; font-size: 13px; }

/* Tablet y escritorio */

@media (min-width: 768px) {
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }

  section { padding: 75px 0; }
  .hero { padding: 100px 0 110px; }
  .hero .lead { font-size: 20px; }
  .link-more { margin: 0 0 0 22px; }

  .grid { display: flex; flex-wrap: wrap; margin: 0 -15px; }
  .grid > li, .grid > div { width: 50%; padding: 0 15px; }
  .grid.three .card { padding: 0 25px; }

  #para-quien .grid > div,
  #who-for .grid > div { padding: 0; margin: 0 15px 30px; width: calc(50% - 30px); }

  .footer-cols { display: flex; margin: 0 auto; }
  .footer-cols > div { width: 33.333%; padding-right: 40px; }
  .footer-cols > div:first-child { width: 30%; }
  .footer-cols > div:nth-child(2) { width: 45%; }
  .footer-cols > div:last-child { width: 25%; padding-right: 0; }
}

@media (min-width: 992px) {
  .header-inner { flex-wrap: nowrap; padding-top: 0; padding-bottom: 0; }
  .site-nav { flex-basis: auto; margin-top: 0; }
  .site-nav a { padding: 28px 0 28px 26px; }

  .grid.three > li { width: 33.333%; }

  .split { display: flex; align-items: flex-start; }
  .split .steps { width: 55%; padding-right: 50px; }
  .split .photo { width: 45%; }
}

@media (max-width: 991px) {
  .split .photo { max-width: 560px; margin-top: 10px; }
}

@media print {
  .topbar, .site-nav, .skip { display: none; }
}
