/* --- Reset & Variables --- */
@font-face {
    font-family: 'Orkney';
    src: url('Orkney_Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

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

html, body {
    margin: 0;
    padding: 0;
}

:root {
    --bg-body: #ffffff;
    --bg-section-alt: #f4f6f8;
    --bg-dark: #333333;
    --bg-accent: #eef2f5;
    
    --gray-light: #e0e0e0;
    --gray-medium: #bdbdbd;
    --gray-dark: #757575;
    
    --text-main: #333333;
    --text-sub: #777777;
    --text-white: #ffffff;
    
    --container-width: 1100px;
    --section-spacing: 100px;
}

body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    font-weight: 500;
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.6;
}

/* --- Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.img-placeholder {
    background-color: var(--gray-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.section-title {
    font-family: 'Orkney', "Helvetica Neue", Arial, sans-serif;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.sub-title {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 10px;
    display: block;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--gray-dark);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* --- Header --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

header.scrolled .logo img {
    filter: none;
}

header.scrolled .nav-btn span {
    background-color: white;
}

/* When past hero section (on white background) */
header.past-hero .logo img {
    filter: brightness(0);
}

header.past-hero .nav-btn span {
    background-color: var(--text-main);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
}


.logo img {
    height: 48px;
    width: auto;
    display: block;
}

/* Hamburger Menu */
.nav-btn {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

header.scrolled .nav-btn span {
    background-color: var(--text-main);
}

/* --- Hero (Parallax) --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    overflow: hidden;
    z-index: 1;
    margin-top: 0;
    padding-top: 0;
    background: transparent;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    will-change: transform;
    transform: scale(1.1);
    overflow: hidden;
}

/* オーバーレイパターン */
.video-overlay-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background-image: radial-gradient(rgba(0, 0, 0, 0.3) 1px, transparent 1px);
    background-size: 3px 3px;
    background-color: rgba(45, 95, 79, 0.1);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: contrast(1.05) brightness(0.9);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.hero::before {
    content: none;
}

.hero-content {
    text-align: left;
    position: absolute;
    bottom: 10%;
    left: 10%;
    z-index: 4;
    color: white;
}

.hero-title {
    font-family: 'Orkney', "Helvetica Neue", Arial, sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

/* --- Main Content Wrapper (covers parallax) --- */
.main-content {
    position: relative;
    z-index: 10;
    background-color: #ffffff;
}

/* --- About Us --- */
.about-section {
    margin-bottom: var(--section-spacing);
    position: relative;
    z-index: 10;
    background-color: #ffffff;
    padding-top: 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    aspect-ratio: 1 / 1;
    background-color: transparent;
    border-radius: 20px;
    position: relative;
    display: block; 
    overflow: hidden;
}

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

.about-visual::after {
    content: none; 
    display: none;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* --- Agency --- */
.agency-section {
    margin-bottom: var(--section-spacing);
    position: relative;
    z-index: 10;
    background-color: #ffffff;
}

.agency-card {
    background-color: var(--gray-light);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 60px;
    background-size: cover;
    background-position: center;
}

/* Service backgrounds */
.agency-card:nth-child(4) {
    background-image: linear-gradient(to right, rgba(45, 95, 79, 0.9) 0%, rgba(45, 95, 79, 0.7) 50%, rgba(45, 95, 79, 0.3) 100%), url('service01.jpg');
}

.agency-card:nth-child(5) {
    background-image: linear-gradient(to right, rgba(74, 125, 104, 0.9) 0%, rgba(74, 125, 104, 0.7) 50%, rgba(74, 125, 104, 0.3) 100%), url('service02.jpg');
}

.agency-card:nth-child(6) {
    background-image: linear-gradient(to right, rgba(93, 143, 122, 0.9) 0%, rgba(93, 143, 122, 0.7) 50%, rgba(93, 143, 122, 0.3) 100%), url('service03.jpg');
}

.agency-card:nth-child(7) {
    background-image: linear-gradient(to right, rgba(61, 111, 90, 0.9) 0%, rgba(61, 111, 90, 0.7) 50%, rgba(61, 111, 90, 0.3) 100%), url('service04.jpg');
}

.agency-card:nth-child(8) {
    background-image: linear-gradient(to right, rgba(45, 85, 68, 0.9) 0%, rgba(45, 85, 68, 0.7) 50%, rgba(45, 85, 68, 0.3) 100%), url('service05.jpg');
}

.agency-card:nth-child(9) {
    background-image: linear-gradient(to right, rgba(74, 130, 112, 0.9) 0%, rgba(74, 130, 112, 0.7) 50%, rgba(74, 130, 112, 0.3) 100%), url('service06.jpg');
}

.agency-card:nth-child(even) {
    background-color: var(--gray-medium);
}

.agency-content {
    max-width: 50%;
    z-index: 2;
}

.agency-content h3 {
    font-family: 'Orkney', "Helvetica Neue", Arial, sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-style: normal;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.agency-sub {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    opacity: 0.85;
    letter-spacing: 0.05em;
}

.agency-bg-mock {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: transparent;
}

/* --- Feature --- */
.feature-section {
    background-color: #2d5f4f;
    color: white;
    padding: 100px 0;
    border-radius: 0;
    margin-bottom: var(--section-spacing);
    text-align: center;
    position: relative;
    z-index: 10;
}

.feature-section .section-title, 
.feature-section .sub-title {
    color: white;
}

.feature-grid-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background-color: rgba(255,255,255,0.9);
    color: var(--text-main);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    min-height: 200px;
    position: relative;
}

.feature-card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.feature-connector {
    background-color: white;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-weight: bold;
}

.feature-grid-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Member --- */
.member-section {
    margin-bottom: var(--section-spacing);
    position: relative;
    z-index: 10;
    background-color: #ffffff;
}

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

.member-card .member-img {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: var(--gray-light);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
}

.member-card .member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.member-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.member-card p {
    font-size: 0.85rem;
    color: var(--text-sub);
}

/* --- Company Info --- */
.company-info-section {
    margin-bottom: 0;
    background-color: var(--bg-section-alt);
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.company-info-table {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 20px;
}

.company-info-table table {
    width: 100%;
    border-collapse: collapse;
}

.company-info-table tr {
    border-bottom: 1px solid var(--gray-light);
}

.company-info-table tr:last-child {
    border-bottom: none;
}

.company-info-table th {
    text-align: left;
    padding: 25px 30px 25px 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    width: 180px;
    min-width: 180px;
    vertical-align: top;
}

.company-info-table td {
    padding: 25px 0;
    color: var(--text-main);
    line-height: 1.8;
    font-size: 0.95rem;
}

.company-info-table td ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-info-table td ul li {
    margin-bottom: 8px;
}

/* --- Entry --- */
.entry-section {
    height: 400px;
    background-color: #4a7d68;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    z-index: 10;
}

.entry-section h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.entry-btn-circle {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

/* --- Footer --- */
footer {
    background-color: var(--bg-dark);
    color: var(--gray-medium);
    padding: 80px 0 40px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 48px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    font-family: 'Orkney', "Helvetica Neue", Arial, sans-serif;
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.copyright {
    text-align: right;
    font-size: 0.7rem;
    border-top: 1px solid #444;
    padding-top: 20px;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .about-grid, 
    .feature-grid-top, 
    .member-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-title { font-size: 2.5rem; }
    .agency-card { 
        padding: 30px; 
        height: auto; 
        flex-direction: column; 
        text-align: left;
        background-position: center;
    }
    .agency-content { max-width: 100%; margin-bottom: 20px; }
    .agency-bg-mock { position: relative; width: 100%; height: 200px; display: none; }
    
    .company-info-table {
        padding: 30px 20px;
    }
    
    .company-info-table th,
    .company-info-table td {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    
    .company-info-table th {
        padding-bottom: 5px;
        font-weight: 700;
    }
    
    .company-info-table td {
        padding-bottom: 20px;
    }
    
    header {
        padding: 15px 20px;
    }
    
    .hero-bg {
        background-attachment: scroll;
    }
}

/* -------------------------------------------
   SCROLL ANIMATION CSS
------------------------------------------- */
.js-fade {
    opacity: 0;
    transform: translateY(30px); /* 少し下から */
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.js-fade.scroll-in {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------
   NAVIGATION OVERLAY
------------------------------------------- */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2d5f4f;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.nav-overlay-header .logo img {
    height: 48px;
    filter: brightness(0) invert(1);
}

.nav-close {
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: relative;
}

.nav-close span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 0;
    transition: transform 0.3s ease;
}

.nav-close span:first-child {
    transform: rotate(45deg);
}

.nav-close span:last-child {
    transform: rotate(-45deg);
}

.nav-close:hover span {
    background-color: rgba(255,255,255,0.7);
}

.nav-overlay-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 60px 80px;
    min-height: calc(100vh - 120px);
    align-items: start;
}

.nav-left {
    padding-top: 40px;
}

.nav-tagline {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    line-height: 2;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 80px;
}

.nav-link {
    text-decoration: none;
    display: block;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link-sub {
    font-family: 'Orkney', "Helvetica Neue", Arial, sans-serif;
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.nav-link-title {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
}

/* -------------------------------------------
   CONTACT FORM
------------------------------------------- */
.contact-section {
    background-color: #2d5f4f;
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.contact-section .sub-title,
.contact-section .section-title {
    color: white;
}

.contact-intro {
    text-align: center;
    color: rgba(255,255,255,0.8);
    margin-bottom: 50px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-row {
    display: contents;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.required {
    color: #ff6b6b;
}

.radio-group {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    color: white;
    margin-bottom: 0;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: white;
    cursor: pointer;
}

.radio-label span {
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(255,255,255,0.95);
    color: var(--text-main);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    background-color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 50px;
    background-color: white;
    color: #2d5f4f;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
    background-color: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Mobile responsive for nav and contact */
@media (max-width: 768px) {
    .nav-overlay-content {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }
    
    .nav-left {
        display: none;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nav-overlay-header {
        padding: 15px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
        grid-template-columns: 1fr;
    }
    
    .form-row {
        display: contents;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
}

/* -------------------------------------------
   CONFIRM MODAL
------------------------------------------- */
.confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.confirm-modal.active {
    display: flex;
}

.confirm-modal-content {
    background-color: white;
    padding: 50px;
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.confirm-modal-content h3 {
    font-family: 'Orkney', "Helvetica Neue", Arial, sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #2d5f4f;
    text-align: center;
}

.confirm-intro {
    text-align: center;
    color: var(--text-sub);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.confirm-table {
    border-top: 1px solid #e0e0e0;
}

.confirm-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.confirm-label {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
}

.confirm-value {
    color: var(--text-main);
    white-space: pre-wrap;
    word-break: break-word;
}

.confirm-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn-back {
    padding: 18px 40px;
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    border-color: var(--text-main);
    background-color: #f5f5f5;
}

.confirm-modal .submit-btn {
    background-color: #2d5f4f;
    color: white;
}

.confirm-modal .submit-btn:hover {
    background-color: #1e4a3a;
}

/* Thank you page styles */
.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    background-color: #2d5f4f;
}

.thank-you-content {
    max-width: 600px;
}

.thank-you-content h2 {
    font-family: 'Orkney', "Helvetica Neue", Arial, sans-serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.thank-you-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    line-height: 1.8;
}

.thank-you-content .btn {
    background-color: white;
    color: #2d5f4f;
}

@media (max-width: 768px) {
    .confirm-modal-content {
        padding: 30px 20px;
    }
    
    .confirm-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .confirm-buttons {
        flex-direction: column;
    }
    
    .btn-back,
    .confirm-modal .submit-btn {
        width: 100%;
    }
}

/* -------------------------------------------
   WORKS SECTION
------------------------------------------- */
.works-section {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
    z-index: 10;
}

.works-intro {
    text-align: center;
    color: var(--text-sub);
    margin-bottom: 50px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.works-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.works-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.works-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: var(--gray-light);
}

.works-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.works-card:hover .works-img img {
    transform: scale(1.05);
}

.works-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(45, 95, 79, 0.7), rgba(45, 95, 79, 0.3));
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.works-card:hover .works-overlay {
    opacity: 1;
}

.works-category {
    font-family: 'Orkney', "Helvetica Neue", Arial, sans-serif;
    font-size: 0.8rem;
    color: white;
    background-color: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 20px;
    letter-spacing: 0.1em;
}

.works-info {
    padding: 25px;
}

.works-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.works-info p {
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.6;
}

.works-more {
    text-align: center;
    margin-top: 50px;
}

.works-more p {
    color: var(--text-sub);
    font-size: 0.95rem;
}

/* -------------------------------------------
   PORTFOLIO CTA SECTION
------------------------------------------- */
.portfolio-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2d5f4f 0%, #1e4a3a 100%);
    position: relative;
    z-index: 10;
}

.portfolio-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.portfolio-cta-text .sub-title,
.portfolio-cta-text .section-title {
    color: white;
    text-align: left;
}

.portfolio-cta-text .section-title {
    margin-bottom: 20px;
}

.portfolio-cta-text p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 30px;
}

.portfolio-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 0.95rem;
}

.benefit-icon {
    font-size: 1.3rem;
}

.portfolio-cta-form {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.portfolio-cta-form .form-group {
    margin-bottom: 20px;
}

.portfolio-cta-form label {
    display: block;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.portfolio-cta-form input {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-size: 1rem;
    background-color: rgba(255,255,255,0.95);
    color: var(--text-main);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-cta-form input:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.portfolio-cta-form input::placeholder {
    color: #999;
}

.portfolio-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 30px;
    background-color: white;
    color: #2d5f4f;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.portfolio-submit-btn:hover {
    background-color: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

.portfolio-submit-btn .btn-arrow {
    transition: transform 0.3s ease;
}

.portfolio-submit-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.form-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-align: center;
    margin-top: 15px;
}

@media (max-width: 1024px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .portfolio-cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .portfolio-cta-text .sub-title,
    .portfolio-cta-text .section-title {
        text-align: center;
    }
    
    .portfolio-cta-text p {
        text-align: center;
    }
    
    .portfolio-benefits {
        align-items: center;
    }
    
    .portfolio-cta-form {
        padding: 30px 20px;
    }
}