:root {
    --ocean-blue: #1e3a8a;
    --sunset-orange: #f97316;
    --forest-green: #16a34a;
    --crimson-red: #dc2626;
    --slate-gray: #64748b;
    --warm-white: #fefefe;
    --deep-charcoal: #1f2937;
    --accent-purple: #7c3aed;
    --golden-yellow: #eab308;
    --soft-cream: #f9fafb;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.73;
    color: var(--deep-charcoal);
    background: var(--warm-white);
    font-size: 1.06rem;
    font-weight: 310;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 21px;
}

.container-fluid {
    width: 100%;
    padding: 0 34px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -17px;
}

.col-12 { width: 100%; padding: 0 17px; }
.col-lg-3 { width: 25%; padding: 0 17px; }
.col-lg-4 { width: 33.333%; padding: 0 17px; }
.col-lg-6 { width: 50%; padding: 0 17px; }
.col-lg-8 { width: 66.666%; padding: 0 17px; }
.col-lg-12 { width: 100%; padding: 0 17px; }
.col-md-6 { width: 50%; padding: 0 17px; }

@media (max-width: 890px) {
    .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8, .col-lg-12 {
        width: 100%;
        margin-bottom: 27px;
    }
}

@media (max-width: 640px) {
    .col-md-6 {
        width: 100%;
        margin-bottom: 21px;
    }
}

.main_menu {
    background: var(--warm-white);
    box-shadow: 0 3px 13px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 19px 0;
    position: relative;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--deep-charcoal);
    font-weight: 650;
    font-size: 1.4rem;
}

.navbar-brand img {
    height: 104px;
    margin-right: 13px;
}

.brand_name {
    color: var(--ocean-blue);
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.hamburger {
    width: 32px;
    height: 3px;
    background: var(--deep-charcoal);
    position: relative;
    transition: all 0.31s cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 32px;
    height: 3px;
    background: var(--deep-charcoal);
    transition: all 0.31s cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger:before {
    top: -9px;
}

.hamburger:after {
    top: 9px;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 34px;
    margin: 0;
    padding: 0;
}

.nav-item {
    list-style: none;
}

.nav-link {
    color: var(--deep-charcoal);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 450;
    transition: color 0.27s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--ocean-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sunset-orange);
    transition: width 0.29s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover::after {
    width: 100%;
}

@media screen and (max-width: 890px) {
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 17px;
        z-index: 2;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--warm-white);
        transition: all 0.33s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        padding-top: 87px;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 23px;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: inline-block;
        padding: 12px 23px;
        font-size: 1.2rem;
        color: var(--deep-charcoal);
    }

    .nav-toggle:checked ~ .nav-wrapper {
        left: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger {
        background: transparent;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:after {
        transform: rotate(-45deg);
        top: 0;
    }
}

.banner-area .banner-bg {
    width: 100%;
    height: 670px;
    background-color: #b5b5b5;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 13px;
}

.banner-area .banner-text {
    padding: 0 47% 0 7%;
}

.banner-area .banner-text h1 {
    color: var(--deep-charcoal);
    text-transform: uppercase;
    font-family: "Playfair Display", serif;
    font-size: 3.4rem;
    font-weight: 720;
    line-height: 1.23;
    margin-bottom: 23px;
}

.banner-area .banner-text h1 span {
    color: var(--sunset-orange);
}

.banner-area .banner-text p {
    color: var(--slate-gray);
    font-size: 1.15rem;
    font-weight: 380;
    margin-bottom: 34px;
}

.py-3 {
    padding: 23px 0;
}

.secondary-btn {
    color: var(--deep-charcoal);
    text-transform: uppercase;
    font-size: 0.93rem;
    font-weight: 580;
    display: inline-block;
    text-decoration: none;
    padding: 17px 34px;
    border: 2px solid var(--deep-charcoal);
    border-radius: 27px;
    transition: all 0.29s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.secondary-btn:hover {
    color: var(--warm-white);
    background: var(--ocean-blue);
    border-color: var(--ocean-blue);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .banner-area .banner-text {
        padding: 0 7%;
    }
    
    .banner-area .banner-bg {
        height: 520px;
    }

    .banner-area .banner-text h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 640px) {
    .banner-area .banner-text {
        padding: 47px 7%;
    }
    
    .banner-area .banner-bg {
        height: 370px;
        margin-bottom: 23px;
    }

    .banner-area .banner-text h1 {
        font-size: 2.3rem;
    }
}

.cards-area {
    padding: 127px 0;
}

.section-padding3 {
    padding-bottom: 149px;
}

.cards-title {
    margin-bottom: 47px;
    text-align: center;
}

.cards-title h2 {
    color: var(--deep-charcoal);
    font-family: "Playfair Display", serif;
    font-size: 2.7rem;
    font-weight: 630;
    margin-bottom: 19px;
}

.cards-tab {
    margin-bottom: 47px;
    text-align: center;
}

.nav-tabs {
    border-bottom: none;
    display: flex;
    justify-content: center;
    gap: 47px;
}

.nav-tabs .nav-item {
    margin: 0;
}

.nav-tabs .nav-link {
    border: none;
    padding: 13px 27px;
    font-size: 1.08rem;
    font-weight: 520;
    color: var(--slate-gray);
    background: none;
    border-radius: 23px;
    transition: all 0.27s ease;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
    color: var(--sunset-orange);
    background: rgba(249, 115, 22, 0.08);
}

.single-card {
    padding: 47px 54px;
    background: var(--soft-cream);
    border-radius: 17px;
    transition: all 0.31s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(100, 116, 139, 0.12);
}

.single-card:hover {
    background: var(--warm-white);
    box-shadow: 0 13px 27px rgba(0,0,0,0.11);
    transform: translateY(-3px);
}

.single-card .card-text h4 {
    color: var(--deep-charcoal);
    font-family: "Playfair Display", serif;
    text-transform: capitalize;
    font-size: 1.4rem;
    font-weight: 630;
    margin-bottom: 23px;
}

.single-card .card-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-card .card-text ul li h5 {
    color: var(--slate-gray);
    text-transform: capitalize;
    font-size: 1.02rem;
    font-weight: 420;
    margin-bottom: 0;
}

.single-card .card-img img {
    width: 170px;
    height: 120px;
    object-fit: cover;
    border-radius: 11px;
}

.single-card .card-btn {
    text-align: center;
}

.third-btn {
    color: var(--warm-white) !important;
    background: var(--sunset-orange);
    text-transform: uppercase;
    font-size: 0.89rem;
    font-weight: 590;
    display: inline-block;
    padding: 11px 23px !important;
    border-radius: 19px;
    transition: all 0.29s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    margin-bottom: 13px;
    margin-right: 7px;
}

.third-btn:hover {
    background: var(--deep-charcoal);
    text-decoration: none;
    transform: translateY(-1px);
}

.card-btn1 { background: var(--ocean-blue) !important; }
.card-btn2 { background: var(--crimson-red) !important; }
.card-btn3 { background: var(--forest-green) !important; }
.card-btn4 { background: var(--accent-purple) !important; }

.template-btn {
    color: var(--warm-white) !important;
    background: var(--sunset-orange);
    text-transform: uppercase;
    font-size: 0.93rem;
    font-weight: 590;
    display: inline-block;
    padding: 17px 34px !important;
    border-radius: 27px;
    transition: all 0.31s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
}

.template-btn:hover {
    background: var(--deep-charcoal);
    text-decoration: none;
    transform: translateY(-2px);
}

.mt-4 { margin-top: 1.7rem; }
.mt-5 { margin-top: 3.4rem; }
.mb-3 { margin-bottom: 1.2rem; }
.mb-4 { margin-bottom: 1.7rem; }
.align-self-center { align-self: center; }
.d-lg-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.text-center { text-align: center; }

@media (max-width: 1024px) {
    .single-card {
        padding: 34px 27px;
        display: block !important;
    }
    
    .single-card .card-img {
        margin: 27px 0;
        text-align: center;
    }
    
    .single-card .card-btn {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .nav-tabs {
        flex-wrap: wrap;
        gap: 19px;
    }
    
    .cards-tab {
        text-align: left;
    }
    
    .nav-tabs .nav-link {
        padding: 9px 17px;
        font-size: 0.95rem;
    }
}

.bg-lighter {
    background-color: #f1f5f9;
}

.section-spacing-90-0 {
    padding: 97px 0;
}

.choose-thumbnail {
    position: relative;
    z-index: 1;
}

.choose-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 590px;
    background-size: cover;
    background-position: center;
    border-radius: 13px;
}

.mt-35 { margin-top: 37px; }
.mb-85 { margin-bottom: 89px; }

.section-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    font-weight: 630;
    color: var(--deep-charcoal);
    margin-bottom: 19px;
}

.section-header p {
    font-size: 1.18rem;
    color: var(--slate-gray);
    line-height: 1.67;
}

.choose-content ul {
    list-style: none;
    padding: 0;
}

.choose-content ul li {
    font-size: 1.08rem;
    color: var(--deep-charcoal);
    margin-bottom: 17px;
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 27px;
}

.choose-content ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--forest-green);
    font-weight: 650;
    font-size: 1.1rem;
}

.choose-content ul li:last-child {
    margin-bottom: 0;
}

.features-wrap-container {
    padding: 157px 0 127px 0;
    background: var(--soft-cream);
    position: relative;
    z-index: 1;
}

.features-wrap-container2 .feature-service-item {
    border: 2px solid #d1d5db;
    border-radius: 13px;
    overflow: hidden;
}

.feature-service-item {
    margin-bottom: 34px;
    padding: 67px 37px;
    transition: all 0.37s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
}

.features-wrap-container2 .feature-service-item h3 {
    font-size: 1.4rem;
    color: var(--deep-charcoal);
    font-weight: 580;
    margin-top: 43px;
    margin-bottom: 23px;
    transition: all 0.37s ease;
}

.features-wrap-container2 .feature-service-item p {
    font-size: 1.04rem;
    line-height: 1.71;
    color: var(--slate-gray);
    margin-bottom: 0;
    transition: all 0.37s ease;
}

.features-wrap-container2 .feature-service-item img {
    width: 170px;
    height: 120px;
    object-fit: cover;
    border-radius: 9px;
    transition: all 0.37s ease;
}

.features-wrap-container2 .feature-service-item:hover {
    background: var(--ocean-blue);
    border-color: var(--ocean-blue);
    transform: translateY(-7px);
}

.features-wrap-container2 .feature-service-item:hover h3 {
    color: var(--warm-white);
}

.features-wrap-container2 .feature-service-item:hover p {
    color: var(--warm-white);
}

.features-wrap-container2 .feature-service-item:hover img {
    filter: brightness(1.1) contrast(1.05);
}

.site-section {
    padding: 2.7em 0;
}

@media (min-width: 890px) {
    .site-section {
        padding: 5.4em 0;
    }
}

.text-image-section {
    background-color: var(--warm-white);
}

.align-items-center {
    align-items: center !important;
}

.text-black {
    color: var(--deep-charcoal) !important;
}

h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.6rem;
    font-weight: 430;
    line-height: 1.27;
    margin-top: 0;
    margin-bottom: 0.7rem;
}

@media (max-width: 890px) {
    h2 {
        font-size: 2.1rem;
    }
}

.lead {
    font-size: 1.3rem;
    font-weight: 320;
    color: var(--slate-gray);
    line-height: 1.63;
}

p {
    margin-top: 0;
    margin-bottom: 1.1rem;
    line-height: 1.73;
    color: var(--slate-gray);
    font-size: 1.07rem;
}

@media (max-width: 890px) {
    p {
        font-size: 1.02rem;
    }
    
    .lead {
        font-size: 1.15rem;
    }
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 13px !important;
}

.btn {
    display: inline-block;
    font-weight: 430;
    color: var(--deep-charcoal);
    text-align: center;
    vertical-align: middle;
    background-color: transparent;
    border: 2px solid transparent;
    padding: 0.6rem 1.7rem;
    font-size: 1.02rem;
    line-height: 1.53;
    border-radius: 23px;
    transition: all 0.29s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--ocean-blue);
    border-color: var(--ocean-blue);
    color: var(--warm-white);
}

.btn-primary:hover {
    background: #1e40af;
    border-color: #1e40af;
    color: var(--warm-white);
}

@media (max-width: 890px) {
    .col-md-6 {
        margin-bottom: 2.3rem;
    }
    
    .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .text-image-section {
        text-align: center;
    }
}

.text-image-section img {
    transition: transform 0.33s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.text-image-section:hover img {
    transform: scale(1.03);
}

.site-footer {
    padding: 4.7em 0;
    background: var(--deep-charcoal);
}

@media (min-width: 890px) {
    .site-footer {
        padding: 8.7em 0;
    }
}

.site-footer .border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.site-footer p {
    color: var(--warm-white);
    line-height: 1.67;
}

.site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5 {
    color: var(--warm-white);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.73);
    text-decoration: none;
    transition: color 0.27s ease;
}

.site-footer a:hover {
    color: var(--warm-white);
}

.site-footer ul li {
    margin-bottom: 13px;
}

.site-footer .footer-heading {
    font-size: 1.1rem;
    color: var(--warm-white);
    font-weight: 580;
    margin-bottom: 23px;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.ml-auto {
    margin-left: auto;
}

.pt-5 {
    padding-top: 3.4rem !important;
}

.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.tab-pane {
    display: none;
}

.tab-pane.show.active {
    display: block;
}

.games-catalog-section {
    padding: 97px 0;
    background: var(--warm-white);
}

.games-section-header {
    margin-bottom: 67px;
}

.games-section-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.8rem;
    font-weight: 640;
    color: var(--deep-charcoal);
    margin-bottom: 19px;
}

.games-section-header p {
    font-size: 1.19rem;
    color: var(--slate-gray);
    max-width: 620px;
    margin: 0 auto;
}

.games-grid {
    margin-bottom: 47px;
}

.game-card {
    background: var(--warm-white);
    border-radius: 19px;
    overflow: hidden;
    box-shadow: 0 7px 23px rgba(0,0,0,0.09);
    transition: all 0.37s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 34px;
    border: 1px solid rgba(100, 116, 139, 0.08);
}

.game-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 17px 43px rgba(0,0,0,0.13);
}

.game-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.39s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.game-card:hover .game-image img {
    transform: scale(1.07);
}

.game-content {
    padding: 29px 27px;
}

.game-content h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.47rem;
    font-weight: 620;
    color: var(--deep-charcoal);
    margin-bottom: 17px;
    line-height: 1.31;
}

.game-content p {
    font-size: 1.04rem;
    color: var(--slate-gray);
    line-height: 1.69;
    margin-bottom: 23px;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 27px;
}

.tag {
    background: rgba(30, 58, 138, 0.11);
    color: var(--ocean-blue);
    padding: 7px 13px;
    border-radius: 17px;
    font-size: 0.87rem;
    font-weight: 520;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.27s ease;
}

.tag:hover {
    background: var(--ocean-blue);
    color: var(--warm-white);
    transform: translateY(-1px);
}

.game-actions {
    text-align: center;
}

.games-cta {
    margin-top: 47px;
}

@media (max-width: 1024px) {
    .games-section-header h2 {
        font-size: 2.3rem;
    }
    
    .game-content {
        padding: 23px 21px;
    }
}

@media (max-width: 890px) {
    .games-catalog-section {
        padding: 67px 0;
    }
    
    .games-section-header {
        margin-bottom: 47px;
    }
    
    .games-section-header h2 {
        font-size: 2.1rem;
    }
    
    .games-section-header p {
        font-size: 1.09rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 17px;
    }
    
    .container-fluid {
        padding: 0 17px;
    }
    
    .features-wrap-container {
        padding: 87px 0 67px 0;
    }
    
    .feature-service-item {
        padding: 47px 27px;
    }
    
    .games-catalog-section {
        padding: 47px 0;
    }
    
    .games-section-header h2 {
        font-size: 1.9rem;
    }
    
    .game-image {
        height: 190px;
    }
    
    .game-content h3 {
        font-size: 1.3rem;
    }
    
    .game-content p {
        font-size: 0.98rem;
    }
    
    .tag {
        font-size: 0.82rem;
        padding: 5px 11px;
    }
}

.contact-form-wrap {
    background: var(--warm-white);
    padding: 47px;
    border-radius: 17px;
    box-shadow: 0 11px 31px rgba(0,0,0,0.07);
    border: 1px solid rgba(100, 116, 139, 0.09);
}

.contact-form .form-group {
    margin-bottom: 27px;
}

.contact-form label {
    font-weight: 520;
    color: var(--deep-charcoal);
    margin-bottom: 9px;
    display: block;
    font-size: 1.02rem;
}

.contact-form .form-control {
    width: 100%;
    padding: 17px 19px;
    border: 2px solid rgba(100, 116, 139, 0.19);
    border-radius: 11px;
    font-size: 1.04rem;
    color: var(--deep-charcoal);
    background: var(--warm-white);
    transition: all 0.29s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: inherit;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--ocean-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.08);
}

.contact-form .form-control:hover {
    border-color: rgba(100, 116, 139, 0.31);
}

.contact-form select.form-control {
    cursor: pointer;
}

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

.btn-lg {
    padding: 17px 37px;
    font-size: 1.08rem;
}

.subtitle-39293 {
    color: var(--sunset-orange);
    font-size: 0.94rem;
    font-weight: 590;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    display: block;
    margin-bottom: 13px;
}

.serif {
    font-family: "Playfair Display", serif;
}

@media (max-width: 890px) {
    .contact-form-wrap {
        padding: 31px 23px;
    }
}

@media (max-width: 640px) {
    .contact-form .form-control {
        padding: 13px 15px;
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 15px 29px;
        font-size: 1.02rem;
    }
}

.contact-hero-section {
    background: linear-gradient(137deg, var(--ocean-blue) 0%, var(--accent-purple) 100%);
    padding: 127px 0 87px 0;
    color: var(--warm-white);
    position: relative;
    overflow: hidden;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../canvas/PlayStation_5_console_professional_photography_1.webp') center/cover;
    opacity: 0.13;
    z-index: 0;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
}

.contact-hero-content h1 {
    font-size: 3.2rem;
    font-weight: 680;
    margin-bottom: 19px;
    color: var(--warm-white);
}

.contact-hero-content p {
    font-size: 1.23rem;
    opacity: 0.91;
    max-width: 590px;
    margin: 0 auto;
}

.contact-form-section {
    padding: 97px 0;
    background: var(--soft-cream);
}

.premium-contact-form {
    background: var(--warm-white);
    border-radius: 23px;
    padding: 57px 47px;
    box-shadow: 0 19px 47px rgba(0,0,0,0.09);
    border: 1px solid rgba(100, 116, 139, 0.06);
    position: relative;
}

.form-header {
    text-align: center;
    margin-bottom: 47px;
}

.form-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.3rem;
    font-weight: 620;
    color: var(--deep-charcoal);
    margin-bottom: 13px;
}

.form-header p {
    color: var(--slate-gray);
    font-size: 1.07rem;
}

.form-row {
    display: flex;
    gap: 23px;
    margin-bottom: 31px;
}

.form-group.full-width {
    flex: 1;
}

.form-group.half-width {
    flex: 0 0 calc(50% - 11.5px);
}

.form-group label {
    display: block;
    font-weight: 570;
    color: var(--deep-charcoal);
    margin-bottom: 11px;
    font-size: 1.03rem;
}

.input-wrapper,
.textarea-wrapper,
.select-wrapper {
    position: relative;
}

.premium-input,
.premium-textarea,
.premium-select {
    width: 100%;
    padding: 19px 21px;
    border: 2px solid rgba(100, 116, 139, 0.17);
    border-radius: 13px;
    font-size: 1.05rem;
    color: var(--deep-charcoal);
    background: var(--warm-white);
    font-family: inherit;
    transition: all 0.31s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1;
}

.premium-input:focus,
.premium-textarea:focus,
.premium-select:focus {
    outline: none;
    border-color: var(--ocean-blue);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.09);
    transform: translateY(-1px);
}

.premium-input:hover,
.premium-textarea:hover,
.premium-select:hover {
    border-color: rgba(100, 116, 139, 0.29);
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ocean-blue), var(--sunset-orange));
    transition: all 0.31s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 0 0 13px 13px;
    transform: translateX(-50%);
}

.premium-input:focus + .input-focus-line,
.premium-textarea:focus + .input-focus-line {
    width: 100%;
}

.premium-textarea {
    resize: vertical;
    min-height: 120px;
}

.select-wrapper {
    position: relative;
}

.premium-select {
    appearance: none;
    cursor: pointer;
    padding-right: 47px;
}

.select-arrow {
    position: absolute;
    right: 19px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid var(--slate-gray);
    pointer-events: none;
    transition: all 0.27s ease;
}

.premium-select:focus + .select-arrow {
    border-top-color: var(--ocean-blue);
    transform: translateY(-50%) rotate(180deg);
}

.form-actions {
    text-align: center;
    margin-top: 41px;
}

.premium-submit-btn {
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--accent-purple) 100%);
    border: none;
    padding: 19px 43px;
    border-radius: 31px;
    color: var(--warm-white);
    font-size: 1.09rem;
    font-weight: 580;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.33s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 7px 23px rgba(30, 58, 138, 0.23);
}

.premium-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 31px rgba(30, 58, 138, 0.31);
}

.premium-submit-btn:active {
    transform: translateY(-1px);
}

.btn-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.19), transparent);
    transition: left 0.67s ease;
}

.premium-submit-btn:hover .btn-effect {
    left: 100%;
}

.contact-info-section {
    padding: 87px 0;
    background: var(--warm-white);
}

.contact-info-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.4rem;
    font-weight: 610;
    color: var(--deep-charcoal);
    margin-bottom: 19px;
}

.benefit-item {
    margin-bottom: 27px;
}

.benefit-item h4 {
    font-size: 1.19rem;
    font-weight: 580;
    color: var(--deep-charcoal);
    margin-bottom: 9px;
}

.benefit-item p {
    color: var(--slate-gray);
    font-size: 1.02rem;
    margin: 0;
}

.contact-image {
    position: relative;
}

.contact-image::before {
    content: '';
    position: absolute;
    top: -13px;
    left: -13px;
    right: 13px;
    bottom: 13px;
    background: linear-gradient(135deg, var(--ocean-blue), var(--sunset-orange));
    border-radius: 17px;
    z-index: 0;
}

.contact-image img {
    position: relative;
    z-index: 1;
}

.thankyou-section {
    padding: 147px 0;
    background: linear-gradient(135deg, var(--soft-cream) 0%, var(--warm-white) 100%);
    text-align: center;
}

.thankyou-content {
    max-width: 620px;
    margin: 0 auto;
}

.success-icon {
    width: 87px;
    height: 87px;
    background: linear-gradient(135deg, var(--forest-green), var(--golden-yellow));
    border-radius: 50%;
    margin: 0 auto 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: successPulse 2s infinite;
}

.check-mark {
    width: 23px;
    height: 41px;
    border: 4px solid var(--warm-white);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    margin-top: -7px;
    margin-left: 7px;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.07); }
}

.thankyou-content h1 {
    font-family: "Playfair Display", serif;
    font-size: 2.8rem;
    font-weight: 630;
    color: var(--deep-charcoal);
    margin-bottom: 19px;
}

.thankyou-actions {
    margin-top: 41px;
    display: flex;
    gap: 19px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--ocean-blue);
    color: var(--ocean-blue);
}

.btn-secondary:hover {
    background: var(--ocean-blue);
    color: var(--warm-white);
}

.legal-page-section {
    padding: 97px 0;
    background: var(--warm-white);
}

.legal-content {
    background: var(--soft-cream);
    padding: 57px 47px;
    border-radius: 17px;
    box-shadow: 0 11px 31px rgba(0,0,0,0.07);
}

.legal-header {
    text-align: center;
    margin-bottom: 47px;
    padding-bottom: 31px;
    border-bottom: 2px solid rgba(100, 116, 139, 0.13);
}

.legal-header h1 {
    font-size: 2.7rem;
    font-weight: 640;
    color: var(--deep-charcoal);
    margin-bottom: 17px;
}

.legal-header .lead {
    color: var(--slate-gray);
    font-size: 1.19rem;
    max-width: 540px;
    margin: 0 auto;
}

.terms-content h2,
.privacy-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.67rem;
    font-weight: 590;
    color: var(--deep-charcoal);
    margin-top: 37px;
    margin-bottom: 17px;
}

.terms-content p,
.privacy-content p {
    font-size: 1.06rem;
    line-height: 1.71;
    color: var(--slate-gray);
    margin-bottom: 23px;
    text-align: justify;
}

.legal-footer {
    margin-top: 47px;
    padding-top: 31px;
    border-top: 2px solid rgba(100, 116, 139, 0.13);
    text-align: center;
}

.legal-footer p {
    color: var(--deep-charcoal);
    font-weight: 520;
    margin-bottom: 27px;
}

.legal-actions {
    display: flex;
    gap: 19px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .contact-hero-content h1 {
        font-size: 2.7rem;
    }
    
    .premium-contact-form {
        padding: 41px 31px;
    }
}

@media (max-width: 890px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half-width {
        flex: 1;
    }
    
    .contact-hero-section {
        padding: 87px 0 67px 0;
    }
    
    .contact-hero-content h1 {
        font-size: 2.3rem;
    }
    
    .contact-form-section,
    .contact-info-section,
    .thankyou-section,
    .legal-page-section {
        padding: 67px 0;
    }
}

@media (max-width: 640px) {
    .premium-contact-form {
        padding: 31px 21px;
    }
    
    .form-header h2 {
        font-size: 1.9rem;
    }
    
    .premium-input,
    .premium-textarea,
    .premium-select {
        padding: 15px 17px;
        font-size: 1.02rem;
    }
    
    .premium-submit-btn {
        padding: 17px 31px;
        font-size: 1.02rem;
    }
    
    .thankyou-actions,
    .legal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-content {
        padding: 37px 27px;
    }
    
    .legal-header h1 {
        font-size: 2.1rem;
    }
}