/*
Theme Name: Paramaya Agrapana
Theme URI: https://paramaya-agrapana.com/
Author: Agung Mubarok
Description: Theme WordPress landing page for Paramaya Agrapana Indonesia.
Version: 1.0.0
Text Domain: paramaya
*/

:root {
    --color-orange: #f26a21;
    --color-orange-deep: #dd5815;
    --color-navy: #081a33;
    --color-navy-soft: #102846;
    --color-ink: #102037;
    --color-muted: #5c6b7f;
    --color-border: #e5ebf2;
    --color-cream: #f7f9fc;
    --color-white: #ffffff;
    --shadow-large: 0 28px 80px rgba(7, 24, 45, 0.18);
    --container-width: 1180px;
    --header-height: 92px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--color-ink);
    background: var(--color-white);
    line-height: 1.65;
    padding-top: var(--header-height);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

body.admin-bar {
    padding-top: calc(var(--header-height) + 32px);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

input,
textarea {
    border: 0;
    background: transparent;
}

section[id],
footer[id] {
    scroll-margin-top: calc(var(--header-height) + 24px);
}

body.admin-bar section[id],
body.admin-bar footer[id] {
    scroll-margin-top: calc(var(--header-height) + 56px);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.container {
    width: min(var(--container-width), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(16, 32, 55, 0.06);
    box-shadow: 0 10px 28px rgba(12, 25, 44, 0.08);
    backdrop-filter: blur(16px);
}

.admin-bar .site-header {
    top: 32px;
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-branding {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    min-width: 0;
    color: var(--color-ink);
}

.site-branding__mark {
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;
}

.site-branding__mark span {
    display: block;
    width: 10px;
    background: var(--color-orange);
    border-radius: 3px 3px 0 0;
}

.site-branding__mark span:nth-child(1) {
    height: 38px;
}

.site-branding__mark span:nth-child(2) {
    height: 52px;
}

.site-branding__mark span:nth-child(3) {
    height: 28px;
}

.site-branding__text {
    display: flex;
    flex-direction: column;
}

.site-branding__text strong {
    display: block;
    font-size: 12px;
    line-height: 1.04;
    letter-spacing: 0.12em;
}

.site-branding__logo-image {
    width: auto;
    max-width: 260px;
    max-height: 58px;
}

.site-branding--footer {
    color: var(--color-white);
}

.site-branding--footer .site-branding__logo-image {
    max-height: 64px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.main-nav .menu,
.main-nav .menu--fallback {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.main-nav li {
    margin: 0;
}

.main-nav a,
.main-nav .menu--fallback a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 0;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.25s ease;
}

.main-nav a::after,
.main-nav .menu--fallback a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--color-orange);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a:not([data-scroll-target]),
.main-nav .current-menu-ancestor > a:not([data-scroll-target]),
.main-nav a.is-active,
.main-nav .menu--fallback a.is-active {
    color: var(--color-orange);
}

.main-nav a:hover::after,
.main-nav .current-menu-item > a:not([data-scroll-target])::after,
.main-nav .current-menu-ancestor > a:not([data-scroll-target])::after,
.main-nav a.is-active::after,
.main-nav .menu--fallback a.is-active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 15px 24px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn--small {
    padding: 14px 22px;
    font-size: 13px;
}

.btn--primary {
    color: var(--color-white);
    background: var(--color-orange);
    box-shadow: 0 14px 30px rgba(242, 106, 33, 0.25);
}

.btn--primary:hover {
    background: var(--color-orange-deep);
}

.btn--outline {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.45);
    background: transparent;
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-white);
}

.btn--ghost {
    color: var(--color-orange);
    background: transparent;
    border-color: rgba(242, 106, 33, 0.38);
}

.btn--ghost:hover {
    color: var(--color-white);
    background: var(--color-orange);
    border-color: var(--color-orange);
}

.btn--block {
    width: 100%;
}

.btn__icon {
    font-size: 12px;
}

.menu-toggle {
    display: none;
    position: relative;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(16, 32, 55, 0.12);
    border-radius: 14px;
    background: var(--color-white);
    cursor: pointer;
    flex-shrink: 0;
}

.menu-toggle__line {
    position: absolute;
    left: 14px;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle__line--top {
    top: 18px;
}

.menu-toggle__line--middle {
    top: 25px;
}

.menu-toggle__line--bottom {
    top: 32px;
}

.menu-toggle.is-open .menu-toggle__line--top {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__line--middle {
    opacity: 0;
}

.menu-toggle.is-open .menu-toggle__line--bottom {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-panel {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    will-change: opacity, transform;
    border-top: 1px solid rgba(16, 32, 55, 0.06);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 40px rgba(12, 25, 44, 0.12);
    transition:
        opacity 0.22s ease,
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.32s;
}

.mobile-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s, 0s, 0s;
}

.mobile-panel__inner {
    padding: 20px 0 24px;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.18s ease,
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-panel.is-open .mobile-panel__inner {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.06s;
}

body.admin-bar .mobile-panel {
    top: calc(var(--header-height) + 32px);
}

body.admin-bar .mobile-panel__inner {
    max-height: calc(100vh - var(--header-height) - 32px);
}

.mobile-nav .menu,
.mobile-nav .menu--fallback {
    list-style: none;
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0 0 20px;
}

.mobile-nav a,
.mobile-nav .menu--fallback a {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--color-cream);
    color: var(--color-ink);
    font-weight: 700;
}

.mobile-nav a.is-active,
.mobile-nav .current-menu-item > a:not([data-scroll-target]),
.mobile-nav .current-menu-ancestor > a:not([data-scroll-target]),
.mobile-nav .menu--fallback a.is-active {
    color: var(--color-orange);
    background: rgba(242, 106, 33, 0.12);
}

.section {
    padding: 110px 0;
}

.section-label {
    display: inline-block;
    margin: 0 0 18px;
    color: var(--color-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-label::before {
    display: none;
}

.section-label--with-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-orange)!important;
}

.section-label--light {
    color: #f6b393;
}

.section-title {
    margin: 0 0 20px;
    color: var(--color-ink);
    font-size: clamp(2.4rem, 5vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.section-title--light {
    color: var(--color-white);
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
}

.section-accent {
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--color-orange);
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
    overflow: hidden;
    background: var(--color-navy);
}

.hero__media,
.site-footer__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__media img,
.site-footer__media img {
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 18, 38, 0.78) 0%, rgba(7, 18, 38, 0.45) 54%, rgba(7, 18, 38, 0.72) 100%);
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.7fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    padding: 56px 0 72px;
}

.hero__content {
    max-width: 680px;
    color: var(--color-white);
}

.hero__content h1 {
    margin: 0;
    font-size: clamp(3.2rem, 8vw, 6.1rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.hero__content h1 span {
    color: var(--color-orange);
}

.hero__line {
    width: 58px;
    height: 3px;
    margin: 28px 0 24px;
    border-radius: 999px;
    background: var(--color-orange);
}

.hero__summary {
    max-width: 540px;
    margin: 0 0 36px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero__actions .btn {
    min-width: 190px;
}

.hero__stats {
    justify-self: end;
    width: min(100%, 320px);
    padding: 18px 0;
    color: var(--color-white);
    background: rgba(16, 32, 55, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-large);
}

.hero__stats-list {
    display: grid;
}

.hero__stats-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: center;
    padding: 20px 24px;
}

.hero__stats-item + .hero__stats-item {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__stats-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(242, 106, 33, 0.14);
    color: var(--color-orange);
    font-size: 21px;
}

.hero__stats-value {
    margin: 0;
    font-size: 1.85rem;
    line-height: 1;
    font-weight: 800;
}

.hero__stats-label {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.hero__stats-label--large {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
}

.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: clamp(44px, 6vw, 84px);
    align-items: center;
}

.about__visual {
    position: relative;
    padding: 14px 54px 28px 24px;
}

.about__outline {
    position: absolute;
    top: 64px;
    right: -12px;
    bottom: 64px;
    width: 96px;
    border: 1px solid rgba(242, 106, 33, 0.22);
    border-left: 0;
    border-radius: 0 30px 30px 0;
}

.about__dots {
    position: absolute;
    left: -12px;
    bottom: 22px;
    top: auto;
    display: grid;
    gap: 8px;
}

.about__dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #cfd7e3;
}

.about__figure {
    position: relative;
    width: min(100%, 560px);
    aspect-ratio: 0.84;
    min-height: 0;
    overflow: hidden;
    border-radius: 20px 20px 20px 20px;
    background: #d7dee6;
    box-shadow: var(--shadow-large);
}

.about__image {
    position: absolute;
    inset: 0;
}

.about__image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about__corner {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: 54px;
    height: 54px;
    background: linear-gradient(145deg, #ff7d36 0%, var(--color-orange) 72%);
    border-radius: 0 24px 0 0;
    overflow: hidden;
}

.about__corner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, rgba(6, 14, 28, 0.22) 0%, rgba(6, 14, 28, 0.08) 100%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.about__content {
    padding-top: 12px;
}

.about__content .section-title {
    max-width: 580px;
    font-size: clamp(2.7rem, 5vw, 4rem);
}

.about__content p {
    max-width: 620px;
    margin: 0 0 24px;
    color: #617086;
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    line-height: 1.9;
}

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

.feature-card {
    padding: 22px 14px 20px;
    text-align: center;
    background: var(--color-white);
    border: 1px solid #e8edf4;
    border-radius: 16px;
    box-shadow: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: #f1d2be;
    box-shadow: 0 16px 32px rgba(15, 34, 58, 0.08);
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: #fff3ec;
    color: var(--color-orange);
    font-size: 20px;
}

.feature-card h3 {
    margin: 0;
    color: #182740;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.section--services {
    position: relative;
    color: var(--color-white);
    background: linear-gradient(180deg, #081a33 0%, #0b2342 100%);
    overflow: hidden;
}

.section--services::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 56px);
    opacity: 0.14;
    pointer-events: none;
}

.section--services .container {
    position: relative;
    z-index: 1;
}

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

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    background: rgba(18, 36, 60, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(242, 106, 33, 0.42);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.service-card__media {
    position: relative;
}

.service-card__media img {
    height: 240px;
    object-fit: cover;
}

.service-card__media video {
    height: 240px!important;
    object-fit: cover;
    width: 100%;
    display: block;
    border-radius: inherit;
}

.service-card__badge {
    position: absolute;
    left: 18px;
    bottom: -30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    color: var(--color-white);
    font-size: 28px;
    background: var(--color-orange);
    border: 6px solid #081a33;
    border-radius: 50%;
}

.service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 50px 24px 24px;
}

.service-card h3 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.2;
}

.service-card p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.75;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-orange);
    font-size: 16px;
    font-weight: 700;
}

.inline-link:hover {
    color: #ffb385;
}

.field-operations {
    padding: 0;
    color: var(--color-white);
    background: linear-gradient(180deg, #07172f 0%, #081b35 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.field-operations__layout {
    display: grid;
    grid-template-columns: minmax(340px, 0.82fr) 2.18fr;
    gap: 0;
    align-items: stretch;
    min-height: var(--field-gallery-height);
}

.field-operations__panel {
    position: relative;
    display: flex;
    align-items: stretch;
    clip-path: polygon(0 0, 89% 0, 100% 100%, 0 100%);
}

.field-operations__panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 48%);
    pointer-events: none;
}

.field-operations__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 340px;
    padding: 2rem 3rem 3rem;
}

.field-operations__content .section-title {
    max-width: 250px;
    margin-bottom: 10px;
    font-size: clamp(2rem, 2.5vw, 2.75rem);
    line-height: 1.02;
}

.field-operations__content p:last-of-type {
    max-width: 250px;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.58;
}

.field-operations__content .section-label {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.22em;
}

.field-operations__content .btn {
    min-height: 0;
    padding: 11px 16px;
    font-size: 12px;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(242, 106, 33, 0.2);
}

.field-operations__gallery {
    display: flex;
    gap: 0;
    align-items: stretch;
    min-width: 0;
    padding: 0 0 0 8px;
    overflow: hidden;
}

.field-operations__gallery-item {
    position: relative;
    flex: 1 1 0;
    min-height: 100%;
    margin-left: -16px;
    overflow: hidden;
    clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
    border-radius: 0;
    box-shadow: none;
}

.field-operations__gallery-item:first-child {
    margin-left: 0;
}

.field-operations__gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 10px;
    /* background: rgba(255, 255, 255, 0.9); */
    clip-path: polygon(100% 0, 26% 0, 0 100%, 74% 100%);
    z-index: 2;
}

.field-operations__gallery-item:first-child::before {
    display: none;
}

.field-operations__gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transform-origin: center;
}

.field-operations__gallery-item--1 img {
    object-position: 42% 56%;
}

.field-operations__gallery-item--2 img {
    object-position: 58% 74%;
}

.field-operations__gallery-item--3 img {
    object-position: 56% 58%;
}

.field-operations__gallery-item--4 img {
    object-position: 52% 55%;
}

.field-operations__gallery-item--5 img {
    object-position: 62% 52%;
}

.field-operations__gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 18, 38, 0.04) 0%, rgba(7, 18, 38, 0.2) 100%);
}

.section--experience {
    background: var(--color-white);
}

.section-heading--split {
    margin-bottom: 54px;
}

.timeline {
    overflow-x: visible;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.timeline::-webkit-scrollbar {
    display: none;
}

.timeline__track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: var(--timeline-track-gap);
    min-width: 0;
    padding-top: 10px;
}

.timeline__track::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(242, 106, 33, 0.4);
}

.timeline__item {
    position: relative;
    min-width: 0;
    text-align: center;
}

.timeline__year {
    margin: 0 0 44px;
    color: var(--color-orange);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.timeline__dot {
    position: absolute;
    top: 43px;
    left: 50%;
    z-index: 1;
    width: 18px;
    height: 18px;
    background: var(--color-white);
    border: 3px solid var(--color-orange);
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline__item.is-solid .timeline__dot {
    background: var(--color-orange);
    border-color: var(--color-white);
    box-shadow: 0 0 0 2px var(--color-orange);
}

.timeline__content {
    padding-top: 24px;
    text-align: left;
}

.timeline__content ul {
    margin: 0;
    padding-left: 15px;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.7;
}

.timeline__content li + li {
    margin-top: 10px;
}

.site-footer {
    position: relative;
    overflow: hidden;
    color: var(--color-white);
}

.site-footer__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 18, 38, 0.84) 0%, rgba(7, 18, 38, 0.72) 45%, rgba(7, 18, 38, 0.92) 100%);
}

.site-footer__inner {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.92fr) minmax(340px, 1.1fr);
    gap: 30px;
    align-items: center;
    padding: 88px 0 70px;
}

.contact-copy p:last-of-type {
    max-width: 360px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.12rem;
    line-height: 1.85;
}

.contact-details {
    align-self: center;
}

.contact-list {
    display: grid;
    gap: 22px;
}

.contact-list__item {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 18px;
    align-items: start;
}

.contact-list__icon {
    padding-top: 4px;
    color: var(--color-white);
    font-size: 22px;
}

.contact-list__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.75;
}

.contact-list__link {
    display: inline-block;
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.contact-list__link + .contact-list__link,
.contact-list__link + span,
.contact-list__text span + .contact-list__link,
.contact-list__text span + span {
    margin-top: 4px;
}

.contact-list__link:hover {
    color: #ffb385;
}

.form-message {
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 12px;
    font-weight: 600;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.form-message.is-hiding {
    opacity: 0;
    transform: translateY(-8px);
}

.form-message--success {
    background: rgba(20, 150, 70, 0.12);
    color: #0f6f33;
}

.form-message--error {
    background: rgba(242, 106, 33, 0.12);
    color: #a63f16;
}

.contact-card {
    padding: 26px;
    background: rgba(27, 34, 47, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    backdrop-filter: none;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26);
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form__status:empty {
    display: none;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 17px 18px;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(242, 106, 33, 0.65);
}

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

.contact-form .btn {
    min-height: 58px;
    border-radius: 4px;
    font-size: 18px;
}

.contact-form .btn[disabled] {
    cursor: wait;
    opacity: 0.78;
}

.site-footer__bottom {
    background: rgba(4, 12, 24, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__bottom-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    min-height: 94px;
}

.site-footer__copyright,
.site-footer__tagline {
    margin: 0;
    font-size: 13px;
}

.site-footer__copyright {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.site-footer__tagline {
    color: var(--color-orange);
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

@media (max-width: 1180px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .field-operations__gallery {
        padding-left: 6px;
    }

    .field-operations__content {
        padding-right: 24px;
    }

    .field-operations__content {
        max-width: 320px;
        padding-left: 24px;
    }

    .field-operations__gallery-item {
        min-height: 100%;
    }

    .timeline {
        overflow-x: auto;
    }

    .timeline__track {
        min-width: 980px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .contact-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 980px) {
    :root {
        --header-height: 84px;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .header-inner {
        gap: 16px;
    }

    .site-branding {
        flex: 1 1 auto;
        max-width: calc(100% - 68px);
    }

    .site-branding__text {
        display: none;
    }

    .site-branding__logo-image {
        max-width: min(56vw, 220px);
        max-height: 50px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .hero__grid,
    .about__grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        min-height: auto;
    }

    .hero__grid {
        padding: 48px 0 56px;
    }

    .hero__stats {
        justify-self: start;
        width: min(100%, 360px);
    }

    .about__visual {
        padding: 12px 12px 22px 18px;
    }

    .about__outline {
        right: 0;
        width: 72px;
        top: 78px;
        bottom: 90px;
    }

    .about__figure {
        width: 100%;
        aspect-ratio: 0.9;
    }

    .about__corner {
        width: 50px;
        height: 50px;
    }

    .field-operations__layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .field-operations__panel {
        clip-path: none;
    }

    .field-operations__content {
        width: min(440px, 100%);
        max-width: none;
        padding: 46px 20px 24px;
    }

    .field-operations__gallery {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        min-height: 0;
        height: auto;
        padding: 0 20px 32px;
    }

    .about__dots {
        left: -4px;
        bottom: 28px;
    }

    .field-operations__gallery-item,
    .field-operations__gallery-item:first-child,
    .field-operations__gallery-item:last-child {
        margin-left: 0;
        min-height: 220px;
        clip-path: none;
        border-radius: 18px;
    }

    .field-operations__gallery-item::before {
        display: none;
    }

    .field-operations__gallery-item img {
        width: 100%;
        margin-left: 0;
        transform: none;
        aspect-ratio: 1/1;
    }

    .contact-grid {
        gap: 24px;
        padding: 84px 0 56px;
    }

    .site-footer__bottom-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 20px 0;
    }

    .site-footer__tagline,
    .site-footer__copyright {
        text-align: center;
    }
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }

    body.admin-bar {
        padding-top: calc(var(--header-height) + 46px);
    }

    body.admin-bar .mobile-panel {
        top: calc(var(--header-height) + 46px);
    }

    body.admin-bar .mobile-panel__inner {
        max-height: calc(100vh - var(--header-height) - 46px);
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container-width), calc(100% - 28px));
    }

    .section {
        padding: 84px 0;
    }

    .menu-toggle {
        /* width: 48px;
        height: 48px; */
        border-radius: 12px;
    }

    .site-branding__logo-image {
        max-width: 200px;
        max-height: 50px;
    }

    .site-branding {
        gap: 10px;
        max-width: calc(100% - 56px);
    }

    .site-branding__text strong {
        font-size: 10px;
        letter-spacing: 0.1em;
    }

    .hero__content h1 {
        font-size: clamp(2.8rem, 15vw, 4.4rem);
    }

    .hero__summary {
        font-size: 16px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .service-grid,
    .feature-grid,
    .contact-form__row,
    .field-operations__gallery {
        grid-template-columns: 1fr;
    }

    .hero__actions .btn,
    .hero__stats {
        width: 100%;
    }

    .about__visual {
        padding: 0 0 20px 14px;
    }

    .about__outline {
        display: none;
    }

    .about__figure {
        aspect-ratio: 0.92;
        border-radius: 20px 20px 20px 20px;
    }

    .about__corner {
        width: 44px;
        height: 44px;
        border-radius: 0 18px 0 0;
    }

    .about__corner::after {
        width: 44px;
        height: 44px;
    }

    .field-operations__gallery-item,
    .field-operations__gallery-item:nth-child(2),
    .field-operations__gallery-item:nth-child(4) {
        min-height: 220px;
    }

    .field-operations__content {
        padding: 48px 14px 28px;
    }

    .field-operations__gallery {
        grid-template-columns: 1fr;
        padding: 0 14px 24px;
    }

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

    .contact-card {
        grid-column: auto;
    }

    .contact-card {
        padding: 18px;
    }
}