/*
 Theme Name: Hello Elementor Child
 Theme URI: -
 Description: Child theme pentru Hello Elementor
 Author: Matei-Mihai & Maxim Bianca
 Author URI: -
 Template: hello-elementor
 Version: 1.0.0
 Text Domain: hello-elementor-child
*/

/* Vars */
:root {
    --bg: #F2FFFF;
    --text: #0E1B16;
    --muted: #425852;
    --accent: #2BBAB6;
    --accent-hover: #6BDDD7;
    --check-color: #fff;

    /* Contact */
    --card: #e9f7f3;
    --border: #2bbab6;
    --text-strong: #0f1a1a;
    --radius-xl: 16px;
    --radius-lg: 14px;
    --shadow: 0 10px 22px rgba(43, 90, 79, .08);
}

/* Base */
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto Flex', sans-serif;
}

.hero-simple,
.hero-simple *,
.hero,
.hero *,
.elementor-info-section,
.elementor-info-section *,
.contacteaza,
.contacteaza *,
.partners,
.partners * {
    font-family: 'Roboto Flex', sans-serif !important;
}

.e-con-inner {
    padding: 0 !important;
}

header,
.navbar,
.site-header {
    margin: 0;
    padding: 0;
}

/* W1: Hero full */
.hero-simple {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding-left: clamp(20px, 8vw, 8%);
    margin-top: 0;
}

body:not(.logged-in) .hero-simple {
    margin-top: 0 !important;
}

.hero-simple .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 60, 65, .65) 0%, rgba(0, 60, 65, .35) 60%, rgba(0, 60, 65, 0) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.hero-content h1,
.hero-content p,
.hero-content ul {
    margin: 0;
}

.hero-content h1 {
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    margin-bottom: 2rem;
    padding-bottom: 20px;
}

/* Checks */
.checks {
    display: grid;
    gap: 12px;
    margin: 0 0 1.5rem 0;
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInUp .6s ease forwards;
    opacity: 0;
}

.check:nth-child(1) {
    animation-delay: .2s;
}

.check:nth-child(2) {
    animation-delay: .3s;
}

.check:nth-child(3) {
    animation-delay: .4s;
}

.check svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.check span {
    font-size: clamp(14px, 2vw, 16px);
    font-variation-settings: "wght" 400, "opsz" 16;
}

.text-alb {
    color: #fff;
}

/* CTA */
/* Hero 1 – alb */
.cta-btn {
    display: inline-block;
    background: var(--accent) !important;
    color: #fff !important;
    font-weight: 700;
    padding: .85rem 1.6rem;
    margin-top: 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: background .25s ease, transform .15s ease;
    animation: fadeInUp .6s ease forwards;
    opacity: 0;
    animation-delay: .5s;
}

.cta-btn:hover {
    background: var(--accent-hover) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Hero 2 + Info – negru */
.cta,
.elementor-info-text a {
    display: inline-block;
    background: var(--accent) !important;
    color: #000 !important;
    font-variation-settings: "wght" 500, "opsz" 18;
    border-radius: 6px;
    padding: 14px 28px;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 700;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}

.cta:hover,
.elementor-info-text a:hover {
    background: var(--accent-hover) !important;
    color: #000 !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* W2: Hero grid (text+imagine) */
.hero-wrapper {
    background: var(--bg);
    padding: 0;
}

.hero {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 36px;
    align-items: center;
    padding: 70px 24px 70px;
    max-width: 1170px;
    margin: 0 auto;
    color: var(--text);
}

.hero-media {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

.hero-title {
    color: var(--text);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 18px;
    font-size: 40px;
}

.hero-title .lh-break {
    display: block;
}

.hero-sub {
    color: #0E1B16;
    font-size: 16px;
    padding-bottom: 20px;
    text-wrap: pretty;
}

/* W2 + W3: Info section */
.elementor-info-section {
    width: 100%;
    background: var(--bg);
    padding: 70px 70px;
    line-height: 1.6;
}

.elementor-info-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.elementor-info-text {
    flex: 1;
    min-width: 280px;
}

.elementor-info-text h2 {
    color: var(--text);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 18px;
    font-size: 40px;
}

.elementor-info-text p {
    margin: 0 0 12px;
    font-size: clamp(14px, 2vw, 16px);
    font-variation-settings: "wght" 400, "opsz" 16;
    color: #333;
}

.elementor-info-img {
    flex: 1;
    display: block;
    border-radius: 20px;
    overflow: hidden; /* obligă img să fie decupată */
    aspect-ratio: 4/3;
}

.elementor-info-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* W4: Contactează-ne */
.contacteaza-wrapper {
    background: var(--bg);
}

.contacteaza {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    color: var(--text-strong);
    line-height: 1.45;

}

.contacteaza .title {
    font-weight: 800;
    text-align: center;
    font-size: 40px;
    margin: 0;
    padding-bottom: 20px;
}

.contacteaza .subtitle {
    text-align: center;
    color: var(--muted);
    font-size: clamp(14px, 1.6vw, 16px);
    margin-bottom: 24px;
}

.contacteaza .grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 20px;
}

.panel {
    background: #dff5ef;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    min-height: 340px;
}

.panel .illustration {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
}

.stack {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stack::before,
.stack::after {
    content: "";
    display: block;
    height: 16px;
    flex: 0 0 auto;
}

.info {
    margin: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--border);
}

.icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
}

.info h3 {
    margin: 2px 0 6px;
    font-size: 16px;
}

.value,
.value a {
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
}

.value a:hover {
    text-decoration: underline;
}

/* W5: Parteneri */
.partners {
    background: #F2FFFF;
    color: var(--text-strong);
}

.partners__inner {
    max-width: 1170px;
    margin: 0 auto;
    /* centrează containerul */
    padding-top: 70px;
    padding-bottom: 70px;
    text-align: center;
    /* opțional, ca să centrezi și textul/logo-urile */
}


.partners__title {
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    /* margin: 6px 0 50px; */
    font-size: 40px;
    padding-bottom: 15px;
}

.partners__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 48px);
    align-items: start;
}

.partners__item {
    text-align: center;
}

.partners__logo-wrap {
    width: clamp(72px, 10vw, 120px);
    aspect-ratio: 1/1;
    border-radius: 50%;
    margin: 0 auto clamp(12px, 2vw, 16px);
    border: 1px solid rgba(43, 186, 182, .3);
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.partners__logo {
    width: 70%;
    height: 70%;
    object-fit: contain;
    display: block;
}

.partners__name {
    font-size: clamp(14px, 1.3vw, 18px);
    line-height: 1.4;
    margin: 0;
    color: #4c6060;
}

/* Responsive */
@media (max-width:980px) {
    .hero-simple {
        min-height: 70vh;
        padding-left: 5%;
        padding-right: 5%;
        justify-content: center;
        background-position: center top;
    }

    .hero-content {
        text-align: center;
        max-width: 90%;
    }

    .hero-content h1 {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
        line-height: 1.2;
    }

    .hero-simple .subtitle {
        font-size: 18px !important;
        line-height: 1.4;
    }

    .hero-simple .checks {
        font-size: 18px !important;
    }

    .checks {
        justify-items: center;
        text-align: left;
    }

    .hero-content li {
        justify-content: center;
    }

    .cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .hero-simple .overlay {
        background: linear-gradient(180deg, rgba(0, 60, 65, .65) 0%, rgba(0, 60, 65, .35) 60%, rgba(0, 60, 65, 0) 100%);
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 36px 16px 48px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-media {
        order: -1;
        aspect-ratio: auto;
    }

    .checks {
        text-align: center;
    }

    .elementor-info-container {
        flex-wrap: wrap;
        flex-direction: column-reverse;
        text-align: center;
    }

    /* .elementor-info-text a {
        margin-top: 15px;
        display: block;
        width: 100%;
        padding: 16px;
    } */

    .contacteaza .grid {
        grid-template-columns: 1fr;
    }

    .panel {
        min-height: 260px;
    }

    .info {
        padding: 14px;
    }

    .icon {
        width: 40px;
        height: 40px;
    }

    .icon svg {
        width: 20px;
        height: 20px;
    }

    .partners__list {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "bioclinica crucea"
            "cabinet cabinet";
    }

    .partners__item:nth-child(1) {
        grid-area: bioclinica;
    }

    .partners__item:nth-child(2) {
        grid-area: cabinet;
    }

    .partners__item:nth-child(3) {
        grid-area: crucea;
    }

/* asta e de test */

  .elementor-info-container {
    flex-direction: column-reverse;
  }

  .elementor-info-img {
    width: 100%;
    margin-bottom: 20px;
    aspect-ratio: auto;
  }

  .elementor-info-img img {
    width: 100%;
    height: auto;
  }
}