.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #fdfbf5 0%, #ffffff 55%, #faf7ed 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 64px;
    min-height: 660px;
    padding: 70px 0 86px;
}

.hero-content,
.hero-visual {
    position: relative;
    z-index: 2;
}


.hero h1 {
    margin-bottom: 20px;
    color: #41320d;
    font-size: clamp(42px, 5vw, 67px);
    line-height: 1.2;
    letter-spacing: -2px;
}

.hero h1 span {
    color: #cc9200;
}

.hero-content > p {
    max-width: 550px;
    color: #696250;
    font-size: 19px;
}

.hero-divider {
    width: 80%;
    margin: 30px 0;
    border-radius: 20px;
    border: 0;
    border-top: 3px solid #503b05;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 22px;
    color: #5b5036;
    font-size: 14px;
}

.trust-list span::first-letter {
    color: #cc9200;
}

.image-frame {
    overflow: hidden;
    min-height: 500px;
    border: 10px solid rgba(255, 255, 255, 0.75);
    border-radius: 100px 24px 100px 24px;
    box-shadow: 0 30px 70px rgba(93, 73, 23, 0.16);
}

.image-frame img {
    height: 500px;
    object-fit: cover;
    object-position: 56% center;
}


.intro-section {
    background: #ffffff;
}

.intro-panel {
    display: grid;
    grid-template-columns: 1.55fr 0.75fr;
    gap: 55px;
    padding: 58px;
    background: #fcfaf4;
    border: 1px solid #edeadb;
    border-radius: 30px;
}

.intro-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #cc9200;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.intro-copy h2 {
    margin-bottom: 26px;
    color: #41320d;
    font-size: clamp(30px, 4vw, 47px);
    line-height: 1.25;
}

.intro-copy h2 span {
    display: inline-block;
    color: #cc9200;
    font-size: clamp(13px, 3.6vw, 32px);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.intro-copy p {
    margin-top: 17px;
    color: #68614f;
    font-size: 17px;
    line-height: 1.9;
}

.office-info {
    align-self: stretch;
    padding: 34px;
    color: #ffffff;
    background: #624600;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(98, 70, 0, 0.15);
}

.experience-number {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.experience-number strong {
    font-size: 27px;
    line-height: 1.25;
}

.experience-number span {
    color: #e8e2cb;
    font-size: 15px;
}

.office-divider {
    height: 1px;
    margin: 25px 0;
    background: rgba(255, 255, 255, 0.18);
}

.office-info h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.office-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    color: #f0ebd6;
    font-size: 15px;
}

.address-box {
    margin-top: 28px;
    padding: 18px;
    color: #473812;
    background: #ffffff;
    border-radius: 15px;
}

.address-box strong {
    color: #cc9200;
    font-size: 13px;
}

.address-box p {
    margin-top: 6px;
    color: #767161;
    font-size: 14px;
    line-height: 1.7;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-heading h2 {
    color: #41320d;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.25;
}

.section-heading p {
    margin-top: 12px;
    color: #75705f;
    font-size: 18px;
}

.services {
    padding: 72px 30px 82px;
    background: #faf9f5;
    border-top: 1px solid #f1efe5;
    border-bottom: 1px solid #f1efe5;
}

.services-inner {
    width: 100%;
}

.service-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.service-row {
    display: flex;
    gap: 24px;
}

.service-card {
    --service-color: #cc9200;
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
    padding: 0 24px 23px;
    background: #ffffff;
    border: 1px solid #ebe8de;
    border-radius: 20px;
    box-shadow: 0 13px 28px rgba(85, 67, 20, 0.11);
    text-align: center;
    transition: flex-grow 850ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 750ms cubic-bezier(0.4, 0, 0.2, 1),
                opacity 650ms ease-in-out,
                border-color 550ms ease-in-out,
                box-shadow 650ms ease-in-out;
    will-change: flex-grow, transform;
}

.service-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: var(--service-color);
    content: "";
    z-index: 2;
}

.service-card:hover {
    flex-grow: 1.35;
    border-color: var(--service-color);
    box-shadow: 0 18px 38px rgba(85, 67, 20, 0.16);
    transform: translateY(-6px) scale(1.01);
    z-index: 3;
}

.service-row:hover .service-card:not(:hover) {
    flex-grow: 0.825;
    opacity: 0.82;
    transform: scale(0.975);
}

.service-row:first-child .service-card:nth-child(2) {
    --service-color: #b68b1d;
}

.service-row:first-child .service-card:nth-child(3) {
    --service-color: #b79e4b;
}

.service-row:last-child .service-card:nth-child(1) {
    --service-color: #b58303;
}

.service-row:last-child .service-card:nth-child(2) {
    --service-color: #948555;
}

.service-row:last-child .service-card:nth-child(3) {
    --service-color: #b38c29;
}

.service-image {
    width: calc(100% + 48px);
    height: 132px;
    margin: 0 -24px 21px;
    overflow: hidden;
    background: #f8f6ec;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-card h3 {
    margin-bottom: 12px;
    color: #433511;
    font-size: 20px;
    line-height: 1.45;
}

.service-card p {
    max-width: 250px;
    min-height: 0;
    margin-bottom: 0;
    color: #7b7666;
    font-size: 16px;
    line-height: 1.75;
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; }
    .intro-panel { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: repeat(2, 1fr); display: grid; }
    .service-row { display: contents; }
    .service-card,
    .service-row:hover .service-card:not(:hover),
    .service-card:hover { opacity: 1; transform: none; }
}

.service-card-link {
    color: inherit;
}

@media (max-width: 620px) {
    .hero-grid { min-height: auto; padding: 48px 0 65px; }
    .hero h1 { font-size: 41px; }
    .intro-section { padding: 65px 0; }
    .intro-panel { gap: 32px; padding: 32px 24px; border-radius: 22px; }
    .intro-copy h2 { font-size: 33px; }
    .intro-copy p { font-size: 16px; }
    .services { padding: 62px 14px 70px; }
    .service-image { height: 125px; }
    .image-frame,
    .image-frame img { min-height: 390px; height: 390px; }
    .service-grid { grid-template-columns: 1fr; }
}
