:root {
    --graphite: #2A2A2A;
    --blue: #2f4f6f;
    --red: #7A2A2A;
    --red-hover: #a51e1e;

    --bg: #ececec;        /* основний фон */
    --light-gray: #f8f8f8; /* картки / блоки */
    --light-gray-blue: #778899;
    --border-graphite: #708090;
    --accent-dot: #7A2A2A; /* окремо для крапок */

}

/* BASE */

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    background: var(--bg);
    color: var(--graphite);
    
}

/* TYPO */

.h1 {
    font-family: 'Space Grotesk';
    font-size: 48px;
    color: var(--blue);

    
}

.h2 {
    font-family:  'Manrope', sans-serif;
    font-size: 28px;
    color: var(--graphite);
    
}

.container > .who-title {
    margin-bottom: 24px;
}

.container > .contact-title {
    margin-bottom: 24px;
    text-align: center;
}

.h3 {
    font-family: 'Space Grotesk';
    color: var(--blue);
    
}

.h4 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    background: var(--bg);
    color: var(--graphite);
}

/* LAYOUT */

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 24px;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    transform: scale(0.825);
    transform-origin: left center;
    position: relative;
    top: -6px;
}

.logo img {
    display: block;
    background: transparent;
}

.logo-mark {
    height: 84px;
    width: 84px;
    object-fit: cover;
    object-position: center;
    filter: drop-shadow(0 0 16px rgba(236, 236, 236, 0.82)) drop-shadow(0 0 42px rgba(236, 236, 236, 0.5));
    transition: filter 180ms ease;
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: transparent;
    align-items: center;
    text-align: center;
}

.logo-title {
    font-family: 'Manrope', sans-serif;
    font-size: 29.6px;
    line-height: 0.95;
    letter-spacing: 0.13em;
    font-weight: 700;
    color: #ececec;
    text-transform: uppercase;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.42), 0 8px 22px rgba(0, 0, 0, 0.22);
    transition: color 180ms ease, text-shadow 180ms ease;
}

.logo-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 11.2px;
    line-height: 1.1;
    letter-spacing: 0.08em;
    color: #ececec;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.36), 0 6px 14px rgba(0, 0, 0, 0.18);
    transition: color 180ms ease, text-shadow 180ms ease;
}

.logo:hover .logo-mark {
    filter: drop-shadow(0 0 20px rgba(248, 248, 248, 0.95)) drop-shadow(0 0 52px rgba(236, 236, 236, 0.62));
}

.logo:hover .logo-title,
.logo:hover .logo-subtitle {
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.46), 0 10px 24px rgba(0, 0, 0, 0.24);
}

.section {
    padding: 70px 0;
}

/* HERO */

.hero {
    position: relative;
    min-height: 475px;
    padding: 0 0 80px;
    overflow: hidden;
    background-color: transparent;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.25) 50%),
        url("images/hero.jpg") center calc(50% - 120px) / cover no-repeat;
    filter: saturate(1.5);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 150px;
    background: linear-gradient(180deg, rgba(236, 236, 236, 0) 0%, var(--bg) 100%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    width: 100%;
    max-width: none;
    margin-top: 110px;
    padding: 36px;
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    transition: backdrop-filter 180ms ease, -webkit-backdrop-filter 180ms ease, background-color 180ms ease;
}

.hero-content:hover {
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.hero .h1 {
    margin: 0 0 18px;
    font-size: 54px;
    line-height: 1.05;
    color: white;
    text-shadow: 0 12px 28px rgba(0, 0, 0, 1);
}

.subtitle {
    margin: 0;
    max-width: 32ch;
    font-size: 21px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--graphite);
}

.hero .subtitle {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 8px 20px rgba(0, 0, 0, 1);
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
}

.hero-buttons .btn-secondary {
    border: 0.5px solid var(--light-gray);
    color: white;
    background: rgba(20, 26, 47, 0.134);
    box-shadow: inset 0 0 0 1px rgba(122, 42, 42, 0.18);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(2px);
    font-weight: 700;
    line-height: 1.2;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 0 0 1px rgba(122, 42, 42, 0.24), 0 10px 25px rgba(0,0,0,0.2);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
/* ===== PROBLEM BLOCK ===== */

.problem-box {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr;
    gap: 40px;

    background: white;
    padding: 50px;
    border-radius: 8px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* список */

.problem-list {
    margin-top: 0px;
    padding-left: 0;
    list-style: none;
}

.problem-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    

}

/* кастомні точки */

.problem-list li::before {
    content: "×";
    position: absolute;
    left: 0;
    top: 50%;
    width: auto;
    height: auto;
    color: var(--red);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
}

/* права частина */

.problem-right {
    display: flex;
    align-items: center;

    padding: 35px;
    margin: 30px;

    background: #ececec;

    border-radius: 4px;

    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
    color: var(--blue);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}


    
/* ===== IMPACT BLOCK ===== */

.impact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;

    margin-top: 30px;
}

/* картки */

.impact-card {
    background: white;
    padding: 28px;
    position: relative;

    border-radius: 8px;

    border: 1px solid var(--border-gray);

    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

/* база */

.has-image {
    min-height: 160px;

    background-size: cover;
    background-position: center;
    
}

/* картинки */

.card-1 {
    background-image: 
    linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)),
    url("images/image1.jpeg");
    
}

.card-2 {
    background-image: 
    linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)),
    url("images/image2.jpeg");
}



/* список */

.impact-list {
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

.impact-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
}

/* крапки */

.impact-list li::before {
    content: "×";
    position: absolute;

    left: 0;
    top: 50%;

    width: auto;
    height: auto;
    color: var(--red);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
}



/* зовнішній білий блок */

.services-wrapper {
    padding: 24px;
    border-radius: 8px;
}

/* grid */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

/* сині блоки */

.service-card {
    background: #2f4f6f;
    color: white;
    padding: 24px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    min-height: 80px;
    position: relative;
    overflow: hidden;
}

/* текст */

.service-card h3 {
    margin: 0 0 8px;
    font-weight: 600;
}

.service-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.service-card:hover {
    background: #355a7f;
}


/* GRID */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 48px;
    align-items: stretch;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* CARD */

.card {
    background: white;
    padding: 24px;
    border-radius: 8px;
}

/* PACKAGE */

.package {
    border: 1px solid var(--border-graphite);
    border-radius: 8px;
    padding: 16px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);

}

.package:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.highlight {
    border: 2px solid var(--border-graphite);
}

.package-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    
}

.package-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    display: inline-block;
}

.package-image1 h1 {
   color:white;
   text-align: center;
   text-shadow: 0 10px 20px rgba(0,0,0,0.8);
}

.text-on-image1 {
    position: relative;
    font-size: 24px;
    font-weight: 600;
}
.price-tag {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    padding: 4px 16px;

    border: 1px solid white;
    border-radius: 8px;
    color: white;
    font-size: 24px;
    font-weight: 300;

    backdrop-filter: blur(4px); /* дає той “скляний” ефект */
    background: rgba(255,255,255,0.1);
}


.btn-primary.full {
    display: block;
    text-align: center;
    padding: 16px;
    font-weight: 800;
   
}

.package-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
    height: 100%;
    padding-top: 24px;
}

.package-content h4,
.package-content p {
    margin: 0;
}

.package-content .btn-primary {
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.package-image1,
.package-content {
    min-width: 0;
}


.card-3 {
    background-image: 
    linear-gradient(rgba(255,255,255,0.04), rgba(255,255,255,0.04)),
    url("images/packages1.jpg");
}

.card-4 {
    background-image: 
    linear-gradient(rgba(255,255,255,0.04), rgba(255,255,255,0.04)),
    url("images/packages2.jpeg");
}

.card-5 {
    background-image: 
    linear-gradient(rgba(0,0,0,0.14), rgba(0,0,0,0.14)),
    url("images/packages3.jpeg");
}

/* LIST */

.list {
    line-height: 1.7;
}

/* BUTTONS */

.btn-primary {
    background: linear-gradient(145deg, #7A2A2A, #9e3a3a);
    color: white;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    
}

.btn-primary {
    background: linear-gradient(145deg, #7A2A2A, #9e3a3a);
    color: white;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--red-hover);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.72);
    color: white;
    padding: 14px 22px;
    border-radius: 4px;
    text-decoration: none;
    background: rgba(42, 42, 42, 0.18);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.btn-secondary:hover {
    background: rgba(42, 42, 42, 0.24);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}



/* FORM */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 22px 24px;
    box-sizing: border-box;
    border: 1px solid rgba(112, 128, 144, 0.35);
    border-radius: 8px;
    background: #ffffff;
    color: var(--graphite);
    font: inherit;
    font-size: 18px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(42, 42, 42, 0.58);
}

.contact-form textarea {
    min-height: 340px;
    resize: vertical;
}

.contact-form .btn-primary {
    align-self: stretch;
    width: 100%;
    text-align: center;
    justify-content: center;
    font-size: 18px;
    padding: 18px 24px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    border: none;
    box-shadow: 0 10px 24px rgba(122, 42, 42, 0.24), 0 0 18px rgba(158, 58, 58, 0.18);
}

/* FOOTER */

.footer {
    margin-top: 80px;
    padding: 36px 0 24px;
    background: linear-gradient(180deg, rgba(42,42,42,0.02) 0%, rgba(47,79,111,0.08) 100%);
    border-top: 1px solid rgba(112, 128, 144, 0.28);
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.footer-brand {
    max-width: 620px;
}

.footer-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    color: var(--blue);
    margin-bottom: 10px;
}

.footer-brand p {
    margin: 0;
    line-height: 1.6;
    color: rgba(42, 42, 42, 0.76);
}

.footer-nav {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.footer-nav a {
    color: var(--graphite);
    text-decoration: none;
    font-weight: 600;
}

.footer-nav a:hover {
    color: var(--red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(112, 128, 144, 0.18);
    font-size: 14px;
    color: rgba(42, 42, 42, 0.62);
}

/* WHATSAPP */

.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 12px;
    border-radius: 20px;
}

/* базовий */

.surface-1 {
    background: #ffffff;
    border: 1px solid var(--border-graphite);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.surface-1:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.surface-1::after,
.service-card::after,
.value-card::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0.28;
    background-image:
        linear-gradient(90deg, rgba(248,248,248,0.9) 0 10px, transparent 10px 18px),
        linear-gradient(90deg, rgba(248,248,248,0.9) 0 10px, transparent 10px 18px),
        linear-gradient(0deg, rgba(248,248,248,0.9) 0 10px, transparent 10px 18px),
        linear-gradient(0deg, rgba(248,248,248,0.9) 0 10px, transparent 10px 18px);
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 18px 1px, 18px 1px, 1px 18px, 1px 18px;
    background-position: left top, left bottom, left top, right top;
}

/* акцентний */

.surface-2 {
    background: #ffffff;
    border-radius: 8px;

    border: 2px solid var(--border-graphite);

    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.surface-2:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.surface-3 {
    
    border: 1px solid var(--border-graphite);
    border-radius: 8px;

    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.surface-3:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.surface-4 {
    background: #ffffff;
    border: 1px solid var(--border-graphite);
    border-radius: 8px;
    padding: 24px;
    padding-top: 0px;

    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.surface-4:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.surface-4 h2 {
    margin-left: 24px;
    margin-top: 0px;
}

.surface-4 h4 {
    margin-left: 24px;
    margin-top: 0px;
}

.surface-4 .subtitle {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.45;
}

.section-tight {
    padding-top: 24px;
}

.info-block {
    padding: 36px;
    position: relative;
}

.addon-list {
    margin: 20px 0 0;
    padding-left: 0;
    list-style: none;
    line-height: 1.8;
}

.addon-list li {
    position: relative;
    padding-left: 28px;
}

.addon-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--red);
    font-weight: 700;
}

.info-block > .h2,
.impact-copy > .h2,
.container > .h2 {
    margin-top: 0;
    margin-bottom: 0;
}

.container > .who-title,
.container > .contact-title {
    margin-bottom: 24px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.benefit-chip,
.process-step {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 18px;
    box-sizing: border-box;
    text-align: center;
    font-weight: 600;
    color: var(--blue);
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,248,248,1) 100%);
}

.text-flow {
    display: grid;
    gap: 18px;
    margin-top: 20px;
}

.text-flow p {
    margin: 0;
    line-height: 1.7;
}

.team-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    color: var(--blue);
    border-color: var(--border-graphite);
    background: rgba(255, 255, 255, 0.72);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.value-card {
    padding: 28px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(47,79,111,0.08) 0%, rgba(255,255,255,1) 28%, rgba(248,248,248,1) 100%);
    border: 2px solid rgba(122, 42, 42, 0.55);
    box-shadow: 0 12px 28px rgba(42, 42, 42, 0.1);
}

.value-card .h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 24px;
    color: var(--red);
}

.values-title {
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.9), 0 0 4px rgba(255, 255, 255, 0.9);
}

.value-card p {
    margin: 0;
    line-height: 1.6;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.process-step {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.process-step span {
    color: var(--red);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.story-block {
    padding: 36px;
}

.story-lead {
    margin: 20px 0 0;
    line-height: 1.7;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.photo-tile {
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1px rgba(112, 128, 144, 0.14);
}

.team-photo-1 {
    background-image: url("images/team1.jpg");
}

.team-photo-2 {
    background-image: url("images/team2.jpg");
    background-position: center 32%;
}

.team-photo-3 {
    background-image: url("images/team3.jpg");
}

.team-photo-4 {
    background-image: url("images/team4.jpg");
}

.impact-photo-1 {
    background-image: url("images/impact1.jpg");
    background-position: 56% center;
}

.impact-photo-2 {
    background-image: url("images/impact3.jpg");
}

.impact-photo-3 {
    background-image: url("images/impact2.jpg");
}

.impact-photo-4 {
    background-image: url("images/impact4.jpg");
    background-position: center 60%;
}

@media (max-width: 980px) {
    .hero {
        min-height: 435px;
        padding: 0 0 68px;
        background-position: 62% center;
    }

    .hero-content {
        max-width: 100%;
        margin-top: 90px;
        padding: 30px;
    }

    .hero .h1 {
        font-size: 46px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .impact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefit-grid,
    .value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-row {
        grid-template-columns: 1fr;
    }

    .problem-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 380px;
        padding: 0 0 56px;
        background-position: 68% center;
    }

    .hero-content {
        margin-top: 72px;
        padding: 24px 20px;
        border-radius: 8px;
    }

    .hero .h1 {
        font-size: 36px;
    }

    .subtitle {
        font-size: 18px;
    }

    .grid-3,
    .grid-2,
    .impact,
    .services-grid,
    .benefit-grid,
    .value-grid,
    .process-grid,
    .photo-grid {
        grid-template-columns: 1fr;
    }

    .process-arrow {
        display: none;
    }

    .info-block,
    .story-block {
        padding: 24px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-inner,
    .footer-bottom {
        flex-direction: column;
    }

    .footer-nav {
        justify-items: start;
    }

    .problem-box {
        padding: 24px;
    }

    .problem-right {
        margin: 0;
        padding: 24px;
    }
}
