:root{
  --brand:#0b6fa4;
  --brand2:#0a4f73;
  --brandDeep:#0b4a7a;
  --ink:#0e1a22;
  --muted:#5b6b78;
  --card:rgba(255,255,255,.86);
  --card2:rgba(255,255,255,.78);
  --shadow:0 18px 45px rgba(0,0,0,.12);
  --radius:18px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--ink);
  line-height:1.55;
  background:#f5f7f7;
}
a{color:inherit}
.container{max-width:1120px;margin:0 auto;padding:0 20px}

/* Background image per page */
.page{
  min-height:100vh;
  background-position:center;
  background-size:cover;
  /* Avoid Edge rendering artifacts */
  background-attachment:scroll;
}
.page::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.18) 35%, rgba(0,0,0,.22));
}
.page.home{background-image:url('hero-home.jpg')}
.page.field:not(.solid){background-image:url('bg-dark.png')}
.page.contact:not(.solid){background-image:url('bg-dark.png')}

/* Header */
.header{
  position:sticky;top:0;z-index:50;
  backdrop-filter:saturate(1.1) blur(10px);
  background:rgba(255,255,255,.82);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:16px}
.brand{display:flex;align-items:center;gap:14px;min-width:260px}
.brand img{height: 54px;width:auto;display:block}
.brand-title{display:flex;flex-direction:column;gap:2px}
.brand-title strong{font-size:22px;letter-spacing:.2px}
.brand-title span{font-size:13px;color:var(--muted)}

.nav a{
  text-decoration:none;
  padding:10px 24px;
  min-width:120px;
  text-align:center;
  border-radius:999px;
  font-weight:600;
  color:#22313b;
  font-size:14px;
}

.nav a:hover{background:rgba(11,111,164,.08)}
.nav a.active{background:var(--brandDeep);color:#fff}

.cta{
  text-decoration:none;
  padding:10px 14px;
  border-radius:999px;
  font-weight:800;
  border:1px solid rgba(11,111,164,.35);
  color:var(--brand2);
  background:rgba(255,255,255,.7);
}
.cta:hover{background:rgba(11,111,164,.08)}

/* Sections */
main{position:relative;z-index:1}
.hero{
  padding:84px 0 52px;
}
.hero-card{
  display:inline-block;
  max-width:760px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(255,255,255,.35);
  box-shadow:var(--shadow);
  border-radius:24px;
  padding:34px 30px;
}
.kicker{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#334b59;font-weight:800}
.h1{
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size:52px;
  line-height:1.05;
  margin:10px 0 12px;
}
.lead{font-size:18px;color:#22313b;margin:0 0 18px}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.button{
  display:inline-flex;align-items:center;gap:10px;
  text-decoration:none;
  padding:12px 16px;
  border-radius:999px;
  font-weight:800;
  border:1px solid rgba(11,111,164,.22);
  background:rgba(255,255,255,.78);
}
.button.primary{background:#fff;border-color:rgba(11,74,122,.35);color:var(--brandDeep)}
.button.primary:hover{background:rgba(255,255,255,.98)}
.button:hover{background:rgba(11,111,164,.08)}

.section{padding:56px 0 70px}
.section-card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.35);
  padding:34px;
}
.section h2{
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size:38px;
  margin:0 0 10px;
}
.section p{margin:0 0 12px;color:#22313b}
.muted{color:var(--muted)}

.grid{display:grid;gap:18px}
.grid.two{grid-template-columns:1.2fr .8fr}
.grid.four{grid-template-columns:repeat(4,1fr)}
@media (max-width: 980px){
  .h1{font-size:42px}
  .grid.two{grid-template-columns:1fr}
  .grid.four{grid-template-columns:1fr 1fr}
  .brand{min-width:unset}
}
@media (max-width: 560px){
  .h1{font-size:34px}
  .grid.four{grid-template-columns:1fr}
  .brand img{height:46px}
}

.card{
  background:var(--card2);
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:18px;
  box-shadow:0 12px 28px rgba(0,0,0,.10);
}
.card h3{margin:0 0 6px;font-size:16px}
.card p{margin:0;color:#2b3a45}

/* Leaf bullets */
.leaf-list{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:10px}
.leaf-list li{display:flex;gap:10px;align-items:flex-start;color:#23333d}
.leaf{width:18px;height:18px;flex:0 0 18px;margin-top:2px;fill:var(--brand)}

/* Worldwide */
.badge{display:inline-flex;gap:8px;align-items:center;background:var(--brandDeep);color:#fff;padding:8px 12px;border-radius:999px;font-weight:900;font-size:13px;letter-spacing:.08em}
.pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px;align-items:flex-start;justify-content:center}

/* Some pages use .pill-row instead of .pills */
.pill-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;align-items:center;justify-content:center}
.pill-row .pill{white-space:normal;text-align:center}
/* "Tab" chips used across Mission/Worldwide/etc. Keep them compact and allow wrapping on one or more lines. */
.pill{
  background:var(--brandDeep);
  border:1px solid rgba(11,74,122,.18);
  padding:8px 14px;
  border-radius:999px;
  font-weight:800;
  color:#fff;
  display:inline-flex;
  align-items:center;
  font-size:13px;
  line-height:1.15;
  white-space:nowrap;
}
.pill.light{background:rgba(255,255,255,.86);border-color:rgba(0,0,0,.06);color:#22313b;font-weight:700}

/* Contact form */
.form{display:grid;gap:12px}
.input,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(255,255,255,.92);
  font:inherit;
}
textarea{min-height:140px;resize:vertical}
.small{font-size:12px;color:var(--muted)}
.footer{padding:22px 0 30px;color:rgba(255,255,255,.75);position:relative;z-index:1}
.footer a{color:rgba(255,255,255,.9)}

/* Photo grids */
.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.photo-grid img{width:100%;height:140px;object-fit:cover;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
@media (max-width: 860px){
  .photo-grid{grid-template-columns:1fr}
  .photo-grid img{height:120px}
}

/* ===== Home (image only) ===== */
.home-only, .home-only body { height: 100%; }
.home-only{ margin:0; }
.home-hero{
  min-height: 100vh;
  background: url("hero-home.jpg") top center / contain no-repeat;
  background-color: #000;
  position: relative;
}
.home-hero::after{
  /* subtle vignette to help nav legibility without covering artwork */
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(1200px 600px at 70% 10%, rgba(0,0,0,.05), rgba(0,0,0,.25));
  pointer-events:none;
}

.home-nav{
  display:flex;
  gap: 4px;              /* tighter spacing between tabs */
  flex-wrap:wrap;
  justify-content: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}

.home-nav a{
  color: rgba(255,255,255,.92);
  text-decoration:none;
  font-weight:800;
  letter-spacing:.02em;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(0,0,0,.22);
}
.home-nav a:hover{ background: rgba(0,0,0,.30); }
.home-nav a.is-active{
  background: rgba(0,0,0,.36);
  outline: 2px solid rgba(255,255,255,.25);
}

@media (max-width: 720px){
  
  .home-nav{
  display:flex;
  gap: 4px;              /* tighter spacing between tabs */
  flex-wrap:wrap;
  justify-content: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}

  

  .home-nav{
  display:flex;
  gap: 4px;              /* tighter spacing between tabs */
  flex-wrap:wrap;
  justify-content: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}

}

/* ===== Solid turquoise pages (2–6) ===== */
.page.solid{
  background-image: none !important;
  background-color: #14B9C7; /* turquoise close to brand */
  background-attachment: initial;
}
.page.solid::before{
  /* soften contrast, no "smoky" wash */
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.06) 45%, rgba(0,0,0,.10));
}

/* Tabs (chips) - prevent overlap, keep centered */
.pill-row{ justify-content:center; }
.pill{
  white-space: normal;
  text-align: center;
  max-width: 220px;
  padding: 8px 12px;
  font-size: 12px;
}
.pills{ gap: 10px; }
.pill-row{ gap: 10px; }

/* Bottom photos - slightly smaller to balance layout */
.photo-grid img{ height: 120px; }
@media (max-width: 860px){
  .photo-grid img{ height: 110px; }
  .home-nav{
  display:flex;
  gap: 4px;              /* tighter spacing between tabs */
  flex-wrap:wrap;
  justify-content: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}

  .home-nav a{ padding: 9px 10px; font-size: 13px; }
}

/* v11-final: Worldwide image fills the white tab width */
.worldwide-wide{
  width: 100%;
  margin-top: 24px;
}
.worldwide-wide img{
  margin-bottom: 16px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* Mission page: two-column values list */
.values-grid{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.values-grid li{
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 10px 12px;
  line-height: 1.5;
}
@media (max-width: 720px){
  .values-grid{ grid-template-columns: 1fr; }
}

/* Mission page: 3-up photo grid */
.photo-grid.three{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.photo-grid.three img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
}
@media (max-width: 900px){
  .photo-grid.three{ grid-template-columns: 1fr; }
  .photo-grid.three img{ height: 240px; }
}

/* global responsive images */
img{
  max-width: 100%;
  height: auto;
}

/* ===== FINAL HOME NAV FIX ===== */
/* Keep nav consistently placed across screen sizes:
   - Constrain layout to a centered max-width so widescreen doesn't push too far right
   - Move nav slightly higher on small screens to avoid overlapping the leaf
*/
.home-brand{
  position:absolute;
  top:160px;
  left:50%;
  transform:translateX(-50%);
  width:min(1180px, calc(100% - 40px));  /* cap width so fullscreen doesn't drift */
  display:flex;
  justify-content:flex-end;
  z-index:2;
}

.home-brand .home-nav{
  position:relative;
  width:max-content;
  max-width:100%;
}

/* Medium screens: a touch more room on the right, but still within max width */
@media (max-width: 1000px){
  .home-brand{ width:min(980px, calc(100% - 32px)); top:150px; }
}

/* Small screens: keep it compact and lift it above the leaf */
@media (max-width: 720px){
  .home-brand{ width:calc(100% - 24px); top:110px; }
}

/* Very small: allow wrap and tighten spacing */
@media (max-width: 520px){
  .home-brand{ top:96px; }
  .home-nav{ gap:4px; padding:6px 10px; }
}

/* Ensure hero always scales properly */
.home-hero{
  background-size:contain !important;
  background-position:top center !important;
}

img{
  max-width:100%;
  height:auto;
}
/* ===== WORLDWIDE IMAGE GRID FIX ===== */

.worldwide-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:20px;
  margin-top:24px;
}

.worldwide-grid img{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius:14px;
}

@media (max-width:900px){
  
.worldwide-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:20px;
  margin-top:24px;
}

  .worldwide-grid img{
    height:260px;
  }
}

/* ===== SERVICES PAGE IMAGE UPDATE ===== */
/* Make service images square, larger, and wider like Worldwide */

.photo-grid img{
  width:100%;
  aspect-ratio:1 / 1;     /* forces square shape */
  object-fit:cover;       /* crop nicely */
  border-radius:14px;
}

/* Make grid wider and more prominent */
.photo-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
  margin-top:24px;
}

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

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

/* ===== COMPANY PAGE IMAGE ===== */
.company-image img{
  width:100%;
  height:400px;
  object-fit:cover;
  border-radius:14px;
}

@media (max-width:900px){
  .company-image img{
    height:300px;
  }
}

@media (max-width:600px){
  .company-image img{
    height:240px;
  }
}

/* ===== UNIFIED IMAGE SIZE FOR SERVICES & WORLDWIDE ===== */

.photo-grid,

.worldwide-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:20px;
  margin-top:24px;
}

.photo-grid img,
.worldwide-grid img{
  width:100%;
  height:340px;       /* unified fixed height */
  object-fit:cover;
  border-radius:14px;
}

/* Responsive */
@media (max-width:900px){
  .photo-grid,
  
.worldwide-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:20px;
  margin-top:24px;
}

  .photo-grid img,
  .worldwide-grid img{
    height:260px;
  }
}

/* Updated Worldwide grid to support 4 images */
.worldwide-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:24px;
}

.worldwide-grid img{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius:14px;
}

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

/* About page sunset image */
.about-hero img{
  width:100%;
  height:420px;
  object-fit:cover;
  border-radius:16px;
  margin-bottom:24px;
}

@media (max-width:900px){
  .about-hero img{
    height:280px;
  }
}

/* ===== MOBILE HAMBURGER MENU ===== */
.menu-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  color:#fff;
  cursor:pointer;
}
.menu-toggle span{
  display:block;
  width:20px;
  height:2px;
  background:#fff;
  position:relative;
}
.menu-toggle span::before,
.menu-toggle span::after{
  content:"";
  position:absolute;
  left:0;
  width:20px;
  height:2px;
  background:#fff;
}
.menu-toggle span::before{ top:-6px; }
.menu-toggle span::after{ top:6px; }

@media (max-width: 720px){
  .menu-toggle{ display:flex; }

  /* Turn the tabs into a vertical click-menu */
  .home-brand{
    display:flex !important;
    align-items:center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .home-nav{
    display:none !important;
    position:absolute !important;
    right:12px !important;
    top:52px !important;
    width:min(320px, calc(100vw - 24px)) !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:6px !important;
    padding:10px !important;
    border-radius:16px !important;
    background: rgba(0,0,0,.55) !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,.35) !important;
  }
  .home-nav.is-open{ display:flex !important; }

  .home-nav a{
    display:block !important;
    width:100% !important;
    padding:10px 12px !important;
    border-radius:12px !important;
  }
}

/* ===== HOME NAV AS RIGHT-SIDE COLUMN ===== */
.home-brand{
  position:absolute;
  top:160px;
  left:0;
  right:0;
  width:100%;
  z-index:2;
}

.home-nav{
  position:absolute;
  right:60px;
  top:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  padding:12px 12px;
  border-radius:18px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  width: max-content;
  max-width: calc(100vw - 24px);
}

.home-nav a{
  width:100%;
  display:block;
}

/* Small screens: keep it to the right, and slightly higher so it doesn't sit on the leaf */
@media (max-width: 720px){
  .home-brand{ top:110px; }
  .home-nav{ right:14px; }
}

/* Since nav is now a column, keep it visible and remove hamburger behavior */
@media (max-width: 720px){
  .menu-toggle{ display:none !important; }
  .home-nav{ display:flex !important; position:absolute !important; }
}

/* ===== SERVICES: 3 IMAGES ALIGNED AT BOTTOM ===== */
.services-card{
  display:flex;
  flex-direction:column;
}

/* push the image grid to the bottom of the white tab */
.services-card .services-grid{
  margin-top:auto;
}

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

.services-grid img{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius:14px;
}

@media (max-width: 900px){
  .services-grid{ grid-template-columns:1fr; }
  .services-grid img{ height:260px; }
}

/* ===== HOME NAV COLUMN: FORCE RIGHT ===== */
.home-nav{
  right: 32px !important;
  left: auto !important;
  transform: none !important;
}

/* ===== HOME CLICK MENU (replaces tabs) ===== */
.home-click-menu{
  position:absolute;
  top: 150px;              /* sits under the end of "Limited" */
  right: 90px;
  z-index: 3;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}

.home-menu-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  color:#fff;
  font-weight:700;
  cursor:pointer;
  user-select:none;
}

.home-menu-toggle .bars{
  width:18px;
  height:2px;
  background:#fff;
  position:relative;
  display:block;
}
.home-menu-toggle .bars::before,
.home-menu-toggle .bars::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background:#fff;
}
.home-menu-toggle .bars::before{ top:-6px; }
.home-menu-toggle .bars::after{ top:6px; }

/* Hide old tab styling on home */
.home-click-menu .home-nav{
  display:none;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
  padding:12px;
  border-radius:18px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  width: 220px;
  max-width: calc(100vw - 24px);
}

.home-click-menu .home-nav.is-open{ display:flex; }

.home-click-menu .home-nav a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(255,255,255,0.06);
}

/* Responsive positioning so it stays near the end of the title */
@media (max-width: 900px){
  .home-click-menu{ right: 24px; top: 120px; }
}
@media (max-width: 600px){
  .home-click-menu{ right: 14px; top: 96px; }
  .home-click-menu .home-nav{ width: min(260px, calc(100vw - 24px)); }
}

/* Ensure home-brand/nav doesn't interfere (neutralize previous rules) */

/* ===== HOME CLICK MENU (button under end of 'Limited') ===== */
.home-click-menu{
  position:absolute;
  top: 150px;
  right: 60px;          /* adjust: sits under last letters of Limited */
  z-index: 5;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}

.home-menu-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

.home-menu-toggle .bars{
  width:18px;
  height:2px;
  background:#fff;
  position:relative;
  display:block;
}
.home-menu-toggle .bars::before,
.home-menu-toggle .bars::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background:#fff;
}
.home-menu-toggle .bars::before{ top:-6px; }
.home-menu-toggle .bars::after{ top:6px; }

.home-click-menu .home-nav{
  display:none;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
  padding:12px;
  border-radius:18px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  width: 220px;
  max-width: calc(100vw - 24px);
}
.home-click-menu .home-nav.is-open{ display:flex; }

.home-click-menu .home-nav a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(255,255,255,0.06);
}

/* Responsive: keep the button near title end */
@media (max-width: 900px){
  .home-click-menu{ right: 18px; top: 120px; }
}
@media (max-width: 600px){
  .home-click-menu{ right: 12px; top: 96px; }
  .home-click-menu .home-nav{ width: min(260px, calc(100vw - 24px)); }
}

/* ===== SERVICES CARDS SAME HEIGHT ===== */

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

.grid.three .card{
  height:100%;
  display:flex;
  flex-direction:column;
}

.grid.three .leaf-list{
  flex-grow:1;
}

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

/* ===== SERVICES FINAL LAYOUT ===== */

.services-page .container{
  max-width:1280px;
}

.services-page .grid.three{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:24px;
  align-items:stretch;
}

.services-page .grid.three .card{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
}

.services-page .grid.three .leaf-list{
  flex-grow:1;
}

@media (max-width:900px){
  .services-page .grid.three{
    grid-template-columns:1fr;
  }
}
/* ===== FINAL OVERRIDES: pages 2–6 ===== */

/* bring back the blurred white main panel on all internal pages */
.page.solid .section-card{
  background: var(--card) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  padding: 34px !important;
}

/* remove white backgrounds only from the inner tabs/cards */
.page.solid .card{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 18px 0 !important;
}

/* keep form fields usable on Contact */
.page.solid .input,
.page.solid textarea{
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  box-shadow: none !important;
}

/* page 2 image stays large */
.about-hero img,
.company-image img{
  width: 100% !important;
  height: 420px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  margin-bottom: 24px !important;
}

/* services cards same width as pictures */
.grid.three{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  align-items: stretch !important;
}
.grid.three .card{
  width: 100% !important;
  min-height: 320px !important;
  display: flex !important;
  flex-direction: column !important;
}
.grid.three .leaf-list{
  flex-grow: 1;
}

/* keep 3 service images aligned */
.services-grid{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
}

/* responsive */
@media (max-width: 900px){
  .grid.three,
  .services-grid{
    grid-template-columns: 1fr !important;
  }

  .about-hero img,
  .company-image img{
    height: 280px !important;
  }
}

/* ===== HOMEPAGE MENU POSITION FIX ===== */

.home-brand{
  position:absolute !important;
  top:165px !important;
  right:80px !important;
  left:auto !important;
  transform:none !important;
  width:auto !important;
  display:flex;
  justify-content:flex-end;
}

.home-nav{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start;
}