/* ============================================================
   B2 SEA SUPPLY  — Landing Page
   Palette: Deep Navy · Ocean Blue · Gold Accent · White
   ============================================================ */

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

:root {
    --navy:       #0b1f3a;
    --navy-mid:   #0e2a4d;
    --navy-light: #122f56;
    --blue:       #1a5276;
    --accent:     #1e8bc3;
    --accent-dark:#1a7cb5;
    --gold:       #c9a84c;
    --gold-light: #e2c97a;
    --white:      #ffffff;
    --gray:       #f4f6f9;
    --gray-mid:   #eaecf0;
    --text:       #1a2332;
    --text-mid:   #374151;
    --muted:      #64748b;
    --border:     #e2e8f0;
    --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius:     8px;
    --radius-lg:  14px;
    --shadow-sm:  0 2px 12px rgba(11, 31, 58, 0.06);
    --shadow:     0 4px 24px rgba(11, 31, 58, 0.09);
    --shadow-md:  0 8px 40px rgba(11, 31, 58, 0.14);
    --shadow-lg:  0 16px 60px rgba(11, 31, 58, 0.18);
    --ease:       0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

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

/* =============================================
   NAVIGATION
   ============================================= */

.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    padding: 14px 0;
    transition: background var(--ease), padding var(--ease), box-shadow var(--ease);
}

.nav.scrolled {
    background: rgba(11, 31, 58, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.3);
}

.nav__inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1160px; margin: 0 auto; padding: 0 32px;
}

/* Logo: image badge + text side by side */
.nav__logo {
    display: flex; align-items: center; gap: 14px;
    text-decoration: none; flex-shrink: 0;
}

.nav__logo-badge {
    height: 46px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all var(--ease);
}
.nav.scrolled .nav__logo-badge { height: 38px; }
.nav__logo-badge img {
    height: 100%; width: auto; max-width: 180px; object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Links */
.nav__links {
    display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav__links li { display: flex; }
.nav__links a {
    color: rgba(255,255,255,0.75); text-decoration: none;
    font-size: 0.875rem; font-weight: 500;
    padding: 7px 14px; border-radius: 6px;
    transition: color var(--ease), background var(--ease);
}
.nav__links a:hover { color: var(--white); background: rgba(255,255,255,0.09); }

.nav__cta {
    background: var(--accent) !important; color: var(--white) !important;
    padding: 8px 18px !important; font-weight: 600 !important;
}
.nav__cta:hover { background: var(--accent-dark) !important; }

/* Mobile toggle */
.nav__toggle {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 6px; z-index: 300;
}
.nav__toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: var(--ease);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */

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

.hero__bg {
    position: absolute; inset: 0; pointer-events: none;
}

/* Ocean gradient depth */
.hero__bg::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 65% 45%, rgba(26, 82, 118, 0.45) 0%, transparent 65%),
        radial-gradient(ellipse 50% 50% at 5% 85%,  rgba(30, 139, 195, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 40% 30% at 90% 10%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
}

/* Subtle grid */
.hero__bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 80% 80% at 30% 50%, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 30% 50%, black 0%, transparent 80%);
}

.hero__content {
    position: relative; z-index: 2;
    width: 100%;
    max-width: 720px;
    padding: 140px 28px 110px;
    margin-left: max(28px, calc((100vw - 1160px) / 2 + 28px));
}

.hero__eyebrow {
    display: inline-block;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 22px;
}

.hero__title {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 800; line-height: 1.08;
    color: var(--white); letter-spacing: -0.025em;
    margin-bottom: 24px;
}

.hero__subtitle {
    color: rgba(255,255,255,0.65); font-size: 1.05rem;
    max-width: 500px; line-height: 1.75; margin-bottom: 44px;
}

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

.hero__vessel {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 52%;
    max-width: 680px;
    z-index: 1;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 65% 50%, black 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 85% 75% at 65% 50%, black 30%, transparent 80%);
}
.hero__vessel img {
    width: 100%; height: auto; display: block;
    mix-blend-mode: luminosity;
    opacity: 0.55;
    border-radius: 50%;
    filter: brightness(1.1) contrast(1.05);
}

.hero__scroll-hint {
    position: absolute; bottom: 36px; left: 50%;
    transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center;
}
.hero__scroll-line {
    width: 1px; height: 52px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
    animation: scrollFade 2.2s ease-in-out infinite;
}
@keyframes scrollFade {
    0%, 100% { opacity: 0.2; transform: scaleY(0.6); transform-origin: top; }
    50%       { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: var(--radius);
    font-family: var(--font); font-size: 0.9rem; font-weight: 600;
    text-decoration: none; border: 2px solid transparent;
    cursor: pointer; letter-spacing: 0.01em;
    transition: all var(--ease); white-space: nowrap;
}

.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 139, 195, 0.38);
}

.btn--outline {
    background: transparent; color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.btn--outline:hover {
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.07);
}

.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--full { width: 100%; }

/* =============================================
   SHARED SECTION TOKENS
   ============================================= */

.section-tag {
    display: inline-block; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 14px;
}
.section-tag--gold { color: var(--gold); }

.section-title {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700;
    line-height: 1.18; letter-spacing: -0.022em;
    color: var(--text); margin-bottom: 16px;
}
.section-title--white { color: var(--white); }

.section-desc {
    color: var(--muted); font-size: 1rem; max-width: 500px; line-height: 1.75;
}
.section-desc--white { color: rgba(255,255,255,0.6); }

.section-header { margin-bottom: 60px; }

/* =============================================
   ABOUT
   ============================================= */

.about { padding: 110px 0; background: var(--white); }

.about__grid {
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: 80px; align-items: center;
}

.about__lead {
    font-size: 1.08rem; color: var(--text-mid);
    font-weight: 500; line-height: 1.72; margin-bottom: 18px;
}
.about__text > p {
    color: var(--muted); margin-bottom: 36px;
}

.about__pillars { display: flex; flex-direction: column; gap: 24px; }

.pillar {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 18px 20px; background: var(--gray); border-radius: var(--radius);
    border-left: 3px solid var(--accent);
    transition: box-shadow var(--ease), border-color var(--ease);
}
.pillar:hover { box-shadow: var(--shadow); border-color: var(--navy); }

.pillar__icon {
    width: 36px; height: 36px; flex-shrink: 0;
    color: var(--accent); margin-top: 2px;
}
.pillar__icon svg { width: 100%; height: 100%; }

.pillar strong { display: block; font-size: 0.92rem; color: var(--text); margin-bottom: 4px; }
.pillar p { font-size: 0.845rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* About card */
.about__card {
    background: var(--navy); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-lg);
}
.about__card-logo {
    padding: 24px 28px;
    background: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    min-height: 90px;
}
.about__card-logo img {
    max-height: 60px; max-width: 240px; object-fit: contain;
}

.about__card-stats { padding: 4px 0; }

.stat-row {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 16px; padding: 16px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stat-row:last-child { border-bottom: none; }

.stat-label {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(255,255,255,0.38); flex-shrink: 0;
}
.stat-value {
    font-size: 0.88rem; color: var(--white); font-weight: 500;
    text-align: right;
}

.about__card-cta {
    padding: 24px 28px;
    background: rgba(30, 139, 195, 0.1);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.about__card-cta .btn { width: 100%; }

/* =============================================
   SERVICES
   ============================================= */

.services {
    padding: 110px 0;
    position: relative;
    background-color: var(--gray);
    background-image: url('images/port.jpg');
    background-size: cover;
    background-position: center 60%;
    background-attachment: fixed;
}
.services::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(244, 246, 249, 0.88);
    pointer-events: none;
}
.services .container { position: relative; z-index: 1; }

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

.service-card--expanded {
    grid-column: 1 / -1;
    flex-direction: row !important;
    align-items: stretch;
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}
.service-card--expanded__left {
    display: flex; flex-direction: column; gap: 16px;
    padding: 36px 40px;
    flex: 0 0 42%;
    border-right: 1px solid var(--border);
}
.service-card--expanded__left .service-card__body {
    gap: 12px;
}
.service-card--expanded__left .btn {
    align-self: flex-start;
    margin-top: auto;
}
.service-card--expanded__right {
    display: flex; align-items: center;
    padding: 36px 40px;
    flex: 1;
    background: rgba(30, 139, 195, 0.03);
}
.service-card--expanded__list {
    list-style: none;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px 32px;
    width: 100%;
}
.service-card--expanded__list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.875rem; color: var(--text-mid); line-height: 1.5;
}
.service-card--expanded__list li::before {
    content: '';
    flex-shrink: 0;
    width: 18px; height: 18px; margin-top: 1px;
    background: rgba(30, 139, 195, 0.12);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 4.5' stroke='%231e8bc3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.service-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 32px 28px 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
    display: flex; flex-direction: column; gap: 16px;
    cursor: default;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 139, 195, 0.35);
}
.service-card--expanded:hover { transform: none; }

.service-card__icon {
    width: 48px; height: 48px; color: var(--accent);
    flex-shrink: 0;
}
.service-card__icon svg { width: 100%; height: 100%; }

.service-card__body {
    display: flex; flex-direction: column; flex: 1;
}
.service-card__body h3 {
    font-size: 1.02rem; font-weight: 700; color: var(--text);
    margin-bottom: 10px;
}
.service-card__body p {
    font-size: 0.86rem; color: var(--muted); line-height: 1.68;
    margin-bottom: 18px;
}
.service-card__read-more {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.84rem; font-weight: 600; color: var(--accent);
    text-decoration: none;
    transition: gap var(--ease), color var(--ease);
    margin-top: auto;
}
.service-card__read-more svg {
    width: 14px; height: 14px; transition: transform var(--ease);
}
.service-card__read-more:hover { color: var(--navy); }
.service-card__read-more:hover svg { transform: translateX(4px); }

/* =============================================
   WHY US
   ============================================= */

.why-us { padding: 110px 0; background: var(--navy); }

.why-us__header { margin-bottom: 60px; }
.why-us__header .section-title { color: var(--white); }

.why-us__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg);
    overflow: hidden;
}

.why-card {
    padding: 36px 28px;
    border-right: 1px solid rgba(255,255,255,0.08);
    position: relative;
    transition: background var(--ease);
}
.why-card:last-child { border-right: none; }
.why-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--ease);
}
.why-card:hover { background: rgba(255,255,255,0.03); }
.why-card:hover::before { opacity: 1; }

.why-card__num {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
    color: var(--gold); text-transform: uppercase; margin-bottom: 16px;
}
.why-card h3 {
    font-size: 0.98rem; font-weight: 700; color: var(--white);
    margin-bottom: 10px; line-height: 1.3;
}
.why-card p {
    font-size: 0.845rem; color: rgba(255,255,255,0.5); line-height: 1.68;
}

/* =============================================
   CONTACT
   ============================================= */

.contact { padding: 110px 0; background: var(--white); }

.contact__grid {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 80px; align-items: start;
}

.contact__info .section-title { margin-bottom: 18px; }
.contact__info > p { color: var(--muted); margin-bottom: 36px; line-height: 1.7; }

/* WhatsApp button */
.contact__wa-btn {
    display: flex; align-items: center; gap: 18px;
    padding: 20px 22px; border-radius: var(--radius-lg);
    text-decoration: none;
    background: #f0fdf4; border: 1.5px solid #bbf7d0;
    color: #15803d;
    transition: all var(--ease);
    margin-bottom: 28px;
}
.contact__wa-btn:hover { background: #dcfce7; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(22, 163, 74, 0.15); }

.wa-icon { width: 38px; height: 38px; flex-shrink: 0; }
.wa-icon svg { width: 100%; height: 100%; }

.wa-text { flex: 1; }
.wa-label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.65; }
.wa-number { display: block; font-size: 1.1rem; font-weight: 700; }

.wa-arrow { width: 22px; height: 22px; opacity: 0.5; }
.wa-arrow svg { width: 100%; height: 100%; }

.contact__meta { display: flex; flex-direction: column; gap: 12px; }
.contact__meta-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.875rem; color: var(--muted);
}
.contact__meta-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); }

/* Form */
.contact__form-wrap {
    background: var(--gray); border-radius: var(--radius-lg);
    padding: 38px; border: 1px solid var(--border);
}
.form-title {
    font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 28px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block; font-size: 0.73rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-mid); margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--border); border-radius: var(--radius);
    font-family: var(--font); font-size: 0.9rem; color: var(--text);
    background: var(--white); outline: none;
    transition: border-color var(--ease), box-shadow var(--ease);
    appearance: none; -webkit-appearance: none;
}
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
    cursor: pointer;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30, 139, 195, 0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0bac7; }

/* =============================================
   FOOTER
   ============================================= */

.footer { background: var(--navy-mid); padding: 0; }

.footer__top {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px; padding: 60px 0 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__logo-img {
    display: inline-flex; align-items: center;
    padding: 0; margin-bottom: 16px;
}
.footer__logo-img img {
    height: 36px; width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer__tagline { color: rgba(255,255,255,0.45); font-size: 0.88rem; margin-bottom: 16px; }

.footer__wa {
    display: inline-flex; align-items: center;
    color: rgba(255,255,255,0.6); font-size: 0.88rem; font-weight: 600;
    text-decoration: none;
    transition: color var(--ease);
}
.footer__wa:hover { color: var(--white); }

.footer__nav,
.footer__services-list {
    display: flex; flex-direction: column; gap: 0;
}
.footer__nav h4,
.footer__services-list h4 {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255,255,255,0.35); margin-bottom: 18px;
}
.footer__nav a {
    color: rgba(255,255,255,0.55); text-decoration: none;
    font-size: 0.88rem; padding: 5px 0;
    transition: color var(--ease);
}
.footer__nav a:hover { color: var(--white); }

.footer__services-list span {
    color: rgba(255,255,255,0.45); font-size: 0.88rem; padding: 5px 0;
}

.footer__bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 0;
}
.footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer__bottom a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color var(--ease); }
.footer__bottom a:hover { color: var(--white); }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .about__grid { grid-template-columns: 1fr; gap: 56px; }
    .about__visual { max-width: 520px; }
    .why-us__grid { grid-template-columns: repeat(2, 1fr); }
    .why-card:nth-child(2) { border-right: none; }
    .why-card:nth-child(1),
    .why-card:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav__links {
        display: none; flex-direction: column;
        position: fixed; top: 0; right: 0; bottom: 0;
        width: 72vw; max-width: 280px;
        background: var(--navy-mid); padding: 90px 28px 40px;
        z-index: 200; gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 32px rgba(0,0,0,0.4);
    }
    .nav__links.open { display: flex; transform: translateX(0); }
    .nav__links li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.07); }
    .nav__links a { display: block; padding: 14px 4px; font-size: 1rem; border-radius: 0; }
    .nav__links a:hover { background: none; color: var(--white); }
    .nav__cta { margin-top: 16px; border-radius: var(--radius) !important; text-align: center; }
    .nav__toggle { display: flex; }
    .nav__logo-badge { height: 38px; }
    .nav.scrolled .nav__logo-badge { height: 32px; }
    .nav__inner { padding: 0 20px; gap: 0; justify-content: space-between; }
    .nav__logo { margin-right: auto; }
    .hero__vessel { display: none; }

    .hero__content { padding: 110px 28px 90px; }
    .hero__title { font-size: clamp(2.2rem, 8vw, 3.2rem); }

    .about,
    .services,
    .why-us,
    .contact { padding: 80px 0; }

    .services { background-attachment: scroll; }
    .services__grid { grid-template-columns: 1fr; }
    .service-card--expanded { flex-direction: column !important; }
    .service-card--expanded__left { border-right: none; border-bottom: 1px solid var(--border); padding: 28px 24px; flex: none; }
    .service-card--expanded__right { padding: 28px 24px; }
    .service-card--expanded__list { grid-template-columns: 1fr; }
    .why-us__grid { grid-template-columns: 1fr; border: none; gap: 2px; }
    .why-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; }
    .why-card:last-child { border-bottom: none; }

    .contact__grid { grid-template-columns: 1fr; gap: 48px; }

    .footer__top { grid-template-columns: 1fr; gap: 32px; }
    .footer__brand { grid-column: auto; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 540px) {
    .container { padding: 0 20px; }
    .hero__actions { flex-direction: column; }
    .btn { width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .contact__form-wrap { padding: 24px; }
    .hero__scroll-hint { display: none; }
}

/* =============================================
   SERVICE MODAL
   ============================================= */

.svc-modal {
    position: fixed; inset: 0; z-index: 9000;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.svc-modal.is-open {
    opacity: 1;
    pointer-events: all;
}
.svc-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(11, 31, 58, 0.6);
    backdrop-filter: blur(4px);
    cursor: pointer;
}
.svc-modal__panel {
    position: relative; z-index: 1;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px 40px 40px;
    width: 100%; max-width: 520px;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.34, 1.26, 0.64, 1);
    max-height: 90vh; overflow-y: auto;
}
.svc-modal.is-open .svc-modal__panel {
    transform: translateY(0) scale(1);
}
.svc-modal__close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px;
    background: var(--gray); border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--muted);
    transition: background var(--ease), color var(--ease);
}
.svc-modal__close:hover { background: var(--gray-mid); color: var(--text); }
.svc-modal__close svg { width: 16px; height: 16px; }
.svc-modal__icon {
    width: 52px; height: 52px;
    background: rgba(30, 139, 195, 0.1);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
}
.svc-modal__icon svg { width: 28px; height: 28px; }
.svc-modal__title {
    font-size: 1.35rem; font-weight: 800; color: var(--navy);
    margin-bottom: 12px;
}
.svc-modal__desc {
    font-size: 0.9rem; color: var(--muted); line-height: 1.72;
    margin-bottom: 24px;
}
.svc-modal__list {
    list-style: none; display: flex; flex-direction: column; gap: 10px;
    margin-bottom: 32px;
}
.svc-modal__list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.875rem; color: var(--text-mid); line-height: 1.5;
}
.svc-modal__list li::before {
    content: '';
    flex-shrink: 0;
    width: 18px; height: 18px; margin-top: 1px;
    background: rgba(30, 139, 195, 0.12);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 4.5' stroke='%231e8bc3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}
.svc-modal__cta { width: 100%; justify-content: center; }

@media (max-width: 540px) {
    .svc-modal__panel { padding: 36px 24px 28px; }
    .svc-modal__title { font-size: 1.15rem; }
}
