/* Nairobi Camera Repair. Layout and style modelled on the WeFix repair theme:
   coral + charcoal, Space Grotesk headings, Manrope text, big rounded frames.
   Colours and fonts can be changed in Admin > Settings (they arrive as CSS variables). */
:root {
  --accent: #EF6550; --accent-dark: #D44C37; --accent-soft: #FDECE8; --on-accent: #FFFFFF;
  --dark: #1F1F1F; --dark-2: #2A2A2A;
  --ink: #1F1F1F; --text: #555555; --line: #E3E3E3; --soft: #F6F6F6; --paper: #FFFFFF;
  --font: 'Manrope', system-ui, 'Segoe UI', Arial, sans-serif; --font-head: 'Space Grotesk', system-ui, sans-serif;
  --wrap: 1240px; --r-btn: 3px; --r-big: 24px; --r-card: 20px; --gap: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.7; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 36px; }
.skip { position: absolute !important; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.nf { background: var(--accent-soft); margin: var(--gap); padding: 14px 28px; text-align: center; border-radius: 12px; }
.i { width: 1em; height: 1em; flex: none; }

/* Title case: headings, buttons, menus, labels */
h1, h2, h3, .abtn, .nav a, .blabel, .ulink, .faq summary, .qform label > span:first-child, .irow small, .quick b, .footer h2, .footer li a, .ask small, .help small, .sent b, .slide-cta { text-transform: capitalize; }
a[href^="mailto:"], a[href^="mailto:"] * { text-transform: none !important; }

/* Rounded full-width frames with a small margin, like the theme */
.shell { margin: var(--gap); border-radius: var(--r-big); position: relative; overflow: hidden; }

/* [ Bracket ] labels */
.blabel { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 500; color: var(--ink); margin: 0 0 14px; line-height: 1; }
.blabel::before, .blabel::after { content: ""; width: 4px; height: 15px; border: 1.5px solid currentColor; }
.blabel::before { border-right: 0; }
.blabel::after { border-left: 0; }
.blabel.light { color: #fff; }

/* Buttons: text box + filled arrow square, 3px corners */
.abtn { display: inline-flex; align-items: stretch; height: 44px; border: 1px solid var(--ink); border-radius: var(--r-btn); text-decoration: none; color: var(--ink); background: transparent; font: 600 .82rem/1 var(--font); cursor: pointer; padding: 0; overflow: hidden; transition: background .2s, color .2s; }
.abtn span { display: flex; align-items: center; padding: 0 20px; }
.abtn i { display: grid; place-items: center; width: 44px; margin: -1px -1px -1px 0; background: var(--ink); color: #fff; border-radius: var(--r-btn); }
.abtn i svg { width: 18px; height: 18px; transition: transform .2s; }
.abtn:hover { background: var(--ink); color: #fff; }
.abtn:hover i svg { transform: rotate(45deg); }
.abtn.coral { border-color: var(--accent); color: #fff; }
.abtn.coral i { background: var(--accent); }
.abtn.coral:hover { background: var(--accent); }
.abtn.coral:hover i { background: var(--accent-dark); }
.abtn.solid { background: var(--accent); border-color: var(--accent); color: #fff; height: 50px; }
.abtn.solid i { background: var(--ink); width: 50px; }
.abtn.solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.abtn[disabled] { opacity: .6; cursor: default; }
.ulink { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: .86rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.ulink .i { width: 14px; height: 14px; }
.ulink:hover { color: var(--accent); }
.sq { width: 36px; height: 36px; display: grid; place-items: center; background: var(--ink); color: #fff; border: 0; border-radius: 6px; cursor: pointer; }
.sq .i { width: 18px; height: 18px; }
.sq:hover { background: var(--accent); }

/* Hero frame: top bar, floating header, big photo */
.hero-shell { background: var(--dark); color: #fff; min-height: min(92vh, 860px); display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 20, .35) 0%, rgba(20, 20, 20, .55) 45%, rgba(20, 20, 20, .78) 100%); }
.topbar { position: relative; z-index: 2; margin: 14px 14px 0; padding: 0 22px; min-height: 40px; display: flex; align-items: center; gap: 26px; font-size: .82rem; background: rgba(30, 30, 30, .55); backdrop-filter: blur(6px); border-radius: 12px; }
.tb-item { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; }
.tb-item .i { width: 16px; height: 16px; }
.tb-right { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; }
.social { display: inline-flex; gap: 10px; align-items: center; }
.social a { display: inline-grid; place-items: center; color: inherit; }
.social svg { width: 15px; height: 15px; }
.header { position: relative; z-index: 20; margin: 12px 14px 0; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 12px 12px 24px; display: flex; align-items: center; gap: 22px; }
.brand img { height: 50px; width: auto; }
.nav { margin: 0 auto; display: flex; gap: 6px; }
.nav a { padding: 7px 14px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-size: .9rem; font-weight: 500; }
.nav a:hover, .nav a.on { border-color: var(--line); box-shadow: 0 2px 6px rgba(0, 0, 0, .05); }
.ask { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ask-i, .help-i { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; }
.ask-i .i { width: 17px; height: 17px; }
.ask small, .help small { display: block; font-size: .78rem; color: var(--text); line-height: 1.3; }
.ask b, .help b { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.menu-btn { display: none; width: 44px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; padding: 0 11px; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; }
.menu-btn span { display: block; height: 2px; background: var(--ink); }
.hero { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; padding: 70px 6% 90px 45%; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.08; margin-bottom: 26px; max-width: 14ch; }
.hero p { font-size: 1rem; color: rgba(255, 255, 255, .9); max-width: 48ch; margin-bottom: 40px; }

/* Brands */
.brands-sec { padding: 60px 0 30px; }
.brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.brands img { height: 54px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .55; transition: opacity .2s; }
.brands img:hover { opacity: .9; }

/* Sections */
.sec { padding: 90px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 44px; }
.sec-head h2 { max-width: 15ch; }
.sec-intro { max-width: 44ch; margin: 0; }
.center-head { text-align: center; margin-bottom: 50px; }
.center-head h2 { color: #fff; }

/* About ("Our Identity") */
.ident { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.ident-text h2 { max-width: 16ch; margin-bottom: 20px; }
.ident-text > p { max-width: 54ch; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; margin-top: 40px; }
.feat-i { width: 32px; height: 32px; color: var(--ink); margin-bottom: 14px; }
.feat h3 { font-family: var(--font); font-size: 1rem; font-weight: 500; color: var(--accent); margin-bottom: 8px; }
.feat p { font-size: .9rem; margin: 0; }
.ident-media { position: relative; }
.ident-media img { width: 100%; aspect-ratio: 1 / 0.82; object-fit: cover; border-radius: var(--r-card); }
.stat { position: relative; background: #fff; display: inline-block; padding: 0 30px 14px 0; border-bottom-right-radius: 20px; margin-bottom: -36px; z-index: 1; }
.stat b { display: flex; align-items: flex-start; font-family: var(--font-head); font-weight: 500; font-size: clamp(4rem, 7vw, 6rem); line-height: 1; color: var(--ink); }
.stat b span { color: var(--accent); font-size: .6em; margin-left: 4px; }
.stat small { display: block; font-size: .9rem; font-weight: 500; color: var(--ink); margin-top: 6px; }

/* Workshop banner with slider card */
.banner { height: 480px; margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; overflow: visible; background: var(--dark); }
.banner > img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-big) var(--r-big) 0 0; }
.banner::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-big) var(--r-big) 0 0; background: linear-gradient(0deg, rgba(20, 20, 20, .45), transparent 50%); pointer-events: none; }
.slider { position: absolute; z-index: 2; left: 50px; bottom: -60px; width: 300px; background: var(--dark); color: #d9d9d9; border-radius: var(--r-card); overflow: hidden; }
.slides { position: relative; min-height: 210px; }
.slide { position: absolute; inset: 0; padding: 30px 28px 20px; opacity: 0; visibility: hidden; transition: opacity .4s; }
.slide.on { opacity: 1; visibility: visible; }
.snum { display: block; font-family: var(--font-head); font-size: 2rem; color: #fff; line-height: 1; margin-bottom: 18px; }
.slide h3 { color: #fff; font-size: 1.3rem; margin-bottom: 12px; }
.slide p { font-size: .9rem; margin: 0; }
.slide-cta { display: flex; align-items: center; justify-content: center; gap: 6px; height: 52px; background: var(--accent); color: #fff; text-decoration: underline; text-underline-offset: 3px; font-size: .86rem; font-weight: 600; }
.slide-cta .i { width: 14px; height: 14px; }
.slide-cta:hover { background: var(--accent-dark); }
.dots { position: absolute; z-index: 2; right: 22px; bottom: 44px; color: #fff; font-size: .82rem; }
.dcount { display: block; margin-bottom: 10px; }
.dbars { display: flex; gap: 10px; }
.dbars button { width: 28px; height: 3px; padding: 0; border: 0; background: #fff; cursor: pointer; }
.dbars button.on { background: var(--accent); }

/* Dark services section */
.dark-sec { display: flow-root; background: var(--dark); margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; padding: 120px 0 0; overflow: visible; margin-bottom: 220px;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 46px 46px; }
.svc-wrap { position: relative; display: flex; align-items: center; gap: 30px; margin-bottom: -220px; }
.svc-track { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.svc-track::-webkit-scrollbar { display: none; }
.svc { scroll-snap-align: start; background: var(--soft); border-radius: var(--r-card); padding: 7px 7px 26px; border: 1px solid #ececec; }
.svc-pic { display: grid; place-items: center; height: 180px; background: #fff; border-radius: 16px; color: var(--accent); margin-bottom: 26px; }
.svc-pic svg { width: 76px; height: 76px; }
.svc h3 { padding: 0 20px 18px; margin: 0 0 18px; border-bottom: 1px solid #dcdcdc; margin-left: 20px; margin-right: 20px; padding-left: 0; padding-right: 0; }
.svc p { padding: 0 20px; font-size: .88rem; margin-bottom: 16px; min-height: 5.1em; }
.svc .ulink { margin-left: 20px; }

/* How it works ("Milestone") */
.mile { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.mile-media img { width: 100%; aspect-ratio: 1.27; object-fit: cover; border-radius: var(--r-card); margin-bottom: 30px; }
.mile-note { font-size: .86rem; font-weight: 600; color: var(--ink); max-width: 40ch; }
.help { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.help-i { background: var(--accent); border-color: var(--accent); color: #fff; }
.help-i .i { width: 17px; height: 17px; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 52px 150px 1fr; gap: 18px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.tile { display: grid; place-items: center; width: 52px; height: 52px; background: var(--soft); border-radius: 12px; color: var(--ink); }
.tile .i { width: 24px; height: 24px; }
.rows h3 { font-size: 1.1rem; }
.rows p { margin: 0; font-size: .88rem; }

/* Free opinion banner */
.cta { min-height: 440px; background: var(--dark); display: flex; align-items: center; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 20, .85) 0%, rgba(20, 20, 20, .55) 55%, rgba(20, 20, 20, .25) 100%); }
.cta-copy { position: relative; z-index: 1; padding: 60px 48px; max-width: 620px; }
.cta h2 { color: #fff; margin-bottom: 18px; }
.cta p { color: rgba(255, 255, 255, .85); margin-bottom: 34px; max-width: 46ch; }

/* FAQ in the soft grey panel */
.soft { background: #F7F7F7; padding: 90px 0;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .8) 25%, transparent 25%), linear-gradient(225deg, rgba(255, 255, 255, .6) 25%, transparent 25%); background-size: 520px 520px; }
.faqs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.faq { background: #fff; border: 1px solid #e6e6e6; border-radius: var(--r-card); padding: 0 26px; }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font-family: var(--font-head); font-weight: 500; font-size: 1.12rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 6px; font-size: 1.1rem; line-height: 1; }
.faq[open] summary::after { content: "−"; background: var(--accent); }
.faq p { border-top: 1px solid var(--line); padding-top: 16px; margin: 0 0 24px; font-size: .92rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; align-items: start; }
.form-card { background: var(--soft); border-radius: var(--r-card); padding: 40px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qform label { display: block; margin-bottom: 18px; }
.qform label > span { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.qform em { color: var(--accent); font-style: normal; }
.qform input, .qform textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; border: 1px solid #e2e2e2; border-radius: 10px; padding: 13px 16px; }
.qform textarea { resize: vertical; min-height: 140px; }
.qform input:focus, .qform textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.qform input::placeholder, .qform textarea::placeholder { color: #9a9a9a; }
.ferr { display: block; color: #C0392B; font-size: .84rem; margin-top: 5px; }
.formerr { background: #fff; border-left: 4px solid var(--accent); padding: 12px 16px; margin-bottom: 18px; border-radius: 6px; }
.sent b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.4rem; color: var(--ink); margin-bottom: 10px; }
.sent a { color: var(--accent); font-weight: 600; }
.info-card { background: var(--dark); color: #cfcfcf; border-radius: var(--r-card); padding: 30px; }
.irow { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #333; text-decoration: none; }
.irow .tile { background: transparent; border: 1px solid #3a3a3a; color: var(--accent); }
.irow small { display: block; font-size: .8rem; color: #a9a9a9; line-height: 1.3; }
.irow b { display: block; color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.45; }
a.irow:hover b { color: var(--accent); }
.map { display: block; width: 100%; height: 200px; border: 0; border-radius: 14px; margin-top: 22px; }

/* Footer */
.footer { background: var(--dark); color: #d6d6d6; padding: 70px 0 0; font-size: .88rem; }
.quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-bottom: 70px; border-bottom: 1px solid #3a3a3a; }
.quick a, .quick div { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.quick .tile { background: transparent; border: 1px solid #3f3f3f; color: var(--accent); }
.quick b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; color: #fff; line-height: 1.3; }
.quick small { display: block; font-size: .82rem; color: #d6d6d6; }
.fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding: 70px 0 60px; }
.flogo { height: 46px; width: auto; margin-bottom: 18px; background: #fff; padding: 6px 10px; border-radius: 6px; }
.flogo.plain { background: none; padding: 0; border-radius: 0; }
.fabout p { max-width: 36ch; }
.follow { color: #fff; font-weight: 600; margin: 26px 0 12px; }
.social.boxes a { width: 32px; height: 32px; border: 1px solid #444; border-radius: 6px; }
.social.boxes a:hover { border-color: var(--accent); color: var(--accent); }
.footer h2 { font-family: var(--font-head); font-size: 1.08rem; font-weight: 500; color: #fff; margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { text-decoration: none; color: #e6e6e6; }
.footer a:hover { color: var(--accent); }
.fcontact li { display: flex; gap: 10px; align-items: flex-start; }
.fcontact .i { width: 17px; height: 17px; margin-top: 3px; color: #fff; }
.legal { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #3a3a3a; padding: 22px 0 26px; font-size: .84rem; }

/* WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 50px; height: 50px; display: grid; place-items: center; background: var(--accent); color: #fff; border-radius: 10px; box-shadow: 0 8px 20px -6px rgba(239, 101, 80, .6); }
.wa-float .i { width: 26px; height: 26px; }
.wa-float:hover { background: var(--accent-dark); }

/* Responsive */
@media (max-width: 1100px) {
  .ask { display: none; }
  .hero { padding: 60px 8% 80px 30%; }
  .svc-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .quick { grid-template-columns: repeat(3, 1fr); }
  .fgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 14px; flex-direction: column; padding: 10px; margin: 0; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .3); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .header .abtn { margin-left: auto; }
  .header .menu-btn { margin-left: 0; }
  .hero { padding: 60px 30px 70px; }
  .ident, .mile, .contact, .faqs { grid-template-columns: 1fr; }
  .ident { gap: 50px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .rows li { grid-template-columns: 52px 1fr; }
  .rows p { grid-column: 2; }
}
@media (max-width: 640px) {
  :root { --gap: 8px; --r-big: 18px; }
  body { font-size: 15px; }
  .wrap { padding: 0 18px; }
  .hide-sm { display: none !important; }
  .hide-xs { display: none !important; }
  .topbar { margin: 8px 8px 0; padding: 0 14px; }
  .header { margin: 8px 8px 0; padding: 10px 10px 10px 14px; }
  .brand img { height: 42px; }
  .hero-shell { min-height: 620px; }
  .hero { padding: 50px 22px 60px; }
  .sec { padding: 64px 0; }
  .feats { grid-template-columns: 1fr; gap: 26px; }
  .banner { height: 360px; }
  .slider { left: 16px; right: 16px; width: auto; bottom: -70px; }
  .dots { top: 20px; bottom: auto; right: 18px; }
  .dark-sec { padding-top: 120px; margin-bottom: 200px; }
  .svc-wrap { gap: 0; }
  .svc-wrap .sq { display: none; }
  .svc-track { grid-auto-columns: 86%; }
  .cta-copy { padding: 44px 24px; }
  .form-card { padding: 24px 18px; }
  .frow { grid-template-columns: 1fr; gap: 0; }
  .quick { grid-template-columns: 1fr 1fr; }
  .fgrid { grid-template-columns: 1fr; gap: 30px; }
  .legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .header, .wa-float, .map { display: none; } }
.svc-wrap > .sq { margin-top: 150px; }

/* Simple homepage: services grid */
.dark-sec { margin: var(--gap); border-radius: var(--r-big); padding: 90px 0 100px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-grid .svc p { min-height: 0; }
.footer { padding-top: 0; }
.fgrid { padding-top: 70px; }
#About { padding-bottom: 60px; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .dark-sec { padding: 64px 0 70px; margin-bottom: var(--gap); } }
.about-btns { margin-top: 30px; }

/* Service photos (uploaded in Admin > Pictures) */
.svc-pic.photo { padding: 0; overflow: hidden; display: block; }
.svc-pic.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Photo gallery (only shown when photos are uploaded) */
.gallery-sec { padding-top: 30px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gitem { margin: 0; }
.gitem a { display: block; border-radius: var(--r-card); overflow: hidden; }
.gitem img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.gitem a:hover img { transform: scale(1.04); }
.gitem figcaption { font-size: .88rem; color: var(--ink); font-weight: 500; margin-top: 10px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* Phone: menu button at the far right of the header */
@media (max-width: 640px) { .header .menu-btn { margin-left: auto; } }

/* WhatsApp button in WhatsApp green */
.wa-float { background: #25D366; color: #fff; box-shadow: 0 8px 20px -6px rgba(37, 211, 102, .55); }
.wa-float:hover { background: #1EBE5A; }

/* Contact: no map, less space before the footer */
#Contact { padding-bottom: 36px; }
.contact { align-items: stretch; }
@media (max-width: 640px) { #Contact { padding-bottom: 24px; } }
#Contact { padding-top: 50px; }
.info-card { display: flex; flex-direction: column; justify-content: center; }
.info-card .irow:last-child { border-bottom: 0; }
