/* Shared AyitiKonekt identity: blue foundation, red emphasis, readable surfaces. */
:root {
  --blue: #104bdb;
  --red: #da1737;
  --dark: #10244b;
  --text: #40516d;
  --border: #dce4f3;
}
body { background: #f7f9ff; }
::selection { color: white; background: #bf1533; }
header { border-top: 5px solid var(--red); box-shadow: 0 4px 24px #10244b08; }
nav, main { max-width: 1240px; }
nav { gap: 24px; padding-block: 20px; }
.logo-link { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-logo { width: 46px; height: 46px; border-radius: 10px; }
.brand-name { color: #10244b; font-size: 1.5rem; font-weight: 800; letter-spacing: -.06em; }
.brand-name span { color: var(--red); }
.nav-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
nav a, #language-toggle { margin-left: 0; }
nav a { font-size: .9rem; }
#language-toggle { border-radius: 50px; padding: 10px 19px; }
.language-menu { z-index: 110; }
section[id], main[id] { scroll-margin-top: 140px; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #e92147; outline-offset: 5px; }
.eyebrow { font-size: .73rem; letter-spacing: .14em; line-height: 1.6; font-weight: 800; text-transform: uppercase; color: var(--red); }
#inicio {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  min-height: 590px;
  margin-top: 32px;
  background: #103da8;
  border-radius: 28px;
  box-shadow: 0 24px 65px #11388a1c;
  overflow: hidden;
}
.hero-copy { align-self: center; padding: 56px 48px; }
#inicio .eyebrow { color: #d9e5ff; font-size: .72rem; margin-bottom: 24px; }
#inicio h1 { font-size: clamp(2.5rem, 4.4vw, 4.2rem); line-height: 1.06; letter-spacing: -.045em; font-weight: 800; margin-bottom: 24px; overflow-wrap: break-word; }
#inicio h1::after { content: ''; }
#inicio p { font-size: 1.06rem; color: #eef3ff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.button-primary, .button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s, transform .18s;
}
.button-primary { background: #da1737; color: white; box-shadow: 0 6px 18px #081e5533; }
.button-primary:hover { background: #bb102d; transform: translateY(-2px); }
.button-secondary { color: white; border: 1px solid #ffffff70; background: transparent; }
.button-secondary:hover { background: #ffffff14; }
#inicio .availability { font-size: .79rem; color: #d9e5ff; margin: 0; }
.hero-discover { display: flex; flex-direction: column; justify-content: center; padding: 42px 32px; background: #cf1735; position: relative; }
.hero-discover::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0, #f750683d, transparent 65%); pointer-events: none; }
.community-emblem { height: 190px; display: grid; place-items: center; position: relative; margin-bottom: 20px; }
.community-emblem img { position: relative; border: 8px solid white; background: white; border-radius: 24px; box-shadow: 0 20px 35px #64051938; transform: rotate(-8deg); object-fit: contain; }
.emblem-ring { position: absolute; width: 180px; height: 180px; border: 1px solid #ffffff65; border-radius: 50%; }
.emblem-ring::before, .emblem-ring::after { content: ''; position: absolute; width: 12px; height: 12px; background: white; border-radius: 50%; }
.emblem-ring::before { top: 20px; left: 20px; }
.emblem-ring::after { bottom: 20px; right: 20px; background: #81afff; }
#inicio .discover-title { position: relative; text-align: center; font-size: 1.28rem; font-weight: 700; margin-bottom: 22px; }
.discover-links { display: grid; gap: 10px; position: relative; }
.discover-links a { display: flex; align-items: center; gap: 14px; color: white; text-decoration: none; border: 1px solid #ffffff60; background: #8e0a2526; padding: 13px 16px; border-radius: 12px; font-size: .93rem; font-weight: 700; }
.discover-links a > :last-child { margin-left: auto; font-size: 1.2rem; }
.discover-links a:hover { color: #103da8; background: white; }
.discover-symbol { font-size: .7rem; opacity: .85; font-variant-numeric: tabular-nums; }
#nosotros { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding: 44px 40px; border: none; border-left: 5px solid var(--red); box-shadow: none; }
.about-heading .eyebrow { margin-bottom: 12px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.18; letter-spacing: -.035em; }
#nosotros h2 { margin-bottom: 0; }
.about-copy p { font-size: 1.02rem; }
.text-link { display: inline-block; margin-top: 18px; color: #1646bb; font-weight: 700; text-underline-offset: 5px; }
#servicios { padding-block: 64px; gap: 22px; }
.section-heading { grid-column: 1 / -1; margin-bottom: 12px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { margin-bottom: 0; }
.catalog-card article { display: flex; flex-direction: column; padding: 30px; border: 1px solid #d8e2f6; border-top: 5px solid #164bda; background: #edf3ff; box-shadow: none; }
.catalog-card:nth-of-type(2) article { background: #fff0f2; border-color: #f3d8df; border-top-color: var(--red); }
.catalog-card:nth-of-type(3) article { background: #123b98; border-color: #123b98; }
.catalog-card article h3 { margin-top: 25px; font-size: 1.55rem; letter-spacing: -.025em; }
.catalog-card:nth-of-type(2) h3 { color: #b91431; }
.catalog-card:nth-of-type(3) article, .catalog-card:nth-of-type(3) h3 { color: white; }
.catalog-card article p { flex: 1; }
.card-number { display: flex; align-items: center; justify-content: space-between; color: #164bda; font-size: .8rem; font-weight: 700; }
.card-number > span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid currentColor; border-radius: 50%; font-size: 1.3rem; }
.catalog-card:nth-of-type(2) .card-number { color: #b91431; }
.catalog-card:nth-of-type(3) .card-number { color: #cddfff; }
.catalog-card-action { align-self: flex-start; padding: 0; border-radius: 0; background: none; color: #143ea3; text-decoration: underline; text-underline-offset: 6px; margin-top: 26px; }
.catalog-card:nth-of-type(2) .catalog-card-action { color: #b91431; }
.catalog-card:nth-of-type(3) .catalog-card-action { color: white; }
.catalog-card:hover .catalog-card-action, .catalog-card:focus-visible .catalog-card-action { background: none; }
#contacto { position: relative; background: #102f79; color: white; padding: 44px; border: none; border-right: 12px solid var(--red); margin-bottom: 56px; }
#contacto .eyebrow { color: #c3d7ff; margin-bottom: 10px; }
#contacto h2, #contacto a { color: white; }
#contacto a { overflow-wrap: anywhere; }
#contacto .button-secondary { margin-top: 22px; }
footer { background: #091e48; border-top: 5px solid var(--red); padding: 36px 20px; margin-top: 0; }
.footer-brand { font-size: 1.6rem; font-weight: 800; letter-spacing: -.04em; margin-bottom: 8px; }
.footer-brand span { color: #ff6c82; }
footer > p:last-child { font-size: .8rem; color: #c5d6f4; }
.support-hero { background: #103da8; border-right: 12px solid var(--red); }
.support-button { background: #da1737; color: white; }
.support-grid article:nth-child(even) { border-top-color: var(--red); background: #fff5f6; }
.support-grid article:nth-child(even) h3 { color: #b91431; }
.support-contact { border-top: 5px solid var(--red); }
.catalog-heading { margin-top: 28px; padding: 38px; background: #103da8; color: white; border-right: 10px solid var(--red); border-radius: 20px; margin-bottom: 30px; }
.catalog-heading h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 16px; }
.catalog-heading .back-link { color: #e1ebff; }
.category-grid li:nth-child(even) { border-left-color: var(--red); background: #fff4f6; }
.opportunity-grid article:nth-child(2) { border-top-color: var(--red); }
@media (max-width: 1000px) {
  nav { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .nav-actions { justify-content: center; }
  .hero-copy { padding: 38px 30px; }
  .hero-discover { padding: 30px 24px; }
  .catalog-card article { padding: 24px; }
}
@media (max-width: 760px) {
  nav { padding: 12px 16px; }
  .header-logo { width: 36px; height: 36px; }
  .brand-name { font-size: 1.3rem; }
  .nav-actions { gap: 6px 12px; }
  #inicio { grid-template-columns: 1fr; padding: 0; margin-top: 22px; min-height: 0; }
  .hero-copy { padding: 36px 24px; }
  #inicio h1 { font-size: clamp(2.35rem, 9vw, 3.5rem); }
  .hero-discover { padding: 26px 24px; }
  .community-emblem { height: 125px; margin-bottom: 10px; }
  .community-emblem img { width: 80px; height: 80px; border-width: 6px; border-radius: 18px; }
  .emblem-ring { width: 125px; height: 125px; }
  .emblem-ring::before { top: 10px; left: 10px; }
  .emblem-ring::after { bottom: 10px; right: 10px; }
  #nosotros { grid-template-columns: 1fr; padding: 28px 24px; gap: 18px; }
  #contacto { padding: 30px 24px; }
  #servicios { padding-block: 42px; }
  .catalog-heading { padding: 28px 24px; }
  section[id], main[id] { scroll-margin-top: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .catalog-card:hover article, .button-primary:hover { transform: none; }
}
