/* =========================================================
   Alpine Agro — brand overrides for the MexDot (light) theme
   Loaded after style.css. Keep theme logic intact; only
   colors, logo sizing and a few custom components live here.
   ========================================================= */

/* ---------- Brand palette ---------- */
:root, :root .v-light, :root .v-light-head {
  --bg-color: #f7f6f0;            /* light cream background */
  --assistant-color: #ecebe2;     /* section background */
  --theme-color: #2e7d32;         /* natural green (accent) */
  --theme-color-font: #ffffff;
  --font-color: #4f5a52;
  --heading-color: #143420;       /* deep agriculture green */
  --border-color: #d9d8cd;
  --smooth-color: #143420;
  --reverse-color: #143420;
  --reverse-heading-color: #ffffff;
  --bg-btn: #ffffff;
  --alpine-earth: #d99a2b;        /* mountain / earth accent (logo sun) */
  --alpine-deep: #1b5e20;
}

:root .v-dark, :root .v-dark-head {
  --bg-color: #0f2a18;            /* deep green instead of black */
  --assistant-color: #153a22;
  --theme-color: #7cc242;
  --font-color: #d7e2d8;
  --heading-color: #ffffff;
  --border-color: #2a4d35;
  --smooth-color: #f9f9f9;
  --reverse-color: #f9f9f9;
  --reverse-heading-color: #0f2a18;
  --bg-btn: #0b2113;
}

@media only screen and (max-width: 991px) {
  .v-dark-head-mobile {
    --bg-color: #0f2a18;
    --assistant-color: #153a22;
    --theme-color: #7cc242;
    --font-color: #d7e2d8;
    --heading-color: #ffffff;
    --border-color: #2a4d35;
  }
}

/* ---------- Brand lockup: mark + wordmark ---------- */
.af-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.af-brand img { height: 44px; width: auto; display: block; }
.af-brand__name {
  font-family: 'Poppins', var(--body-font), sans-serif; font-weight: 700; font-size: 22px; line-height: 1;
  letter-spacing: -.2px; color: var(--heading-color); white-space: nowrap;
}
.af-brand__name span { color: var(--theme-color); }
.site-header .af-brand__name { color: var(--heading-color); }
.v-dark-head .site-header:not(.dsn-open) .af-brand__name,
.site-header.v-dark .af-brand__name { color: #fff; }
.af-footer .af-brand img { height: 52px; }
.af-footer .af-brand__name { color: #fff; font-size: 26px; }
.af-footer .af-brand__name span { color: #9fdc6a; }
.alpine-banner { border-radius: 18px; overflow: hidden; border: 1px solid var(--border-color); }
.alpine-banner img { width: 100%; height: auto; display: block; }
@media (max-width: 767px) { .af-brand__name { font-size: 18px; } .af-footer .af-brand__name { font-size: 22px; } }

/* ---------- Site header (compact pill bar) ---------- */
.site-header {
  top: 16px; left: 16px; right: 16px;
  padding: 10px 26px;
  border-radius: 40px;
  flex-wrap: nowrap;
  column-gap: 20px;
}
.site-header .main-logo { flex: 0 0 auto; display: flex; align-items: center; }
.site-header .main-logo img { height: 44px; width: auto; max-width: none; }
.site-header:not(.dsn-hamburger) .main-navigation { flex: 1 1 auto; min-width: 0; justify-content: center; }
.site-header:not(.dsn-hamburger) ul.primary-nav { flex-wrap: nowrap; }
.site-header:not(.dsn-hamburger) ul.primary-nav > li { padding-top: 6px; padding-bottom: 6px; white-space: nowrap; }
.footer-personal .main-logo img { height: 64px; width: auto; }
.dsnload__img img { width: 110px; }

/* ---------- Header CTA ("Partner With Us") ---------- */
.header-right { display: flex; align-items: center; gap: 20px; position: relative; z-index: 1; flex: 0 0 auto; }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 40px;
  background-color: var(--theme-color); color: #fff !important;
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 500;
  white-space: nowrap; line-height: 1;
  transition: background-color .3s, transform .3s;
}
.header-cta svg { width: 11px; fill: #fff; }
.header-cta:hover { background-color: var(--alpine-deep); transform: translateY(-1px); }
.site-header.dsn-open .header-cta { display: none; }

/* Small laptops: keep logo, menu and button on one line */
@media (min-width: 992px) and (max-width: 1199px) {
  .site-header { padding: 8px 20px; column-gap: 12px; }
  .site-header .main-logo img { height: 40px; }
  .site-header:not(.dsn-hamburger) ul.primary-nav > li { font-size: 13px; }
  .site-header:not(.dsn-hamburger) ul.primary-nav > li:not(:first-of-type) { margin-left: 16px; }
  .header-cta { padding: 9px 14px; font-size: 10px; letter-spacing: .8px; }
}
/* Tablets */
@media (max-width: 991px) {
  .site-header { top: 12px; left: 12px; right: 12px; padding: 8px 18px; }
  .site-header .main-logo img { height: 40px; }
  .header-cta { padding: 9px 14px; font-size: 10px; letter-spacing: .8px; }
}
/* Phones */
@media (max-width: 767px) {
  .header-cta { display: none; }
  .site-header { top: 10px; left: 10px; right: 10px; padding: 8px 14px 8px 16px; }
  .site-header .main-logo img { height: 36px; }
  .site-header.dsn-hamburger #navbar_toggle .toggle-icon { --width-icon: 22px; margin-right: 8px; }
  .site-header.dsn-hamburger #navbar_toggle .toggle-icon .toggle-line { width: 22px; }
  .site-header.dsn-hamburger #navbar_toggle .toggle-text { font-size: 13px; min-width: 40px; }
}

/* ---------- Hero ---------- */
.hero-alpine .content .title-lg {
  font-size: clamp(38px, 6.2vw, 84px);
  line-height: 1.08;
  max-width: 1100px;
}
.hero-alpine .content .description { max-width: 640px; }
.hero-alpine .hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.hero-alpine .kicker {
  display: inline-block; padding: 8px 18px; border-radius: 30px;
  border: 1px solid rgba(255,255,255,.35); color: #fff;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
}

/* ---------- Section helpers ---------- */
.sub-heading { color: var(--theme-color); }
/* Theme uppercases the whole section-title block; keep body copy readable. */
.section-title p { text-transform: none; letter-spacing: 0; }
/* Dot marker: theme pads only 20px so the dot sat on the text. */
.section-title .sub-heading { padding-left: 44px; display: inline-block; }
.section-title .sub-heading span:first-of-type { margin-left: 0; }
.section-title.align-items-center .sub-heading, .section-title.text-center .sub-heading { align-self: center; }
.alpine-project-card { display: block; color: inherit; }
.alpine-project-card .box-image img { transition: transform .8s ease; }
.alpine-project-card:hover .box-image img { transform: scale(1.05); }
.alpine-lead { font-size: 18px; line-height: 1.7; }
.alpine-quote {
  border-left: 4px solid var(--theme-color); padding: 10px 0 10px 24px;
  font-size: 20px; line-height: 1.6; color: var(--heading-color); font-weight: 400;
}

/* ---------- Mission / Vision ---------- */
.alpine-mv { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.alpine-mv .box {
  position: relative; padding: 44px 36px; border-radius: 16px; overflow: hidden;
  background-color: var(--assistant-color); border: 1px solid var(--border-color);
}
.alpine-mv .box.theme { background-color: var(--alpine-deep); border-color: var(--alpine-deep); --heading-color: #fff; --font-color: #e6efe7; color: #e6efe7; }
.alpine-mv .box .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--theme-color); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.alpine-mv .box .ic svg { width: 24px; fill: #fff; }
.alpine-mv .box p { font-size: 18px; line-height: 1.65; }

/* ---------- Farmer model (process) ---------- */
.alpine-process { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.alpine-process .step {
  position: relative; padding: 30px 22px 28px; border-radius: 14px;
  background-color: var(--bg-color); border: 1px solid var(--border-color);
  transition: transform .35s, box-shadow .35s;
}
.alpine-process .step:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20,52,32,.10); }
.alpine-process .step .num {
  font-family: var(--heading-font); font-size: 46px; line-height: 1; font-weight: 600;
  color: var(--theme-color);
}
.alpine-process .step h4 { margin-top: 14px; font-size: 19px; text-transform: uppercase; letter-spacing: .5px; }
.alpine-process .step p { margin-top: 8px; font-size: 14px; line-height: 1.6; }
.alpine-process .step .arrow {
  position: absolute; top: 34px; right: 18px; width: 16px; fill: var(--border-color);
}
.alpine-process-bar { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--theme-color), var(--alpine-earth)); margin-bottom: 26px; }
/* One row of seven steps on laptops and up; two rows of four on tablets. */
@media (min-width: 1200px) {
  .alpine-process { grid-template-columns: repeat(7, 1fr); gap: 14px; }
  .alpine-process .step { padding: 26px 18px 24px; }
  .alpine-process .step .num { font-size: 38px; }
  .alpine-process .step h4 { font-size: 15px; }
  .alpine-process .step p { font-size: 13px; }
}
@media (min-width: 768px) and (max-width: 1199px) { .alpine-process { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Checklist (Why Alpine Agro) ---------- */
.alpine-check { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.alpine-check .item {
  display: flex; gap: 14px; align-items: center; padding: 20px 22px; border-radius: 12px;
  background-color: var(--bg-color); border: 1px solid var(--border-color);
}
.alpine-check .item .ic { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--theme-color); display: flex; align-items: center; justify-content: center; }
.alpine-check .item .ic svg { width: 14px; fill: #fff; }
.alpine-check .item span { color: var(--heading-color); font-weight: 500; }

/* ---------- Impact metrics ---------- */
.alpine-impact { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.alpine-impact .metric {
  padding: 36px 20px 30px; border-radius: 14px; text-align: center;
  background-color: var(--assistant-color); border: 1px solid var(--border-color);
}
.alpine-impact .metric .value { font-family: var(--heading-font); font-size: 54px; line-height: 1; color: var(--theme-color); font-weight: 600; }
.alpine-impact .metric .label { display: block; margin-top: 12px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--heading-color); }
.alpine-impact .metric .soon { display: inline-block; margin-top: 12px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--font-color); padding: 4px 10px; border-radius: 20px; border: 1px dashed var(--border-color); }

/* ---------- Focus list (climate page) ---------- */
.alpine-focus { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.alpine-focus .item { padding: 18px 20px; border-radius: 12px; background-color: var(--assistant-color); border: 1px solid var(--border-color); color: var(--heading-color); font-weight: 500; display: flex; align-items: center; gap: 12px; }
.alpine-focus .item .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--theme-color); flex: 0 0 10px; }

/* ---------- Service detail rows ---------- */
.alpine-service { padding: 50px 0; border-top: 1px solid var(--border-color); }
.alpine-service:last-of-type { border-bottom: 1px solid var(--border-color); }
.alpine-service .box-img { border-radius: 14px; overflow: hidden; height: 320px; }
.alpine-service .box-img img { width: 100%; height: 100%; object-fit: cover; }
.alpine-service ul { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.alpine-service ul li { position: relative; padding-left: 22px; color: var(--heading-color); font-size: 14px; }
.alpine-service ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--theme-color); }
.alpine-service .idx { font-family: var(--heading-font); font-size: 14px; letter-spacing: 3px; color: var(--theme-color); }

/* ---------- Partner pills ---------- */
.alpine-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.alpine-pills span { padding: 12px 20px; border-radius: 40px; border: 1px solid var(--border-color); background: var(--bg-color); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--heading-color); }

/* ---------- Case study ---------- */
.alpine-case { border-radius: 18px; overflow: hidden; background-color: var(--assistant-color); }
.alpine-case .meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 24px; }
.alpine-case .meta div span { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--theme-color); margin-bottom: 4px; }
.alpine-case .meta div strong { color: var(--heading-color); font-weight: 500; }

/* ---------- Founder ---------- */
.alpine-founder .box-img { border-radius: 18px; overflow: hidden; }
.alpine-founder .box-img img { width: 100%; height: 100%; object-fit: cover; }
.alpine-founder .role { display: inline-block; margin-top: 6px; padding: 6px 14px; border-radius: 20px; background: var(--assistant-color); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--theme-color); }

/* =========================================================
   Footer (custom, replaces the theme's "footer-personal" pill)
   ========================================================= */
.af-footer {
  position: relative; overflow: hidden;
  background-color: #0f2a18;
  background-image:
    radial-gradient(900px 420px at 110% -10%, rgba(124,194,66,.16), transparent 60%),
    radial-gradient(700px 360px at -10% 110%, rgba(217,154,43,.12), transparent 60%);
  color: #cfdbd2;
  --heading-color: #ffffff;
  --font-color: #cfdbd2;
}
.af-footer a { color: inherit; transition: color .25s, transform .25s; }
.af-footer a:hover { color: #fff; }
.af-footer .container { position: relative; z-index: 1; }

/* CTA band */
.af-footer__cta { padding: 70px 0 60px; border-bottom: 1px solid rgba(255,255,255,.08); }
.af-footer__cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; }
.af-footer__eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 30px;
  border: 1px solid rgba(124,194,66,.45); color: #9fdc6a;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
}
.af-footer__cta-title {
  font-family: var(--heading-font); color: #fff; text-transform: uppercase;
  font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; letter-spacing: .5px; margin: 0 0 16px;
}
.af-footer__cta-text p { max-width: 560px; font-size: 15px; line-height: 1.7; margin: 0; }
.af-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

.af-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 40px; font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; line-height: 1;
  border: 1px solid transparent; transition: background-color .3s, color .3s, border-color .3s, transform .3s;
}
.af-btn svg { width: 12px; height: 12px; fill: currentColor; transition: transform .3s; }
.af-btn:hover svg { transform: translate(2px, -2px); }
.af-btn--light { background: #7cc242; color: #0b2113 !important; }
.af-btn--light:hover { background: #9fdc6a; transform: translateY(-2px); }
.af-btn--ghost { border-color: rgba(255,255,255,.28); color: #fff !important; }
.af-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); transform: translateY(-2px); }

/* Main columns */
.af-footer__main { padding: 64px 0 56px; }
.af-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: 48px; }
.af-footer__logo img { height: 56px; width: auto; display: block; }
.af-footer__tagline { margin: 22px 0 12px; color: #fff; font-family: var(--heading-font); font-size: 16px; letter-spacing: .5px; text-transform: uppercase; line-height: 1.4; }
.af-footer__desc { font-size: 14px; line-height: 1.75; margin: 0; max-width: 380px; }
.af-footer__social { display: flex; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.af-footer__social a {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04);
}
.af-footer__social a:hover { background: #7cc242; border-color: #7cc242; transform: translateY(-3px); }
.af-footer__social a:hover svg { fill: #0b2113; }
.af-footer__social svg { width: 15px; height: 15px; fill: #fff; transition: fill .25s; }

.af-footer__heading {
  color: #fff; font-family: var(--heading-font); font-size: 15px; letter-spacing: 2px; text-transform: uppercase;
  margin: 8px 0 22px; padding-bottom: 12px; position: relative;
}
.af-footer__heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: #7cc242; border-radius: 2px; }
.af-footer__col ul { list-style: none; margin: 0; padding: 0; }
.af-footer__col ul li { margin-bottom: 11px; font-size: 14px; }
.af-footer__col ul a { position: relative; display: inline-block; padding-left: 0; }
.af-footer__col ul a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: #7cc242; transition: width .25s;
}
.af-footer__col ul a:hover { padding-left: 14px; }
.af-footer__col ul a:hover::before { width: 8px; }
.af-footer__col ul a[aria-current="page"] { color: #9fdc6a; }

.af-footer__contact address { font-style: normal; margin: 0; }
.af-footer__contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; line-height: 1.6; }
.af-footer__ic { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px; background: rgba(124,194,66,.14); display: flex; align-items: center; justify-content: center; }
.af-footer__ic svg { width: 13px; height: 13px; fill: #9fdc6a; }
.af-footer__contact-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: #9fdc6a !important; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.af-footer__contact-link svg { width: 11px; height: 11px; fill: currentColor; transition: transform .3s; }
.af-footer__contact-link:hover svg { transform: translate(2px, -2px); }

/* Bottom bar */
.af-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.af-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.af-footer__bottom-inner p { margin: 0; }
.af-footer__legal { display: flex; gap: 22px; align-items: center; list-style: none; margin: 0; padding: 0; }
.af-footer__legal span { opacity: .7; }
.af-footer__top { display: inline-flex; align-items: center; gap: 8px; }
.af-footer__top svg { width: 11px; height: 11px; fill: currentColor; }

.af-footer__watermark {
  position: absolute; right: -10px; bottom: -40px; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--heading-font); font-size: clamp(90px, 16vw, 260px); line-height: 1; font-weight: 700;
  text-transform: uppercase; color: rgba(255,255,255,.025); white-space: nowrap;
}

@media (max-width: 1199px) {
  .af-footer__grid { grid-template-columns: 1.5fr 1fr 1.2fr; }
  .af-footer__contact { grid-column: 1 / -1; }
  .af-footer__contact address { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 991px) {
  .af-footer__cta { padding: 56px 0 48px; }
  .af-footer__cta-inner { grid-template-columns: 1fr; gap: 26px; }
  .af-footer__cta-actions { justify-content: flex-start; }
  .af-footer__main { padding: 52px 0 44px; }
  .af-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .af-footer__brand { grid-column: 1 / -1; }
  .af-footer__contact address { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 575px) {
  .af-footer__cta { padding: 48px 0 40px; }
  .af-footer__cta-actions { flex-direction: column; }
  .af-btn { justify-content: center; }
  .af-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .af-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .af-footer__legal { flex-wrap: wrap; gap: 10px 18px; }
}

/* =========================================================
   Inner page banners — compact, professional
   ========================================================= */
/* Full-viewport image hero on every inner page: the photo fills the screen,
   the text sits vertically centred, the scroll-down button hugs the bottom. */
.header-page {
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  padding-top: clamp(96px, 12vh, 130px) !important;
  padding-bottom: 0 !important;
}
.header-page > .container.h-100 { flex: 1 1 auto; display: flex; align-items: center; height: auto !important; }
.header-page .box-content { max-width: 900px; }
.header-page .sub-heading { font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; }
.header-page .title-lg,
.header-page .box-content h1 {
  font-size: clamp(36px, 5vw, 80px) !important;
  line-height: 1.06 !important;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.header-page .alpine-lead { font-size: 18px; line-height: 1.7; max-width: 620px; margin-top: 24px !important; }
.header-page .footer-head { flex: 0 0 auto; margin-top: 0 !important; padding-bottom: clamp(28px, 4vh, 48px); }
.header-page .contact-links { width: auto !important; max-width: 520px; margin-top: 30px !important; }
.header-page .contact-links a { font-size: 14px; letter-spacing: 1.5px; }
@media (max-width: 991px) {
  .header-page { min-height: 90vh; min-height: 90svh; padding-top: 100px !important; }
  .header-page .title-lg, .header-page .box-content h1 { font-size: clamp(34px, 6.4vw, 60px) !important; }
}
@media (max-width: 767px) {
  .header-page { min-height: 78vh; min-height: 78svh; padding-top: 90px !important; }
  .header-page .title-lg, .header-page .box-content h1 { font-size: clamp(30px, 8vw, 44px) !important; }
  .header-page .title-lg br { display: none; }
  .header-page .alpine-lead { font-size: 15px; margin-top: 16px !important; }
  .header-page .footer-head { padding-bottom: 24px; }
  .header-page .footer-head .social-box { display: none; }
  .header-page .contact-links a { font-size: 13px; letter-spacing: 1px; word-break: break-all; }
}

/* ---------- Contact form extras ---------- */
.dsn-form .form-group select { width: 100%; }
.alpine-map { border-radius: 18px; overflow: hidden; background-color: var(--assistant-color); border: 1px solid var(--border-color); }
.alpine-map__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 30px; flex-wrap: wrap; }
.alpine-map__head h3 { font-size: 22px; margin: 0; }
.alpine-map__head p { margin: 6px 0 0; font-size: 14px; }
.alpine-map__link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 40px; background: var(--theme-color); color: #fff !important; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.alpine-map__link svg { width: 11px; fill: #fff; }
.alpine-map__link:hover { background: var(--alpine-deep); }
.alpine-map iframe { width: 100%; height: 440px; border: 0; display: block; filter: grayscale(.25); background: var(--assistant-color); }
@media (max-width: 575px) { .alpine-map__head { padding: 20px; } .alpine-map iframe { height: 300px; } }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #e2f3e4; color: #1b5e20; }
.alert-danger { background: #fde8e6; color: #9c2a1f; }
.alert .close { float: right; background: transparent; border: 0; font-size: 18px; line-height: 1; cursor: pointer; color: inherit; }

/* =========================================================
   Responsive fixes — laptops (≤1599px), tablets and phones
   ========================================================= */

/* Never allow sideways scroll (marquee, menu cover text, footer links). */
html, body { overflow-x: hidden; }
.main-root, #dsn-scrollbar, .wrapper { overflow-x: clip; }
.menu-cover-title { max-width: 100%; overflow: hidden; white-space: nowrap; }
.dsn-marquee { max-width: 100vw; }

/* Inline-style replacements (were hard-coded in the templates). */
.alpine-case-body { padding: 50px 44px; }
.alpine-case .box-img { min-height: 420px; position: relative; }
@media (max-width: 767px) { .alpine-case .box-img { min-height: 260px; } }
.alpine-project-card { min-height: 420px; }
.alpine-project-card .card-body { padding: 40px; min-height: 420px; }
.alpine-project-card .cat span { padding: 8px 14px; border-radius: 20px; font-size: 11px; }
.alpine-founder .box-img { max-height: 560px; }

/* ----- Laptops: 992px – 1599px ----- */
@media (max-width: 1599px) {
  .alpine-case-body { padding: 40px 34px; }
}
@media (min-width: 992px) and (max-width: 1399px) {
  .hero-alpine .content .title-lg { font-size: clamp(44px, 5.6vw, 72px); }
  .work-massonary .dsn-posts { row-gap: 20px; }
  .seat .dsn-item { padding: 60px 20px; }
  .alpine-project-card, .alpine-project-card .card-body { min-height: 380px; }
}

/* ----- Tablets: ≤991px ----- */
@media (max-width: 991px) {
  .header-page .box-content { width: 100%; }
  .hero-alpine { height: auto; min-height: 100vh; min-height: 100svh; padding-top: 150px; padding-bottom: 110px; }
  .hero-alpine .content .title-lg { font-size: clamp(36px, 7.5vw, 64px); line-height: 1.1; }
  .hero-alpine .content .description { max-width: 560px; }
  .seat .dsn-item { padding: 50px 20px; }
  .seat .dsn-item-has-bg { min-height: 480px; }
  .alpine-service .box-img { height: 280px; }
  .alpine-case-body { padding: 36px 28px; }
  .alpine-project-card, .alpine-project-card .card-body { min-height: 340px; }
  .alpine-project-card .card-body { padding: 28px; }
  .alpine-founder .box-img { max-height: 460px; }
  .alpine-map iframe { height: 380px; }
}

/* ----- Phones: ≤767px ----- */
@media (max-width: 767px) {
  .hero-alpine { padding-top: 130px; padding-bottom: 90px; }
  .hero-alpine .content .title-lg { font-size: clamp(32px, 9vw, 46px); line-height: 1.1; }
  .hero-alpine .kicker { font-size: 10px; letter-spacing: 1.5px; padding: 7px 14px; }
  .hero-alpine .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero-alpine .hero-actions .dsn-btn { width: 100%; max-width: 320px; }
  .hero-alpine .hero-actions .dsn-btn .button { flex: 1; text-align: center; }
  .hero-alpine .footer-head p { display: none; }
  .alpine-lead { font-size: 16px; line-height: 1.65; }
  .alpine-quote { font-size: 17px; padding-left: 18px; }
  .alpine-mv .box { padding: 32px 24px; }
  .alpine-mv .box p { font-size: 16px; }
  .alpine-process { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .alpine-process .step { padding: 22px 16px 20px; }
  .alpine-process .step .num { font-size: 34px; }
  .alpine-process .step h4 { font-size: 15px; margin-top: 10px; }
  .alpine-process .step p { font-size: 13px; }
  .alpine-process .step .arrow { display: none; }
  .alpine-impact { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .alpine-impact .metric { padding: 26px 14px 22px; }
  .alpine-impact .metric .value { font-size: 40px; }
  .alpine-impact .metric .label { font-size: 11px; letter-spacing: 1px; }
  .alpine-check { grid-template-columns: 1fr; gap: 10px; }
  .alpine-check .item { padding: 14px 16px; }
  .alpine-focus { grid-template-columns: 1fr 1fr; gap: 10px; }
  .alpine-focus .item { padding: 14px; font-size: 13px; }
  .alpine-service { padding: 36px 0; }
  .alpine-service .box-img { height: 220px; }
  .alpine-service ul { grid-template-columns: 1fr 1fr; }
  .alpine-case-body { padding: 28px 20px; }
  .alpine-case .meta { gap: 16px 24px; }
  .alpine-project-card, .alpine-project-card .card-body { min-height: 300px; }
  .alpine-project-card .card-body { padding: 24px 20px; }
  .alpine-pills span { padding: 10px 14px; font-size: 11px; letter-spacing: 1px; }
  .alpine-founder .box-img { max-height: 380px; }
  .alpine-map iframe { height: 300px; }
  .seat .dsn-item { padding: 40px 16px; }
  .seat .dsn-item p { font-size: 17px; }
  .seat .dsn-item-has-bg { min-height: 420px; }
  .seat .dsn-item-has-bg .text { padding: 30px 10px; }
  .services-accordion .accordion__question .title { font-size: clamp(18px, 5.5vw, 26px); }
  .services-accordion .accordion__answer .grid-1-half { grid-template-columns: 1fr; gap: 16px; }
  .services-accordion .accordion__answer ul { margin-left: 0; }
  .dsn-text-marquee.title-lg { font-size: 40px; line-height: 1.2; }
  .contact-form .box-padding { padding: 30px 20px; }
}

/* ----- Small phones: ≤575px ----- */
@media (max-width: 575px) {
  .hero-alpine .content .title-lg { font-size: clamp(30px, 8.6vw, 38px); }
  .alpine-process { grid-template-columns: 1fr 1fr; }
  .alpine-focus { grid-template-columns: 1fr; }
  .alpine-service ul { grid-template-columns: 1fr; }
  .alpine-case .meta { gap: 14px 20px; }
  .section-title .title { word-break: normal; overflow-wrap: anywhere; }
  .about-has-image .box-img { grid-template-columns: 1fr; }
  .about-has-image .box-img .img-inner:first-of-type { aspect-ratio: 4/3; grid-row: auto; }
}

/* ---------- Misc ---------- */
.theme-color { color: var(--theme-color); }
.earth-color { color: var(--alpine-earth); }
.has-border-radius-lg { border-radius: 18px; }
.work-massonary .post-info .cat span { font-size: 11px; }
.text-balance { text-wrap: balance; }
