/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUQjIg1_i6t8kCHKm459WxRxC7mw9c.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUQjIg1_i6t8kCHKm459WxRzS7mw9c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUQjIg1_i6t8kCHKm459WxRxi7mw9c.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUQjIg1_i6t8kCHKm459WxRxy7mw9c.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUQjIg1_i6t8kCHKm459WxRyS7m.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Reset CSS v1.0.0 */
:root {
    /* Colores */
    --bg-color: #000001;
    --text-color: #ffffff;
    --strong-color: #d45618;
    --link-color: #ffffff;
    --link-hover: #d45618;

    /* Base */
    --font-size-base: 1rem;       /* tamaño de p, li, span... */
    --font-size-small: 0.875rem;  /* texto auxiliar */
    --font-size-large: 1.125rem;  /* texto destacado */

    /* Scrollbars */
    --scrollbar-size: 0.5rem; /* 8px */
    --scrollbar-widht: thin; /* auto | thin | none */
    --scrollbar-track: rgba(255, 255, 255, 0.1);
    --scrollbar-thumb: rgba(27, 27, 27, 0.2);
    --scrollbar-thumb-hover: rgba(0,0,0,0.35);
    --scrollbar-thumb-active: rgba(0,0,0,0.6);
    --scrollbar-radius: 0.25rem; /* 4px */

    /* Tipografía */
    --font-family-base: 'Montserrat', Arial, Helvetica, sans-serif;
    --font-weight-normal: 400;
    --font-weight-bold: 700;

    /* Headings */
    --h1-size: clamp(2rem, 4vw + 1rem, 3rem);
    --h-scale: 0.8;
    --h-font-weight: 700;
    --h-line-height: 1.2;

    /* Calcula cada heading en función de h1 */
    --h2-size: calc(var(--h1-size) * var(--h-scale));
    --h3-size: calc(var(--h2-size) * var(--h-scale));
    --h4-size: calc(var(--h3-size) * var(--h-scale));
    --h5-size: calc(var(--h4-size) * var(--h-scale));
    --h6-size: calc(var(--h5-size) * var(--h-scale));
}

*, *::before, *::after {
    box-sizing: border-box;
    border: 0;
    font: inherit;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    overflow-wrap: break-word;
}
header, main, footer, section, article, nav, aside, figure, figcaption {
    display: block;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--h-font-weight);
    line-height: var(--h-line-height);
}
h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
h4 { font-size: var(--h4-size); }
h5 { font-size: var(--h5-size); }
h6 { font-size: var(--h6-size); }

p, ul, ol, dl {
    font-size: var(--font-size-base);
}
ol, ul {
    list-style: none;
}
li {
    line-height: 1.5;
}
span {
    font-size: inherit;
}

strong, b {
    font-weight: var(--font-weight-bold);
}

em, i {
    font-style: italic;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover, a:focus {
    color: var(--link-hover);
    text-decoration: underline;
}
a:focus {
    outline: 0.2rem solid rgba(0,0,0,0.5);
    outline-offset: 0.2rem;
}
small {
    font-size: var(--font-size-small);
}

.big, .lead {
    font-size: var(--font-size-large);
    font-weight: var(--font-weight-bold);
}

button {
    border: none;
    background: none;
    cursor: pointer;
}
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}
legend {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
input, textarea, select {
    background: none;
    border-radius: 0;
    color: inherit;
    font: inherit;
}
input:focus, textarea:focus, select:focus {
    outline: 0.2rem solid rgba(0,0,0,0.5);
    outline-offset: 0.2rem;
}

hr {
    background: #EC6A11;
    background: radial-gradient(circle, rgba(236, 106, 17, 1) 0%, rgba(139, 62, 12, 0) 50%);
    border: 0;
    height: 0.2rem;
}

/* Grid Layout */
.wrapper {
    margin: 0 auto;
    max-width: 75rem; /* 1200px */
    padding: 0 1rem;
}

/* Header Layout */
header {
    padding: 4rem 0 0;
}
header nav a svg {
    width: auto;
    height: 4.5rem;
    vertical-align: middle;
    fill: currentColor;
}
header nav,
header nav ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}
header nav ul li a {
    font-size: 90%;
}

#header-description {
    background: url('../img/home.png') no-repeat center right;
    padding: 12rem 0 9rem 0;
    text-align: left;
}
#header-description h1 {
    font-size: 2.4rem;
    font-weight: 300;
    line-height: 1.2;
    max-width: 32rem;
}
#header-description h1 span {
    color: var(--strong-color);
}
#header-description p {
    margin-top: 2.5rem;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 32rem;
}
#header-description a {
    background-color: var(--strong-color);
    border-radius: 4rem;
    color: var(--bg-color);
    display: inline-block;
    font-weight: var(--font-weight-bold);
    padding: 0.2rem 1rem;
    margin-top: 2rem;
    text-transform: uppercase;
}
#header-description a span {
    font-family: cursive;
    vertical-align: initial;
    font-size: 1.2rem;
}

#solutions {
    background: url('../img/humo.svg') no-repeat center top/cover;
    text-align: center;
    padding-bottom: 4rem;
}

#solutions hr {
    margin: 2rem 0 6rem 0;
}

#solutions h2 strong {
    color: var(--strong-color);
}

.types-solutions {
    display: flex;
    justify-content: center;
    gap: 5rem 3rem;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    max-width: 64rem;
    margin: 6rem auto 0 auto;
}
.types-solutions .item {
    cursor: pointer;
    flex: 1 1 12rem;
    max-width: 12rem;
    text-align: center;
}
.types-solutions .item:hover * {
    color: var(--strong-color);
    fill: var(--strong-color);
}
.types-solutions .item a svg {
    margin: auto;
    width: 8rem;
    vertical-align: middle;
}
.types-solutions .item a svg g path {
    fill: var(--text-color);
    transition: fill 0.3s ease;
}
.types-solutions .item h6 {
    font-size: 1.125rem;
    margin-top: 1.5rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

#contact {
    background: url(../img/contact.png) no-repeat center top / cover;
    padding: 6rem 0;
    text-align: center;
}
#contact h2 {
    margin: auto 0 1rem;
    text-transform: uppercase;
}
#contact h2 strong {
    color: var(--strong-color);
}
#contact .row {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
    margin: 4rem auto 2rem auto;
    align-content: center;
    align-items: center;
    max-width: 70%;
}
#contact .row .col {
    flex: 1 1 40%;
}

#contact .row .col .logo svg {
    margin: auto;
    margin-bottom: 3rem;
    width: 12rem;
    vertical-align: middle;
    fill: var(--text-color);
}
#contact .row .col .icons-svg img {
    display: block;
    margin: 1rem auto;
    width: 1.5rem;
}

#contact .row .col form {
    margin-top: 2rem;
    border: 0.1rem solid #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: #0000005c;
}
#contact .row .col form input,
#contact .row .col form textarea {
    border: 0.1rem solid red;
    border-radius: 0.25rem;
    color: var(--text-color);
    display: block;
    font-size: 1rem;
    margin: 0.3rem 0;
    padding: 0.5rem 1rem;
    width: 100%;
}
#contact address {
    text-align: center;
    display: block;
    width: 100%;
}

#banner {
    color: var(--bg-color);
    background: url('../img/banner.svg') no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 4rem 0;
}
#banner h2 {
    text-transform: uppercase;
}
#banner h2 span {
    display: block;
    font-size: 2rem;
    font-weight: 500;
    text-transform: capitalize;
}
#banner > a {
    background-color: var(--bg-color);
    border-radius: 4rem;
    color: var(--strong-color);
    display: inline-block;
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    padding: 0.2rem 1rem;
    margin-top: 1.5rem;
    text-transform: uppercase;
}
#banner > a span {
    font-family: cursive;
    vertical-align: initial;
}

#photos {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}
#photos img {
    flex: 0 0 33.33%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    :root {
        --font-size-base: 0.875rem; /* 14px */
        --font-size-small: 0.775rem;
        --font-size-large: 1.025rem;
    }
}

@media (max-width: 560px) {
    :root {
        --font-size-base: 0.875rem; /* 14px */
        --font-size-small: 0.775rem;
        --font-size-large: 1.025rem;
    }

    .wrapper {
        padding: 0 0.5rem;
    }
}