/*!
Theme Name: onda-argentina
Author: onda-argentina
Author URI: http://onda-argentina.com
Description: onda-argentina
*/

@font-face {
    font-family: 'Anton';
    src: url('assets/fonts/subset-Anton-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter 18pt';
    src: url('assets/fonts/subset-Inter18pt-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter 18pt';
    src: url('assets/fonts/subset-Inter18pt-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
  --color-raw-dark-blue: #161A22;
  --color-raw-dark-purple: #29232A;
  --color-raw-orange: #FF5C24;
  --color-raw-cream: #FFF1DD;
  --color-raw-deep-black: #090B0F;

  --font-family-accent: 'Anton', sans-serif;
  --font-family-base: 'Inter', sans-serif;

  --layout-max-width: 1780px;


  --color-bg-main: var(--color-raw-dark-blue);
  --color-bg-secondary: var(--color-raw-dark-purple);
  --color-bg-accent-section: var(--color-raw-orange);

  --color-text-main: var(--color-raw-cream);
  --color-text-btn-accent: var(--color-raw-deep-black);

  --color-accent: var(--color-raw-orange);
  --color-link: var(--color-raw-orange);
  --color-btn-bg: var(--color-raw-orange);
  --color-btn-text: var(--color-text-btn-accent);

  --font-h1-size: clamp(2.25rem, -0.375rem + 5.4688vw, 4rem);
  --font-h2-size: clamp(1.5rem, -0.375rem + 3.9063vw, 2.75rem);
  --font-h3-size: clamp(1.125rem, -0.1875rem + 2.7344vw, 2rem);
  --font-h4-size: clamp(1.125rem, 0.1875rem + 1.9531vw, 1.75rem);
  --font-headings-weight: 400;
  --font-headings-line-height: 1.15;

  --font-base-size: 18px;
  --font-base-weight: 400;
  --font-base-weight-bold: 700;
  --font-base-line-height: 1.55;


  --font-menu-size: 14px;
  --font-meta-size: 12px;

  --font-btn-size: clamp(1rem, 0.8125rem + 0.3906vw, 1.125rem);
  --font-btn-weight: 700;
  --font-btn-line-height: 1.25;

  --space-section-bottom: 64px;
  --space-section-top: 64px;

  --shadow-btn-default: 0 6px 16px 0 rgb(255 92 36 / 0.22);
  --shadow-btn-hover: 0 12px 28px 0 rgb(255 92 36 / 0.45);
  --transition-smooth: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 8px;
    height: 12px;
    background-color: var(--color-bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--color-bg-accent-section);
}

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

ul,
ol,
li {
    list-style: none;
}

img {
    vertical-align: top;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-family-accent);
    line-height: var(--font-headings-line-height);
    font-weight: var(--font-headings-weight);
    line-height: var(--font-headings-line-height);
}

h1 { font-size: var(--font-h1-size); }
h2 { font-size: var(--font-h2-size); }
h3 { font-size: var(--font-h3-size); }
h4 { font-size: var(--font-h4-size); }

input {
    outline: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: var(--color-bg-main);
}

body {
    font-family: var(--font-family-base);
    font-weight: 400;
    font-style: normal;
    font-size: var(--font-base-size);
    line-height: var(--font-base-line-height);
    color: var(--color-text-main);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body::before {
    content: "Protected";
    display: none;
}
input[name="email_confirm"] {
    display: none !important;
}

section {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding-bottom: var(--space-section-bottom);
}

.wrapper {
    position: relative;
    width: 100%;
    max-width: var(--layout-max-width);
    padding: 0 15px;
    margin: 0 auto;
    z-index: 1;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    z-index: 2;
    background-color: var(--color-bg-main);
}

.header__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: clamp(1rem, -1.5718rem + 4.1522vw, 1.75rem) 0;
}

.logo {
    display: flex;
    width: 100%;
    max-width: clamp(10rem, 1.412rem + 23.8554vw, 16.1875rem);
    align-items: center;
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    padding: 0;
    z-index: 101;
}

.burger__line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-link);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu__list {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 16px;
}

.menu__list__items {
    position: relative;
}

.menu__list__items__link {
    font-size: var(--font-menu-size);
    line-height: var(--font-base-line-height);
    transition: 0.3s all;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(0.75rem, 0.375rem + 0.7813vw, 1rem) clamp(1rem, 0.625rem + 0.7813vw, 1.25rem);
    gap: 12px;
    border: none;
    cursor: pointer;
    background-color: var(--color-btn-bg);
    color: var(--color-btn-text);
    font-size: var(--font-btn-size);
    font-weight: var(--font-btn-weight);
    line-height: var(--font-btn-line-height);
    box-shadow: var(--shadow-btn-default);
    transition: 
        transform var(--transition-smooth), 
        box-shadow var(--transition-smooth), 
        background-color var(--transition-smooth);
}

.button--maxw {
    width: 100%;
    max-width: fit-content;
}

.button--maxw360 {
    width: 100%;
    max-width: 360px;
}

.button--color {
    background-color: var(--color-bg-secondary);
    color: var(--color-text-main);
}

.menu__list__items--btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(0.75rem, 0.375rem + 0.7813vw, 1rem) clamp(1rem, 0.625rem + 0.7813vw, 1.25rem);
    gap: 4px;
    border: none;
    cursor: pointer;
    background-color: var(--color-btn-bg);
}

.menu__list__items--btn a,
.menu__list__items--btn span {
    color: var(--color-btn-text);
    font-size: var(--font-btn-size);
    font-weight: var(--font-btn-weight);
    line-height: var(--font-btn-line-height);
    transition: 0.3s all;
}

.menu__submenu {
    position: absolute;
    top: 110%;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--color-bg-main);
    padding: 8px 12px;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    width: fit-content;
    z-index: 50;
}

.menu__list__items:hover > .menu__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu__submenu__item {
    list-style: none;
}

.menu__submenu__link {
    color: var(--color-link);
    font-size: var(--font-menu-size);
    transition: 0.3s all;
    white-space: nowrap;
}

.hero {
    padding-top: clamp(6.25rem, -9.6806rem + 25.6944vw, 10.875rem);
}

.hero__box {
    display: grid;
    grid-template-columns: 51.73% auto;
    gap: clamp(1.75rem, -0.125rem + 3.9063vw, 3rem);
}

.hero__box__items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    justify-content: center;
}

.hero__box__items span {
    font-size: var(--font-meta-size);
}

.about {
    padding-top: var(--space-section-top);
    padding-bottom: var(--space-section-bottom);
}

.about--hero {
    padding-top: clamp(6.25rem, -9.6806rem + 25.6944vw, 10.875rem);
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about__content--color {
    background-color: var(--color-bg-secondary);
    padding: clamp(1rem, -0.125rem + 2.3438vw, 1.75rem);
    margin-top: 32px;
}

.about__content span {
    font-size: var(--font-meta-size);
    text-transform: uppercase;
}

.about__content--pl {
    padding-left: clamp(0rem, -72rem + 90vw, 9rem);
}

.about--article p a {
    color: var(--color-link);
    text-decoration: underline;
}

.about--article ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about--article ul li {
    position: relative;
    padding-left: 18px;
    display: flex;
    align-items: center;
}

.about--article ul li:before {
    position: absolute;
    left: 0;
    content: '';
    width: 7px;
    height: 7px;
    background-color: var(--color-link);
    border-radius: 50%;
}

.about__content__center {
    display: flex;
    justify-content: center;
}

.about__content small {
    font-size: 11px;
}

.table-container {
    width: 100%;
    margin: 25px 0;
    overflow-x: auto;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-bg-header);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.custom-table th {
    background-color: var(--color-link);
    color: var(--color-button-text);
    text-align: left;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 18px;
}

.custom-table td {
    padding: 16px 20px;
    color: var(--color-text-main);
    font-size: 16px;
    border-bottom: 1px solid var(--color-link);
    transition: all 0.3s ease;
}

.navigation {
    padding-top: var(--space-section-top);
    background-color: var(--color-bg-accent-section);
    margin-bottom: var(--space-section-bottom);
}

.navigation__box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 16px;
}

.navigation__link {
    display: block;
    width: 100%;
    border-radius: 8px;
    padding: 18px 20px;
    background-color: var(--color-bg-main);
    color: var(--color-raw-cream);
    font-weight: 700;
    font-size: 16px;
    transition: 0.3s all;
}

.navigation__info {
    display: block;
    width: 100%;
    border-radius: 8px;
    padding: 18px 20px;
    background-color: var(--color-bg-main);
    color: var(--color-raw-cream);
    font-weight: 700;
    font-size: 16px;
}

.blog__box {
    display: grid;
    grid-template-columns: 40.17% auto;
    gap: clamp(1.75rem, -0.125rem + 3.9063vw, 3rem);
    align-items: center;
}

.blog__box__items {
    display: flex;
    width: 100%;
}

.blog__box__items__img {
    display: block;
    overflow: hidden;
}

.blog__box__items__img img {
    aspect-ratio: 716 / 320;
    transition: 0.3s all;
    object-fit: cover;
}

.blog__box__items__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
}

.blog__box__items__content small {
    font-size: var(--font-meta-size);
    text-transform: uppercase;
}

.blog__box__items__content__link {
    font-size: var(--font-h2-size);
    font-family: var(--font-family-accent);
    font-weight: var(--font-headings-weight);
    line-height: var(--font-headings-line-height);
    transition: 0.3s all;
    color: var(--color-text-main);
}

.page {
    padding-top: var(--space-section-top);
    background-color: var(--color-bg-secondary);
}

.page__box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.page__box--full {
    grid-template-columns: repeat(1, 1fr);
}

.page__box__items__link {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--color-raw-cream);
    transition: 0.3s all;
}

.footer {
    padding: 56px 0;
    background-color: var(--color-bg-secondary);
}

.footer__box {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__box img {
    max-width: 178px;
}

.footer__box__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer__box__list__items a {
    display: flex;
    flex: 1;
    max-width: fit-content;
    white-space: nowrap;
    font-size: var(--font-meta-size);
    color: var(--color-text-main);
    transition: 0.3s all;
}

.footer__box small {
    font-size: var(--font-meta-size);
}

.breadcrumbs ul {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    flex-direction: row;
}

.breadcrumbs ul li {
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-text-main);
    padding-left: 0;
}

.breadcrumbs ul li:before {
    content: none;
}

.breadcrumbs ul li a {
    transition: 0.3s all;
}

.about__content--info {
    margin-top: 0;
}

.about__content--info p {
    font-size: 16px;
}

.info__box {
    display: grid;
    grid-template-columns: 30% auto;
    align-items: center;
    gap: clamp(1.75rem, -2rem + 7.8125vw, 4.25rem);
}

.info__box__items {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: clamp(1.25rem, 0.125rem + 2.3438vw, 2rem);
}

.info__box__items__column {
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 0.125rem + 0.7813vw, 0.75rem);
}

@media (min-width: 1200px) {
    .menu__list__items__link:hover,
    .custom-table td a:hover,
    .about--article p a:hover,
    .menu__submenu__link:hover {
        color: var(--color-raw-cream);
    }
    .menu__list__items--btn a:hover {
        color: var(--color-raw-cream);
    }
    .button:hover {
        transform: translateY(-2px); 
        box-shadow: var(--shadow-btn-hover); 
    }
    .navigation__link:hover {
        background-color: var(--color-raw-cream);
        color: var(--color-bg-main); 
    }
    .blog__box__items__img:hover img {
        transform: scale(1.1);
    }
    .blog__box__items__content__link:hover,
    .page__box__items__link:hover,
    .footer__box__list__items a:hover {
        color: var(--color-link);
    }
    .breadcrumbs ul li a:hover {
        color: var(--color-text-main);
    }
}

@media (max-width: 991px) {
    .burger {
        display: flex;
    }
    .burger.is-active .burger__line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger.is-active .burger__line:nth-child(2) {
        opacity: 0;
    }
    .burger.is-active .burger__line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 95vh;
        background-color: var(--color-bg-main);
        padding: 22px 15px;
        box-sizing: border-box;
        z-index: 99;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
    }
    .menu.is-active {
        transform: translateY(clamp(3.3125rem, 0.8315rem + 6.8916vw, 5.1rem));
        opacity: 1;
        visibility: visible;
        display: flex;
        flex-direction: column;
        justify-content: start;
    }
    .menu__list {
        flex-direction: column;
        align-items: start;
        gap: 16px;
    }
    .menu__list__items {
        display: flex;
        width: 100%;
    }
    .menu__list__items__link {
        font-size: 16px;
        color: var(--color-text-title);
        width: 100%;
        justify-content: space-between;
    }
    .menu__list__items--btn {
        max-width: fit-content;
        align-self: flex-end;
    }
    .menu__list__items--btn a {
        font-size: 14px;
    }

    .hero__box,
    .blog__box {
        grid-template-columns: auto;
    }

    .navigation__box,
    .page__box {
        grid-template-columns: repeat(2, 1fr);
    }
    .info__box {
        grid-template-columns: auto;
    }

    .menu-item-has-children {
        flex-direction: column;
    }

    .menu__submenu {
        position: relative;
        top: 0;
        gap: 4px;
        padding: 6px 0 0px 12px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0px);
        background: none;
    }

    .menu__submenu__link {
        font-size: 14px;
        color: var(--color-text-title);
        padding-bottom: 12px;
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .custom-table {
        border: none;
        box-shadow: none;
    }
    .custom-table thead {
        display: none;
    }
    .custom-table tbody tr {
        display: block;
        margin-bottom: 20px;
        background-color: var(--color-bg-header);
        border: 1px solid var(--color-link);
        border-left: 5px solid var(--color-raw-cream);
        border-radius: 8px;
        overflow: hidden;
    }
    .custom-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 14px 18px;
        font-size: 12px;
        border-bottom: 1px solid var(--color-link);
    }
    .custom-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--color-raw-cream);
        text-align: left;
        padding-right: 15px;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .navigation__box,
    .page__box {
        grid-template-columns: repeat(1, 1fr);
    }
}
