/* DMARC Defense — sitio estático.
   Réplica del diseño de dmarcdefense.com (captura feb-2026): colores y tipografía del kit global de Elementor. */
:root {
  --primary: #08AFA7;
  --secondary: #005D55;
  --text: #676767;
  --light: #F1F1F1;
  --white: #FFFFFF;
  --maxw: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Poppins", system-ui, sans-serif; font-size: 13px; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
b, strong { color: var(--secondary); font-weight: 700; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.bg-light { background: var(--light); }
.title { font-size: 35px; font-weight: 800; color: var(--secondary); text-align: center; margin-bottom: 18px; }
.intro { text-align: center; max-width: 1100px; margin: 0 auto 36px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.header .logo img { width: 105px; height: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--primary); text-decoration: none; text-transform: uppercase; font-size: 12px; padding: 8px 11px; }
.nav a:hover { color: var(--secondary); }
.lang { position: relative; margin-left: 6px; }
.lang summary { list-style: none; cursor: pointer; color: var(--primary); font-size: 12px; padding: 8px 4px 8px 11px; display: flex; align-items: center; gap: 5px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; border: 4px solid transparent; border-top-color: var(--text); margin: 4px 0 0 6px; }
.lang ul { position: absolute; right: 0; top: 100%; margin: 0; padding: 4px 0; list-style: none; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); min-width: 70px; }
.lang ul a { display: block; padding: 6px 12px; }
.flag { width: 14px; height: 10px; display: inline-block; vertical-align: middle; }
.menu-toggle { display: none; background: none; border: 0; color: var(--secondary); cursor: pointer; padding: 6px; }
.menu-toggle svg { width: 28px; height: 28px; }
@media (max-width: 1024px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 16px; box-shadow: 0 8px 16px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; }
  .lang { margin: 0; } .lang summary { padding-left: 0; } .lang ul { position: static; box-shadow: none; }
}

/* Hero (video de fondo de YouTube, como el original) */
.hero { position: relative; min-height: 800px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; color: #fff;
  background: #04302c url("../img/background_Technologies.webp") center/cover no-repeat; }
.hero__video { position: absolute; inset: 0; pointer-events: none; }
.hero__video iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); min-height: 800px; min-width: 1422px; transform: translate(-50%, -50%) scale(1.5); border: 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 40, 36, .25); }
.hero__content { position: relative; z-index: 1; padding: 0 20px; }
.hero__rotator { font-size: 15px; font-weight: 700; height: 24px; overflow: hidden; margin-bottom: 12px; }
.hero__rotator ul { list-style: none; margin: 0; padding: 0; animation: rot 9s infinite; }
.hero__rotator li { height: 24px; line-height: 24px; }
@keyframes rot { 0%,28%{transform:translateY(0)} 33%,61%{transform:translateY(-24px)} 66%,95%{transform:translateY(-48px)} 100%{transform:translateY(0)} }
.hero h1 { font-size: 60px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
@media (max-width: 767px) { .hero { min-height: 560px; } .hero h1 { font-size: 36px; } }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } .hero__rotator ul { animation: none; } }

/* What we do — flip boxes */
.flips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .flips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .flips { grid-template-columns: 1fr; } }
.flip { perspective: 1000px; height: 162px; outline: none; }
.flip__inner { position: relative; width: 100%; height: 100%; transition: transform .6s; transform-style: preserve-3d; }
.flip:hover .flip__inner, .flip:focus .flip__inner, .flip:focus-within .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px 24px; border: 3px solid var(--secondary); }
.flip__front { background: #fff; color: var(--secondary); }
.flip__front svg { width: 34px; height: 34px; margin-bottom: 12px; fill: var(--secondary); }
.flip__front h3 { font-size: 18px; font-weight: 600; color: var(--secondary); }
.flip__back { background: var(--secondary); color: #fff; transform: rotateY(180deg); font-size: 13px; }
.flip__back p { margin: 0; }

/* What we offer — línea de tiempo en carrusel */
.carousel { position: relative; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; flex: none; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 34px; border: 0; background: none; cursor: pointer; color: var(--secondary); padding: 0; }
.arrow svg { width: 22px; height: 22px; }
.arrow--prev { left: -36px; } .arrow--next { right: -36px; }
@media (max-width: 1220px) { .arrow--prev { left: -6px; } .arrow--next { right: -6px; } }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.dots button { width: 6px; height: 6px; border-radius: 6px; border: 0; padding: 0; background: var(--secondary); opacity: .5; cursor: pointer; transition: width .2s; }
.dots button[aria-current="true"] { width: 16px; opacity: 1; background: var(--primary); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.6fr; gap: 34px; align-items: center; margin-top: 20px; }
.about img { width: 100%; }
.about h3 { font-size: 13px; font-weight: 700; color: var(--secondary); margin-bottom: 2px; }
.about p { font-size: 12.5px; margin-bottom: 30px; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }

/* Technologies */
.tech { position: relative; color: #fff; background: #032b27 url("../img/background_Technologies.webp") center/cover no-repeat; }
.tech .title { color: #fff; }
.tech .intro { color: #fff; }
.tech-boxes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1000px) { .tech-boxes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .tech-boxes { grid-template-columns: 1fr; } }
.tech-box { background: #005D5596; padding: 18px 12px; text-align: center; font-size: 12px; }
.tech-box h3 { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.tech-box p { margin: 0; }
.tech-cta { text-align: center; font-weight: 700; color: #fff; margin: 30px auto 34px; max-width: 1100px; }
.protocols { background: #fff; color: var(--text); max-width: 1100px; margin: 0 auto; }
.protocols .track > article { width: 100%; padding: 48px 90px 44px; text-align: center; }
.protocols h3 { font-size: 35px; font-weight: 800; color: var(--secondary); margin-bottom: 22px; }
.protocols p { font-size: 12px; margin: 0; color: var(--secondary); }
.protocols .arrow--prev { left: 6px; } .protocols .arrow--next { right: 6px; }
@media (max-width: 640px) { .protocols .track > article { padding: 36px 40px; } }

/* BEC */
.subtitle { text-align: center; font-size: 17px; font-weight: 600; color: var(--text); margin: 8px 0 26px; }
.bec { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; max-width: 1080px; margin: 0 auto; }
@media (max-width: 960px) { .bec { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bec { grid-template-columns: 1fr; } }
.bec-card { border: 2px solid var(--secondary); background: var(--light); padding: 0 8px 18px; text-align: center; font-size: 11.5px; }
.bec-card img { width: 100%; aspect-ratio: 1; object-fit: contain; margin-bottom: 8px; }
.bec-card .alert { display: block; font-weight: 700; color: var(--secondary); text-transform: uppercase; }

/* Partners / customers */
.small-title { text-align: center; font-size: 13px; font-weight: 700; color: var(--secondary); margin-bottom: 2px; }
.logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 20px; margin: 30px 0 50px; }
.logos img { width: 190px; height: 140px; object-fit: contain; }

/* Packages */
.packages { background: var(--secondary); color: #fff; }
.packages .title { color: #fff; }
.checks { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; list-style: none; padding: 0; margin: 0 0 34px; }
.checks li, .plan li { position: relative; padding-left: 18px; }
.checks li { max-width: 200px; font-size: 12px; }
.checks li::before, .plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.6' fill='none' stroke='%23005D55' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/9px no-repeat; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; color: var(--text); padding: 10px 10px 16px; display: flex; flex-direction: column; }
.plan h3 { background: var(--secondary); color: #fff; text-align: center; font-size: 18px; font-weight: 600; padding: 4px; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0 2px; margin: 0 0 14px; font-size: 11.5px; }
.plan li { margin-bottom: 3px; }
.plan li::before { background-color: var(--secondary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.6' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.btn { display: inline-block; background: var(--secondary); color: #fff; text-decoration: none; font-size: 11px; padding: 6px 20px; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--primary); }
.plan .btn { align-self: center; }

/* Contact */

/* Footer */
.footer { background: var(--primary); color: #fff; text-align: center; font-size: 11px; padding: 16px 20px; }

/* Móvil: YouTube no reproduce solo; se usa la imagen de fondo. */
@media (max-width: 767px) { .hero__video { display: none; } }

/* What we offer — línea de tiempo: subgrid para que todas las tarjetas compartan altura y la línea quede alineada */
.timeline .track { display: grid; grid-auto-flow: column; grid-auto-columns: 25%; grid-template-rows: auto 44px auto; padding: 4px 8px; }
.tl-item { grid-row: 1 / span 3; display: grid; grid-template-rows: subgrid; justify-items: center; }
.tl-dot { grid-row: 2; justify-self: stretch; display: grid; place-items: center; background: linear-gradient(var(--secondary), var(--secondary)) center / 100% 2px no-repeat; }
.tl-dot span { width: 40px; height: 40px; border-radius: 50%; background: var(--light); border: 2px solid var(--secondary); display: grid; place-items: center; }
.tl-dot i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--secondary); display: grid; place-items: center; font-weight: 700; font-size: 11px; color: var(--secondary); }
.tl-card { width: 88%; border: 1px solid var(--secondary); background: var(--light); padding: 12px 16px; text-align: center; font-size: 11.5px; position: relative; }
.tl-card h3 { font-size: 12px; font-weight: 700; color: var(--secondary); margin-bottom: 6px; }
.tl-card p { margin: 0; }
.tl-item:nth-child(odd) .tl-card { grid-row: 3; align-self: start; margin-top: 14px; }
.tl-item:nth-child(even) .tl-card { grid-row: 1; align-self: end; margin-bottom: 14px; }
.tl-card::before { content: ""; position: absolute; left: 50%; width: 1px; height: 16px; background: var(--secondary); }
.tl-item:nth-child(odd) .tl-card::before { top: -16px; }
.tl-item:nth-child(even) .tl-card::before { bottom: -16px; }
@media (max-width: 900px) { .timeline .track { grid-auto-columns: 50%; } }
@media (max-width: 560px) {
  .timeline .track { grid-auto-columns: 100%; }
  .tl-item:nth-child(n) .tl-card { grid-row: 3; align-self: start; margin: 14px 0 0; }
  .tl-item:nth-child(n) .tl-card::before { top: -16px; bottom: auto; }
}

/* Contacto: solo correo electrónico */
.contact-box { text-align: center; max-width: 760px; margin: 0 auto; }
.contact-box .eyebrow { font-size: 25px; font-weight: 800; color: var(--secondary); margin-bottom: 10px; }
.contact-box h2 { font-size: 46px; font-weight: 600; color: var(--secondary); line-height: 1.15; margin-bottom: 18px; }
.contact-box p { font-size: 14px; margin-bottom: 26px; }
.mail-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--secondary); color: #fff; text-decoration: none; font-size: 18px; font-weight: 600; padding: 14px 30px; transition: background .2s; }
.mail-btn:hover { background: var(--primary); }
.mail-btn svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 600px) { .contact-box h2 { font-size: 32px; } .mail-btn { font-size: 15px; padding: 12px 20px; } }
