/* =========================================================
   ALL FOR GOD COMPANY LTD — stylesheet v2
   Palette sampled directly from the reference wallpaper photo.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Jost:wght@300;400;500;600;700&display=swap');

:root{
  --teal-ink:      #05080d;
  --teal-deep:     #0b2530;
  --teal-mid:      #17606b;
  --teal-soft:     #2a7a86;
  --teal-bright:   #4fc2c4;
  --teal-pale:     #bdeee4;
  --gold:          #b3936a;
  --gold-light:    #d9c39f;
  --gold-dim:      #7a6449;
  --cream:         #f0f2e4;
  --line:          rgba(240,242,228,0.14);

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;

  --maxw: 1180px;
  --radius: 2px;
  --sec-pad: 72px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background: var(--teal-ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight:300;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight:600;
  margin:0 0 .5em;
  letter-spacing:.01em;
}

p{ margin:0 0 .9em; color: rgba(240,242,228,0.82); }

.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }

::selection{ background:var(--gold); color:var(--teal-ink); }
a:focus-visible, button:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* =========================================================
   GLOBAL BACKGROUND — plain gradient wash (no photo)
   ========================================================= */
body::before{
  content:"";
  position:fixed; inset:0; z-index:-3;
  background:
    radial-gradient(1100px 700px at 88% -8%, rgba(79,194,196,0.13), transparent 60%),
    radial-gradient(900px 620px at -8% 108%, rgba(179,147,106,0.13), transparent 60%),
    linear-gradient(180deg, #05080d 0%, #0a1720 45%, #05080d 100%);
}

/* =========================================================
   VEIN DIVIDER — signature element
   ========================================================= */
.vein{ position:relative; height:50px; margin:0 auto; max-width:var(--maxw); overflow:hidden; }
.vein svg{ width:100%; height:100%; display:block; }
.vein path{
  fill:none; stroke:url(#veinGrad); stroke-width:1.1;
  stroke-dasharray:1400; stroke-dashoffset:1400; opacity:.85;
}
.vein.in-view path{ animation: veinDraw 3.6s cubic-bezier(.22,.7,.2,1) forwards; }
@keyframes veinDraw{ to{ stroke-dashoffset:0; } }

/* =========================================================
   NAV — desktop
   ========================================================= */
.site-nav{
  position:fixed; top:0; left:0; right:0; z-index:200;
  padding:16px 0;
  transition: padding .35s ease, background .35s ease, box-shadow .35s ease, border-color .35s ease;
  border-bottom:1px solid transparent;
}
.site-nav.scrolled{
  padding:9px 0;
  background: rgba(5,8,13,0.88);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand svg{ height:52px; width:auto; transition: height .35s ease; }
.site-nav.scrolled .brand svg{ height:40px; }
.brand-word{ font-family:var(--font-display); font-weight:800; font-size:1.5rem; line-height:1.05; color:var(--cream); letter-spacing:.02em; text-transform:uppercase; }
.brand-word small{ display:block; font-family:var(--font-body); font-weight:400; font-style:italic; font-size:.62rem; letter-spacing:.1em; color:var(--gold-light); margin-top:4px; text-transform:none; }

.nav-links{ display:flex; align-items:center; gap:30px; list-style:none; margin:0; padding:0; }
.nav-links a{
  position:relative; font-size:.84rem; letter-spacing:.08em; text-transform:uppercase; font-weight:700;
  color: rgba(240,242,228,0.78); padding:6px 0; transition:color .3s ease;
}
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background: var(--gold);
  transform:scaleX(0); transform-origin:left; transition: transform .35s cubic-bezier(.22,.7,.2,1);
}
.nav-links a:hover, .nav-links a.active{ color: var(--cream); }
.nav-links a:hover::after, .nav-links a.active::after{ transform:scaleX(1); }

.nav-right{ display:flex; align-items:center; gap:16px; }
.lang-toggle{ display:flex; border:1px solid var(--line); border-radius:20px; overflow:hidden; flex-shrink:0; }
.lang-toggle button{
  background:none; border:none; color:rgba(240,242,228,.6); font-family:var(--font-body);
  font-size:.72rem; letter-spacing:.08em; padding:7px 13px; cursor:pointer; transition:.3s ease;
}
.lang-toggle button.active{ background:var(--gold); color:var(--teal-ink); font-weight:500; }

/* =========================================================
   NAV — mobile: persistent swipeable tab strip, no hamburger
   ========================================================= */
.mobile-tabs{ display:none; }
@media (max-width:880px){
  .nav-links{ display:none; }
  .mobile-tabs{
    display:flex; gap:8px; overflow-x:auto; scrollbar-width:none;
    padding:12px 20px 0; -webkit-overflow-scrolling:touch;
  }
  .mobile-tabs::-webkit-scrollbar{ display:none; }
  .mobile-tabs a{
    flex:0 0 auto; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; font-weight:700;
    color:rgba(240,242,228,.65); padding:8px 16px; border:1px solid var(--line); border-radius:20px;
    transition:.3s ease; white-space:nowrap;
  }
  .mobile-tabs a.active{ background:var(--gold); border-color:var(--gold); color:var(--teal-ink); font-weight:500; }
}

/* =========================================================
   PAGES / ROUTING + swipe animation
   ========================================================= */
.page{ display:none; }
.page.active{ display:block; }
.page.active.anim-fade{ animation: pageIn 1.1s ease both; }
.page.active.anim-left{ animation: slideInLeft .85s cubic-bezier(.22,.7,.2,1) both; }
.page.active.anim-right{ animation: slideInRight .85s cubic-bezier(.22,.7,.2,1) both; }
@keyframes pageIn{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }
@keyframes slideInLeft{ from{ opacity:0; transform:translateX(38px); } to{ opacity:1; transform:none; } }
@keyframes slideInRight{ from{ opacity:0; transform:translateX(-38px); } to{ opacity:1; transform:none; } }

/* =========================================================
   HERO — bounded banner image (not the global background)
   ========================================================= */
.hero{
  position:relative;
  padding:126px 0 56px;
  overflow:hidden;
}
.hero-banner{
  position:relative;
  border-radius:6px;
  overflow:hidden;
  border:1px solid var(--line);
  min-height:420px;
  display:flex; align-items:flex-end;
}
.hero-banner-media{
  position:absolute; inset:0; overflow:hidden;
  animation: heroSlowZoom 16s ease-in-out infinite alternate;
  will-change:transform;
}
.hero-banner-media img{
  width:100%; height:100%; object-fit:cover;
  filter:saturate(.92) brightness(.62);
  transition: transform .1s linear;
  will-change:transform;
}
@keyframes heroSlowZoom{ from{ transform:scale(1.06); } to{ transform:scale(1.15); } }
.hero-banner::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(5,8,13,.92) 0%, rgba(5,8,13,.55) 55%, rgba(5,8,13,.15) 100%);
}
.hero-banner-inner{ position:relative; z-index:2; padding:44px 40px; max-width:720px; margin:0 auto; text-align:center; }
.hero-eyebrow{
  display:inline-flex; align-items:center; justify-content:center; gap:10px; font-weight:700;
  font-size:.74rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gold-light); margin-bottom:16px;
  opacity:0; animation: fadeUp 1.3s .15s ease forwards;
}
.hero-eyebrow::before{ content:""; width:30px; height:1px; background:var(--gold); }
.hero h1{
  font-size: clamp(2rem, 4.6vw, 3.1rem); color:var(--cream); margin-bottom:14px;
  opacity:0; animation: fadeUp 1.3s .4s ease forwards;
}
.hero h1 em{ font-style:italic; color:var(--teal-bright); }
.hero-sub{
  max-width:56ch; font-size:.98rem; color:rgba(240,242,228,.82); margin-bottom:0;
  opacity:0; animation: fadeUp 1.3s .65s ease forwards;
}
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; margin-top:22px; opacity:0; animation: fadeUp 1.3s .9s ease forwards; }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:none; } }

.btn{
  display:inline-flex; align-items:center; gap:10px; padding:15px 32px; font-size:.8rem;
  letter-spacing:.1em; text-transform:uppercase; border-radius:50px; cursor:pointer; border:1px solid transparent;
  background:none; font-family:inherit; -webkit-appearance:none; appearance:none;
  transition: transform .3s cubic-bezier(.22,.7,.2,1), box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.btn-gold{ background:var(--gold); color:var(--teal-ink); }
.btn-gold:hover{ transform:translateY(-3px); box-shadow:0 14px 30px -12px rgba(179,147,106,.5); }
.btn-line{ border-color:rgba(240,242,228,.35); color:var(--cream); }
.btn-line:hover{ border-color:var(--teal-bright); color:var(--teal-bright); transform:translateY(-3px); }

@media (max-width:700px){
  .hero{ padding:118px 0 40px; }
  .hero-banner{ min-height:340px; }
  .hero-banner-inner{ padding:28px 24px; }
}

/* =========================================================
   SECTION SHELLS — centered dash heading pattern (applies site-wide)
   ========================================================= */
section{ padding:var(--sec-pad) 0; position:relative; }
.section-head{ max-width:640px; margin:0 auto 40px; text-align:center; }
.eyebrow-dash{
  display:block; font-size:.78rem; letter-spacing:.3em; text-transform:uppercase;
  color:var(--gold-light); margin-bottom:14px; font-weight:500;
}
.section-head h2{ font-size: clamp(1.7rem, 3vw, 2.35rem); color:var(--cream); font-weight:700; }
.section-head p{ font-size:.98rem; }

.reveal{ opacity:0; transform:translateY(24px); transition: opacity 1.6s cubic-bezier(.22,.7,.2,1), transform 1.6s cubic-bezier(.22,.7,.2,1); }
.reveal.in-view{ opacity:1; transform:none; }
.reveal-stagger > *{ opacity:0; transform:translateY(20px); transition: opacity 1.4s cubic-bezier(.22,.7,.2,1), transform 1.4s cubic-bezier(.22,.7,.2,1); }
.reveal-stagger.in-view > *{ opacity:1; transform:none; }
.reveal-stagger.in-view > *:nth-child(1){ transition-delay:.08s; }
.reveal-stagger.in-view > *:nth-child(2){ transition-delay:.22s; }
.reveal-stagger.in-view > *:nth-child(3){ transition-delay:.36s; }
.reveal-stagger.in-view > *:nth-child(4){ transition-delay:.5s; }
.reveal-stagger.in-view > *:nth-child(5){ transition-delay:.64s; }
.reveal-stagger.in-view > *:nth-child(6){ transition-delay:.78s; }

/* =========================================================
   IMAGE / CARD MOTION — pop-in on scroll + 3D tilt on hover
   ========================================================= */
.img-pop{
  opacity:0; transform:scale(.86) translateY(18px);
  transition: opacity 1.5s cubic-bezier(.22,.9,.25,1), transform 1.5s cubic-bezier(.22,.9,.25,1);
}
.img-pop.in-view{ opacity:1; transform:scale(1) translateY(0); }

/* Directional entrances — cards/photos travel in from a side to their resting place */
.dir-left, .dir-right, .dir-pop{
  transition: opacity 1.6s cubic-bezier(.16,.8,.24,1), transform 1.6s cubic-bezier(.16,.8,.24,1);
}
.dir-left{ opacity:0; transform:translateX(-170px) rotate(-2deg); }
.dir-right{ opacity:0; transform:translateX(170px) rotate(2deg); }
.dir-pop{ opacity:0; transform:translateY(46px) scale(.9); }
.dir-left.in-view, .dir-right.in-view, .dir-pop.in-view{ opacity:1; transform:none; }

/* On narrow screens the ±170px horizontal travel pushes content past the
   viewport edge (clipped by body{overflow-x:hidden}), which both causes
   the page to visually judder sideways and can leave a second photo
   permanently invisible if it never registers as "in view". Below 820px
   every directional entrance falls back to a simple vertical pop instead. */
@media (max-width:820px){
  .dir-left, .dir-right{ transform:translateY(30px) scale(.94); }
  .dir-left.in-view, .dir-right.in-view{ transform:none; }
}

.tilt-card{ will-change:transform; }

@media (prefers-reduced-motion: reduce){
  .img-pop, .dir-left, .dir-right, .dir-pop{ opacity:1 !important; transform:none !important; }
  .hero-banner-media{ animation:none !important; }
}

/* =========================================================
   DREAM HOME GALLERY — 3 equal images, modest size
   ========================================================= */
.dream-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.dream-card{ position:relative; overflow:hidden; border-radius:4px; aspect-ratio:4/3.4; border:1px solid var(--line); }
.dream-card img{ width:100%; height:100%; object-fit:cover; transition:transform .9s cubic-bezier(.22,.7,.2,1); filter:saturate(.88) brightness(.82); }
.dream-card:hover img{ transform:scale(1.06); }
@media (max-width:760px){ .dream-grid{ grid-template-columns:1fr; } .dream-card{ aspect-ratio:16/10; } }

/* =========================================================
   SERVICES GRID — photo cards, 3-across, title centered/bold
   ========================================================= */
.service-banner{
  position:relative; display:block; overflow:hidden; border-radius:4px; border:1px solid var(--gold);
  aspect-ratio:21/9; margin-bottom:18px; background-size:cover; background-position:center;
}
.service-banner::before{
  content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(5,8,13,.92) 0%, rgba(5,8,13,.55) 55%, rgba(5,8,13,.25) 100%);
}
.service-banner::after{
  content:""; position:absolute; inset:0; transition:transform .9s cubic-bezier(.22,.7,.2,1);
}
.service-banner-body{
  position:relative; z-index:2; height:100%; display:flex; flex-direction:column; justify-content:center; align-items:center;
  text-align:center; padding:20px 32px; max-width:640px; margin:0 auto;
}
.service-banner-body h3{ font-size:clamp(1.3rem,3vw,1.7rem); font-weight:700; color:var(--cream); margin-bottom:8px; }
.service-banner-body p{ font-size:.92rem; color:rgba(240,242,228,.85); margin-bottom:12px; }
.service-banner-body .go{
  font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-light);
  display:inline-flex; align-items:center; gap:6px;
}
.service-banner-body .go svg{ width:12px; height:12px; transition:transform .3s ease; }
.service-banner:hover .go svg{ transform:translateX(4px); }
@media (max-width:560px){ .service-banner{ aspect-ratio:4/5; } }

.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.service-tile{
  position:relative; display:block; overflow:hidden; border-radius:4px; border:1px solid var(--line);
  aspect-ratio:1/1.05;
}
.service-tile img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition: transform .9s cubic-bezier(.22,.7,.2,1), filter .4s ease;
  filter:saturate(.85) brightness(.72);
}
.service-tile:hover img{ transform:scale(1.07); }
.service-tile::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(5,8,13,.94) 0%, rgba(5,8,13,.55) 42%, rgba(5,8,13,.1) 75%);
}
.service-tile-body{ position:absolute; left:0; right:0; bottom:0; z-index:2; padding:22px 18px; text-align:center; }
.service-tile-body h3{ font-size:1.28rem; font-weight:700; color:var(--cream); margin-bottom:8px; }
.service-tile-body p{ font-size:.84rem; color:rgba(240,242,228,.78); margin-bottom:10px; }
.service-tile-body .go{
  font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-light);
  display:inline-flex; align-items:center; gap:6px;
}
.service-tile-body .go svg{ width:12px; height:12px; transition:transform .3s ease; }
.service-tile:hover .go svg{ transform:translateX(4px); }

@media (max-width:900px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .services-grid{ grid-template-columns:1fr; } .service-tile{ aspect-ratio:16/11; } }

/* =========================================================
   LOCATIONS STRIP (used on Home-bottom and About)
   ========================================================= */
.locations-strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.location-card{
  border:1px solid var(--line); padding:28px; border-radius:4px;
  background: rgba(23,96,107,0.16);
}
.location-card .flag{ font-size:1.5rem; margin-bottom:12px; display:block; }
.location-card h3{ color:var(--cream); font-size:1.18rem; }
.location-card p{ font-size:.88rem; margin-bottom:.6em; }
@media (max-width:900px){ .locations-strip{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .locations-strip{ grid-template-columns:1fr; } }

/* =========================================================
   SALES / WHY-US WRITE-UP (Home, between Services and Follow)
   ========================================================= */
.sales-card{
  max-width:760px; margin:0 auto; text-align:center; padding:34px 38px;
  border:1px solid var(--line); border-radius:6px; background:rgba(240,242,228,.03);
}
.sales-card p{ font-size:.98rem; color:rgba(240,242,228,.82); margin-bottom:14px; line-height:1.65; }
.sales-card p:last-of-type{ margin-bottom:20px; }
@media (max-width:620px){ .sales-card{ padding:26px 20px; } }

/* =========================================================
   TEAM SECTION (Home-bottom and About page)
   ========================================================= */
.team-strip{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; max-width:760px; margin:0 auto 26px; }
.team-strip img{
  width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; border-radius:4px;
  border:1px solid var(--line); filter:saturate(.92) brightness(.92);
}
.team-body{ max-width:640px; margin:0 auto; text-align:center; }
.team-body p{ font-size:.96rem; color:rgba(240,242,228,.82); }
@media (max-width:560px){ .team-strip{ grid-template-columns:1fr; } }

/* =========================================================
   SOCIAL ICON ROW
   ========================================================= */
.social-row{ display:flex; gap:14px; align-items:center; justify-content:center; flex-wrap:wrap; }
.social-btn{
  width:42px; height:42px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; color:var(--cream); transition:.3s ease; flex-shrink:0;
}
.social-btn svg{ width:17px; height:17px; }
.social-btn:hover{ border-color:var(--gold); color:var(--gold); transform:translateY(-3px); }
.social-btn.soon{ opacity:.4; }
.social-btn.soon:hover{ transform:none; border-color:var(--line); color:var(--cream); cursor:default; }

/* =========================================================
   SERVICES PAGE — detail rows
   ========================================================= */
.service-detail{
  display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center;
  padding:56px 0; border-bottom:1px solid var(--line);
}
.service-detail:last-of-type{ border-bottom:none; }
.service-detail:nth-of-type(even) .sd-photos{ order:2; }
.service-detail:nth-of-type(even) .sd-text{ order:1; }
.sd-tag{ font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-light); margin-bottom:12px; display:block; }
.sd-text h2{ font-size:clamp(1.5rem,2.4vw,2.05rem); text-align:left; }
.sd-text p{ font-size:.96rem; }
.sd-list{ list-style:none; margin:18px 0 0; padding:0; display:grid; gap:9px; }
.sd-list li{ font-size:.88rem; color:rgba(240,242,228,.75); display:flex; gap:9px; align-items:flex-start; }
.sd-list li svg{ width:14px; height:14px; margin-top:3px; color:var(--teal-bright); flex-shrink:0; }

.sd-photos{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.sd-photos.single{ grid-template-columns:1fr; }
.sd-photos img{ width:100%; height:100%; object-fit:cover; border-radius:4px; aspect-ratio:4/5; border:1px solid var(--line); filter:saturate(.92) brightness(.9); }
.sd-photos.single img{ aspect-ratio:16/10; }
.sd-photos a:nth-child(2){ margin-top:28px; }

@media (max-width:820px){
  .service-detail{ grid-template-columns:1fr; gap:24px; padding:40px 0; }
  .service-detail:nth-of-type(even) .sd-photos, .service-detail:nth-of-type(even) .sd-text{ order:0; }
  .sd-photos a:nth-child(2){ margin-top:0; }
  .sd-text{ text-align:center; }
  .sd-text h2{ text-align:center; }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-hero{ padding-top:132px; }
.about-lead{ font-size:1.2rem; font-family:var(--font-display); color:var(--cream); margin-bottom:16px; }
.about-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:start; }
.about-copy{ text-align:left; }
.about-copy p{ font-size:.98rem; }
.stat-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:32px; }
.stat{ border-top:1px solid var(--line); padding-top:14px; text-align:left; }
.stat b{ font-family:var(--font-display); font-size:1.8rem; color:var(--gold-light); display:block; }
.stat span{ font-size:.76rem; letter-spacing:.05em; color:rgba(240,242,228,.6); }
.values-list{ display:grid; gap:18px; text-align:left; }
.value-item{ border-left:1px solid var(--gold-dim); padding-left:18px; }
.value-item h4{ color:var(--cream); font-size:1.02rem; }
.value-item p{ font-size:.88rem; margin:0; }

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

/* =========================================================
   PORTFOLIO CARDS — shared by Home "Recent Works" + Portfolio page
   ========================================================= */
.portfolio-card{
  position:relative; display:block; overflow:hidden; border-radius:4px; aspect-ratio:4/3.4;
  border:1px solid var(--line); cursor:zoom-in;
}
.portfolio-card img{
  width:100%; height:100%; object-fit:cover;
  filter:saturate(.88) brightness(.82);
  transition: transform .9s cubic-bezier(.22,.7,.2,1), filter .4s ease;
}
.portfolio-card:hover img{ transform:scale(1.06); filter:saturate(1) brightness(.92); }
.portfolio-card .portfolio-cap{
  position:absolute; left:0; right:0; bottom:0; padding:20px 14px 12px;
  font-size:.78rem; color:var(--cream);
  background:linear-gradient(0deg, rgba(5,8,13,.88), transparent);
}
.portfolio-empty{
  font-size:.9rem; color:rgba(240,242,228,.55); font-style:italic; padding:18px 0;
}

/* Home page — Recent Works */
.recent-works-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:14px;
}
.recent-works-more{ text-align:center; margin-top:26px; }
@media (max-width:900px){ .recent-works-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .recent-works-grid{ grid-template-columns:1fr 1fr; gap:10px; } }

/* Portfolio page — grouped by category */
.portfolio-section{ padding:34px 0; border-bottom:1px solid var(--line); text-align:center; }
.portfolio-section:last-child{ border-bottom:none; }
.portfolio-section .eyebrow-dash{ display:block; text-align:center; margin-bottom:14px; }
.portfolio-section .portfolio-blurb{ max-width:640px; margin:0 auto 24px; font-size:.95rem; color:rgba(240,242,228,.78); }
.portfolio-grid{ text-align:left; }
.portfolio-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
@media (max-width:900px){ .portfolio-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:620px){ .portfolio-grid{ grid-template-columns:1fr 1fr; gap:10px; } }

/* =========================================================
   ADMIN — login + upload/manage panel
   ========================================================= */
.admin-panel{ max-width:760px; margin:0 auto; }
.admin-form{ display:flex; flex-direction:column; gap:16px; max-width:380px; margin:0 auto; }
.admin-form label{ display:flex; flex-direction:column; gap:6px; font-size:.82rem; color:rgba(240,242,228,.75); }
.admin-form input, .admin-form select{
  font-family:var(--font-body); font-size:.95rem; color:var(--cream);
  background:rgba(23,96,107,0.18); border:1px solid var(--line); border-radius:4px;
  padding:11px 13px; outline:none; transition:border-color .3s ease;
}
.admin-form input:focus, .admin-form select:focus{ border-color:var(--gold); }
.admin-form select option{ background:var(--teal-ink); color:var(--cream); }
.admin-error{ color:#e88; font-size:.85rem; text-align:center; }
.admin-status{ color:var(--gold-light); font-size:.85rem; text-align:center; margin-top:14px; }

.admin-panel-head{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  margin-bottom:36px; flex-wrap:wrap;
}
.admin-welcome{ font-size:.88rem; color:rgba(240,242,228,.7); margin:0; }

.admin-upload-card, .admin-manage-card{
  border:1px solid var(--line); border-radius:4px; padding:28px;
  background:rgba(23,96,107,0.12); margin-bottom:26px; max-width:none;
}
.admin-upload-card h3, .admin-manage-card h3{ color:var(--cream); font-size:1.1rem; margin-bottom:20px; }
.admin-form-row{ max-width:none; }
@media (min-width:640px){
  .admin-form-row{ flex-direction:row; flex-wrap:wrap; align-items:flex-end; }
  .admin-form-row label{ flex:1 1 200px; }
  .admin-form-row button{ flex:0 0 auto; }
}

.admin-photo-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(150px,1fr)); gap:14px; }
.admin-photo-item{ border:1px solid var(--line); border-radius:4px; overflow:hidden; background:rgba(0,0,0,.2); }
.admin-photo-item img{ width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.admin-photo-meta{
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  padding:8px 10px; font-size:.72rem; color:rgba(240,242,228,.7);
}
.admin-remove-btn{
  background:none; border:1px solid rgba(232,136,136,.4); color:#e88; border-radius:20px;
  font-size:.68rem; padding:4px 10px; cursor:pointer; transition:.3s ease;
}
.admin-remove-btn:hover{ background:rgba(232,136,136,.12); border-color:#e88; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-hero{ padding-top:132px; padding-bottom:44px; }
.contact-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:52px; }
.contact-card{ border:1px solid var(--line); border-radius:4px; padding:26px 22px; background: rgba(23,96,107,0.16); }
.contact-card .flag{ font-size:1.3rem; }
.contact-card h3{ color:var(--cream); font-size:1.05rem; margin:9px 0 14px; }
.contact-line{ display:flex; align-items:center; gap:9px; font-size:.88rem; color:rgba(240,242,228,.85); margin-bottom:9px; }
.contact-line svg{ width:15px; height:15px; color:var(--teal-bright); flex-shrink:0; }
.contact-line a{ color:inherit; border-bottom:1px solid transparent; transition:.3s ease; }
.contact-line a:hover{ border-color:var(--gold); color:var(--gold-light); }

@media (max-width:1050px){ .contact-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .contact-grid{ grid-template-columns:1fr; } }

/* =========================================================
   FOOTER
   ========================================================= */
footer{ border-top:1px solid var(--line); padding:44px 0 26px; margin-top:20px; position:relative; z-index:1; }
.footer-top{ display:flex; justify-content:space-between; gap:36px; flex-wrap:wrap; margin-bottom:32px; }
.footer-brand svg{ height:38px; margin-bottom:12px; }
.footer-brand p{ max-width:32ch; font-size:.86rem; }
.footer-cols{ display:flex; gap:56px; flex-wrap:wrap; }
.footer-col h5{ font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-light); margin-bottom:14px; }
.footer-col a{ display:block; font-size:.86rem; color:rgba(240,242,228,.72); margin-bottom:9px; transition:.3s ease; }
.footer-col a:hover{ color:var(--teal-bright); }
.footer-bottom{ display:flex; justify-content:flex-start; align-items:center; gap:22px; flex-wrap:wrap; padding-top:20px; padding-right:90px; border-top:1px solid var(--line); font-size:.75rem; color:rgba(240,242,228,.5); }
.footer-admin-link{ color:rgba(240,242,228,.4); font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; padding:4px 10px; border:1px solid var(--line); border-radius:3px; transition:color .3s ease, border-color .3s ease; }
.footer-admin-link:hover{ color:var(--gold-light); border-color:var(--gold-dim); }

/* =========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================= */
.wa-float{
  position:fixed; right:22px; bottom:22px; z-index:300; width:56px; height:56px; border-radius:50%;
  background:#25D366; color:#05080d; display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 28px -8px rgba(0,0,0,.55); animation: waPulse 2.8s ease-in-out infinite; transition: transform .3s ease;
}
.wa-float:hover{ transform:scale(1.08); }
.wa-float svg{ width:27px; height:27px; }
@keyframes waPulse{
  0%,100%{ box-shadow:0 12px 28px -8px rgba(0,0,0,.55), 0 0 0 0 rgba(37,211,102,.5); }
  50%{ box-shadow:0 12px 28px -8px rgba(0,0,0,.55), 0 0 0 14px rgba(37,211,102,0); }
}

/* =========================================================
   MISC
   ========================================================= */
.tag-pill{
  display:inline-block; font-size:.68rem; letter-spacing:.08em; text-transform:uppercase;
  border:1px solid var(--gold-dim); color:var(--gold-light); padding:4px 11px; border-radius:20px;
}
