/* Base */

:root {
  --color-primary: #003f5c;
  --color-accent: #ed7446;
  --color-background: #f5f5f5;
  --color-white: #ffffff;
  --color-text-dark: #10120f;
  --color-border: rgba(128, 128, 128, 0.3);

  --font-body: "Space Grotesk", Arial, sans-serif;
  --font-display: "Antic Didone", Georgia, serif;

  --container: 1340px;
  --gutter: 50px;
}

/* Fonts */

@font-face {
  font-family: "Space Grotesk";
  src: local("Space Grotesk");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Space Grotesk";
  src: local("Space Grotesk");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Space Grotesk";
  src: local("Space Grotesk");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Antic Didone";
  src: local("Antic Didone");
  font-weight: 400;
  font-style: normal;
}

/* Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  margin: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-primary);
  background: var(--color-background);
  font-family: var(--font-body);
  overflow-x: hidden;
}


.content {
  width: calc(100% - 100px);
  max-width: 2000px;
  margin: 0 auto;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
   -webkit-user-drag: none;
    user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 3px;
}

/* Typography */

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.display {
  font-family: var(--font-display);
}

/* Layout */

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}


.button--accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  height: 48px;
  padding: 0 24px;
  box-sizing: border-box;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
}

.button--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  height: 48px;
  padding: 0 24px;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
}

.button--accent,
.button--outline {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button--accent::before,
.button--outline::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
  z-index: -1;
}

.button--accent::before {
  background: #DA5F2E;

}

.button--outline::before {
  background: #cae0eb;
}

.button--accent:hover::before,
.button--outline:hover::before {
  transform: scaleX(1);
}





  a.link-underline-target {
    text-decoration: none !important;
  }

  a.link-underline-target>span {
    position: relative;
    display: inline;
    text-decoration: none !important;
  }

  a.link-underline-target>span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
  }

  a.link-underline-target:hover>span::after {
    transform: scaleX(1);
  }




.final-cta a.button--accent,
.final-cta a.button--accent:hover,
.final-cta a.button--accent:focus,
.final-cta a.button--accent:active {
    text-decoration: none !important;
}

.final-cta a.button--accent::after,
.final-cta a.button--accent > span::after,
.final-cta a.button--accent span::after {
    content: none !important;
    display: none !important;
    transform: none !important;
}





/* ========================================
   TABLET
======================================== */

@media (max-width: 1199px) {
  a.button--accent.link-underline-target>span::after {
    display: none;
  }
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1199px) {
  :root {
    --gutter: 32px;
  }


  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}
/* ========================================
   MÓVIL
======================================== */

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }
}




/* =========================================================

   TIPOGRAFÍA GLOBAL

========================================================= */

h1 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

@media (max-width: 1199px) {
    h1 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 20px;
    }
}



/* =============================================================
   TYPOGRAPHY — H2
============================================================= */

h2 {
    font-family: var(--font-body);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

@media (max-width: 1199px) {
    h2 {
        font-size: 42px;
    }
}

@media (max-width: 767px) {
    h2 {
        font-size: 36px;
    }
}



/* =============================================================
   TYPOGRAPHY — H3
============================================================= */

h3 {
    font-family: var(--font-body);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

@media (max-width: 1199px) {
    h3 {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    h3 {
        font-size: 28px;
    }
}




p, a, label, li    {
  font-size: 20px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1199px) {

  p, a, label, li  {
    font-size: 18px;
  }
}

/* ========================================
   MÓVIL
======================================== */

@media (max-width: 767px) {

  p, a, label, li    {
    font-size: 16px;
  }
}






/* Neutralizar transformaciones del parallax en móvil */
@media (max-width: 767px) {
  .parallax-disabled-mobile .hero .parallax-target,
  .parallax-disabled-mobile .services-hero .parallax-target,
  .parallax-disabled-mobile .contact-hero .parallax-target {
    transform: none !important;
    translate: none !important;
  }
}
