/*
Theme Name: Interpretia Jobs
Theme URI: https://jobs.interpretia.com/
Author: Interpretia
Author URI: https://interpretia.com/
Description: Tema one-page ligero y editable para el portal de reclutamiento de Interpretia.
Version: 1.0.4
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: interpretia-jobs
*/

:root {
  --ij-teal: #278da0;
  --ij-teal-dark: #08758c;
  --ij-orange: #ff8425;
  --ij-ink: #071426;
  --ij-muted: #596675;
  --ij-pale: #e7f4f6;
  --ij-page: #f4f8f9;
  --ij-white: #ffffff;
  --ij-border: #d7e2e5;
  --ij-shadow: 0 22px 48px rgba(7, 20, 38, 0.12);
  --ij-radius: 28px;
  --ij-content: min(1300px, calc(100% - 48px));
  --ij-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ij-ink);
  background: var(--ij-white);
  font-family: var(--ij-font);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .ij-site-header {
  padding-top: 32px;
}

a {
  color: inherit;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 12px;
  left: 12px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 12px 16px;
  margin: 0;
  clip: auto;
  color: var(--ij-ink);
  background: var(--ij-white);
  border-radius: 10px;
  font-weight: 800;
}

.ij-container {
  width: var(--ij-content);
  margin-inline: auto;
}

.ij-site-header {
  position: relative;
  min-height: 164px;
  overflow: hidden;
  background-color: var(--ij-white);
  background-image: radial-gradient(circle, rgba(39, 141, 160, 0.22) 2.5px, transparent 2.7px);
  background-position: 0 0;
  background-size: 56px 34px;
}

.ij-header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 146px;
  padding-top: 0;
}

.ij-header-logo {
  display: inline-flex;
  justify-content: center;
  width: min(330px, 72vw);
  height: 122px;
  overflow: hidden;
  text-decoration: none;
}

.ij-header-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}

.ij-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  color: var(--ij-teal);
}

.ij-wave path {
  fill: currentColor;
}

.ij-hero {
  position: relative;
  overflow: hidden;
  color: var(--ij-white);
  background: var(--ij-teal);
}

.ij-hero::before,
.ij-hero::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.ij-hero::before {
  top: 64px;
  left: -120px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ij-hero::after {
  right: -90px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  background: rgba(255, 255, 255, 0.06);
}

.ij-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(42px, 6vw, 90px);
  align-items: center;
  min-height: 520px;
  padding-block: 42px 64px;
}

.ij-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--ij-teal-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ij-eyebrow::before {
  width: 34px;
  height: 5px;
  flex: 0 0 auto;
  content: "";
  background: var(--ij-orange);
  border-radius: 999px;
}

.ij-eyebrow--light {
  color: var(--ij-white);
}

.ij-hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--ij-white);
  font-size: clamp(46px, 4.45vw, 72px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.99;
}

.ij-hero-copy > p:not(.ij-eyebrow) {
  max-width: 620px;
  margin: 26px 0 0;
  color: #e1f3f6;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
}

.ij-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ij-button {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.15;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.ij-button:hover,
.ij-button:focus-visible {
  transform: translateY(-2px);
}

.ij-button:focus-visible,
.ij-social-link:focus-visible,
.ij-header-logo:focus-visible,
.ij-email:focus-visible {
  outline: 3px solid var(--ij-orange);
  outline-offset: 4px;
}

.ij-button--primary {
  min-width: 240px;
  color: var(--ij-ink);
  background: var(--ij-orange);
  box-shadow: 0 16px 34px rgba(95, 48, 9, 0.24);
}

.ij-button--primary:hover,
.ij-button--primary:focus-visible {
  box-shadow: 0 20px 38px rgba(95, 48, 9, 0.32);
}

.ij-button--secondary {
  color: var(--ij-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.9);
}

.ij-button--secondary:hover,
.ij-button--secondary:focus-visible {
  color: var(--ij-teal-dark);
  background: var(--ij-white);
}

.ij-video-card {
  overflow: hidden;
  background: var(--ij-white);
  border: 8px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--ij-radius);
  box-shadow: var(--ij-shadow);
}

.ij-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a1728;
}

.ij-video-frame iframe,
.ij-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ij-video-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--ij-white);
  background: linear-gradient(145deg, #102034, #173851);
  text-align: center;
}

.ij-video-placeholder span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin: 0 auto 16px;
  padding-left: 5px;
  color: var(--ij-ink);
  background: var(--ij-orange);
  border-radius: 50%;
  font-size: 28px;
}

.ij-video-caption {
  margin: 0;
  padding: 16px 22px 17px;
  color: var(--ij-ink);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.ij-growth {
  background: var(--ij-white);
}

.ij-growth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(54px, 8vw, 110px);
  align-items: center;
  padding-block: 64px 58px;
}

.ij-growth-copy p:not(.ij-eyebrow) {
  max-width: 830px;
  margin: 0 0 14px;
  color: var(--ij-muted);
  font-size: 17px;
  line-height: 1.7;
}

.ij-growth-copy .ij-closing {
  margin-top: 18px;
  color: var(--ij-ink);
  font-size: 20px;
  font-weight: 900;
}

.ij-stat {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: var(--ij-pale);
  border-radius: var(--ij-radius);
  text-align: center;
}

.ij-stat-value {
  color: var(--ij-teal);
  font-size: clamp(48px, 4vw, 62px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.ij-stat-label {
  margin-top: 10px;
  color: var(--ij-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ij-stat-note {
  margin-top: 12px;
  color: var(--ij-muted);
  font-size: 14px;
  line-height: 1.4;
}

.ij-opportunities {
  padding-block: 54px 62px;
  background: var(--ij-page);
}

.ij-list-section + .ij-list-section {
  margin-top: 44px;
}

.ij-list-grid {
  display: grid;
  gap: 14px;
}

.ij-language-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ij-location-grid {
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 10px;
}

.ij-list-card {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  color: var(--ij-ink);
  background: var(--ij-pale);
  border-radius: 17px;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
}

.ij-language-grid .ij-list-card::before {
  flex: 0 0 auto;
  content: "✓";
  color: var(--ij-orange);
  font-size: 24px;
  font-weight: 900;
}

.ij-location-card {
  min-height: 66px;
  flex-direction: column;
  gap: 4px;
  padding: 10px 7px;
  background: var(--ij-white);
  border: 1px solid var(--ij-border);
  font-size: 13px;
}

.ij-location-flag {
  font-size: 22px;
  line-height: 1;
}

.ij-footer-transition {
  position: relative;
  height: 58px;
  overflow: hidden;
  background: var(--ij-teal);
}

.ij-footer-transition svg {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 42px;
  color: var(--ij-white);
}

.ij-footer-transition path {
  fill: currentColor;
}

.ij-site-footer {
  background-color: var(--ij-white);
  background-image: radial-gradient(circle, rgba(39, 141, 160, 0.20) 2.5px, transparent 2.7px);
  background-position: 0 0;
  background-size: 56px 34px;
}

.ij-footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 36px;
  align-items: center;
  min-height: 170px;
  padding-block: 24px 30px;
}

.ij-footer-logo {
  display: inline-flex;
  width: min(285px, 100%);
  text-decoration: none;
}

.ij-footer-logo img {
  width: 100%;
  height: auto;
}

.ij-email {
  color: var(--ij-teal-dark);
  font-size: 19px;
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.ij-socials {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.ij-social-link {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--ij-white);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(7, 20, 38, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ij-social-link:hover,
.ij-social-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(7, 20, 38, 0.20);
}

.ij-social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.ij-social-link--whatsapp {
  background: #20c975;
}

.ij-social-link--facebook {
  background: #3f64ab;
}

.ij-social-link--instagram {
  background: linear-gradient(145deg, #c52d8f, #ff4f52 58%, #ff8a2b);
}

.ij-social-link--linkedin {
  background: #0e83ad;
}

.ij-copyright {
  padding: 11px 20px 12px;
  color: var(--ij-white);
  background: var(--ij-teal-dark);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.ij-basic-page {
  width: min(900px, calc(100% - 40px));
  min-height: 60vh;
  margin-inline: auto;
  padding-block: 64px;
}

.ij-basic-page h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
}

@media (max-width: 1080px) {
  .ij-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    gap: 34px;
  }

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

  .ij-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .ij-footer-main .ij-email {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }
}

@media (max-width: 860px) {
  :root {
    --ij-content: min(100% - 34px, 720px);
  }

  body.admin-bar .ij-site-header {
    padding-top: 46px;
  }

  .ij-site-header {
    min-height: 144px;
  }

  .ij-header-inner {
    min-height: 128px;
    padding-top: 10px;
  }

  .ij-header-logo {
    width: min(290px, 72vw);
    height: 108px;
  }

  .ij-hero-grid,
  .ij-growth-grid {
    grid-template-columns: 1fr;
  }

  .ij-hero-grid {
    min-height: auto;
    padding-block: 44px 58px;
  }

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

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

  .ij-hero-copy > p:not(.ij-eyebrow),
  .ij-hero h1 {
    margin-inline: auto;
  }

  .ij-video-card {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .ij-growth-grid {
    gap: 30px;
    padding-block: 54px;
  }

  .ij-stat {
    width: min(100%, 420px);
    margin-inline: auto;
  }

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

@media (max-width: 620px) {
  :root {
    --ij-content: calc(100% - 30px);
    --ij-radius: 22px;
  }

  .ij-site-header {
    min-height: 132px;
  }

  .ij-header-inner {
    min-height: 118px;
  }

  .ij-header-logo {
    width: min(260px, 74vw);
    height: 98px;
  }

  .ij-wave {
    height: 30px;
  }

  .ij-hero-grid {
    gap: 36px;
    padding-block: 34px 48px;
  }

  .ij-eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: 0.15em;
  }

  .ij-eyebrow::before {
    width: 28px;
    height: 4px;
  }

  .ij-hero h1 {
    font-size: clamp(42px, 13vw, 60px);
    line-height: 1.02;
  }

  .ij-hero-copy > p:not(.ij-eyebrow) {
    margin-top: 20px;
    font-size: 16px;
  }

  .ij-actions {
    display: grid;
    gap: 12px;
    margin-top: 28px;
  }

  .ij-button {
    width: 100%;
    min-height: 58px;
  }

  .ij-video-card {
    border-width: 5px;
  }

  .ij-video-caption {
    padding: 13px 14px 14px;
    font-size: 14px;
  }

  .ij-growth-grid {
    padding-block: 46px;
  }

  .ij-growth-copy p:not(.ij-eyebrow) {
    font-size: 16px;
    line-height: 1.62;
  }

  .ij-growth-copy .ij-closing {
    font-size: 18px;
  }

  .ij-opportunities {
    padding-block: 44px 50px;
  }

  .ij-language-grid {
    grid-template-columns: 1fr;
  }

  .ij-list-card {
    min-height: 62px;
    font-size: 16px;
  }

  .ij-location-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .ij-location-card {
    min-height: 78px;
    padding-inline: 4px;
    font-size: 12px;
  }

  .ij-footer-transition {
    height: 48px;
  }

  .ij-footer-main {
    display: flex;
    min-height: auto;
    flex-direction: column;
    gap: 22px;
    padding-block: 26px 34px;
    text-align: center;
  }

  .ij-footer-logo {
    width: min(270px, 78vw);
  }

  .ij-email {
    font-size: 17px;
  }

  .ij-footer-main .ij-email {
    order: 2;
  }

  .ij-socials {
    order: 3;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
