/*
Theme Name: Frogmen Technologies
Theme URI: https://frogmentec.ae/
Author: Frogmen Technologies
Author URI: https://frogmentec.ae/
Description: Premium, responsive WooCommerce theme for Frogmen Technologies and its underwater equipment and inspection services.
Version: 1.0.2
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frogmen-technologies
Tags: e-commerce, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
  --fm-blue: #0b5fff;
  --fm-blue-deep: #063b9a;
  --fm-cyan: #43c7f4;
  --fm-ink: #07152d;
  --fm-muted: #607087;
  --fm-line: #dce6f2;
  --fm-soft: #f3f7fb;
  --fm-white: #fff;
  --fm-space-1: .25rem;
  --fm-space-2: .5rem;
  --fm-space-3: .75rem;
  --fm-space-4: 1rem;
  --fm-space-5: 1.5rem;
  --fm-space-6: 2rem;
  --fm-space-7: 3rem;
  --fm-space-8: 4.5rem;
  --fm-space-9: 6.5rem;
  --fm-space-10: 9rem;
  --fm-type-h1: clamp(4rem, 8vw, 9rem);
  --fm-type-h2: clamp(3rem, 6vw, 7rem);
  --fm-type-h3: clamp(2rem, 3.6vw, 4.5rem);
  --fm-type-h4: clamp(1.5rem, 2.4vw, 2.5rem);
  --fm-type-h5: 1.25rem;
  --fm-type-h6: 1rem;
  --fm-type-body: 1rem;
  --fm-type-caption: .6875rem;
  --fm-radius-sm: 12px;
  --fm-radius-md: 20px;
  --fm-radius-lg: 32px;
  --fm-shadow-sm: 0 8px 24px rgba(8, 43, 98, .07);
  --fm-shadow-md: 0 18px 45px rgba(8, 43, 98, .10);
  --fm-shadow-lg: 0 24px 70px rgba(8, 43, 98, .13);
  --fm-shadow: var(--fm-shadow-lg);
  --fm-ease: cubic-bezier(.22, 1, .36, 1);
  --fm-ease-standard: cubic-bezier(.2, .8, .2, 1);
  --fm-duration-fast: 180ms;
  --fm-duration-base: 450ms;
  --fm-duration-slow: 800ms;
  --fm-blur: 18px;
  --fm-duration: 450ms;
  --fm-reveal-duration: 800ms;
  --fm-font-heading: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --fm-font-body: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fm-white); color: var(--fm-ink); font-family: var(--fm-font-body); }
h1,h2,h3,h4,h5,h6 { font-family: var(--fm-font-heading); }
h1 { font-size: var(--fm-type-h1); }
h2 { font-size: var(--fm-type-h2); }
h3 { font-size: var(--fm-type-h3); }
h4 { font-size: var(--fm-type-h4); }
h5 { font-size: var(--fm-type-h5); }
h6 { font-size: var(--fm-type-h6); }
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.fm-container { width: min(1440px, calc(100% - 48px)); margin-inline: auto; }
.entry-content > * { max-width: 780px; margin-inline: auto; }
.entry-content > .alignwide { max-width: 1200px; }
.entry-content > .alignfull { max-width: none; }
.entry-content p, .entry-content li { color: var(--fm-muted); font-size: 1rem; line-height: 1.8; }
.entry-content a { color: var(--fm-blue); text-decoration: underline; text-underline-offset: .2em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { width: auto; height: auto; top: 10px; left: 10px; z-index: 100000; padding: 12px 18px; clip: auto; background: #fff; color: var(--fm-ink); border-radius: 8px; box-shadow: var(--fm-shadow); }
.skip-link { position: fixed; }
.site-main { min-height: 60vh; }
.page-content-wrap { padding: 110px 0 140px; }
.page-content-wrap article > header { margin-bottom: 50px; text-align: center; }
.page-content-wrap h1, .archive-hero h1, .error-404 h1 { margin: 0; font-size: clamp(4rem, 8vw, 8rem); line-height: .88; letter-spacing: -.075em; }
.archive-hero { padding: 180px max(5vw,24px) 90px; text-align: center; background: radial-gradient(circle at 65% 28%,rgba(67,199,244,.18),transparent 33%),linear-gradient(180deg,#fff,#f5f9ff); }
.archive-hero p { max-width: 680px; margin: 28px auto 0; color: var(--fm-muted); font-size: 1.05rem; line-height: 1.75; }
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; padding: 80px 0 140px; }
.post-card { overflow: hidden; border: 1px solid var(--fm-line); border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(8,43,98,.06); }
.post-card-image { aspect-ratio: 16/10; display: block; overflow: hidden; background: var(--fm-soft); }
.post-card-image img { width:100%; height:100%; object-fit:cover; transition: transform .65s var(--fm-ease); }
.post-card:hover img { transform: scale(1.04); }
.post-card-content { padding: 25px; }
.post-card h2 { margin: 8px 0 14px; font-size: 1.6rem; letter-spacing: -.035em; }
.post-card p { color:var(--fm-muted); line-height:1.65; }
.error-404 { min-height: 75vh; padding: 180px 24px 100px; display:grid; place-items:center; text-align:center; }
.error-404 p { max-width:600px; color:var(--fm-muted); font-size:1.1rem; line-height:1.7; }
.pagination { padding-bottom: 120px; text-align:center; }
.pagination .nav-links { display:flex; justify-content:center; gap:8px; }
.pagination a,.pagination span { min-width:42px; min-height:42px; display:grid; place-items:center; border:1px solid var(--fm-line); border-radius:50%; }
.pagination .current { color:#fff; border-color:var(--fm-blue); background:var(--fm-blue); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-shell { min-height: 100vh; overflow: hidden; }
.site-header { position: fixed; z-index: 50; inset: 0 0 auto; padding: 18px 4vw; transition: padding var(--fm-duration) var(--fm-ease), background var(--fm-duration) ease, box-shadow var(--fm-duration) ease; }
.site-header.is-scrolled { padding-top: 10px; padding-bottom: 10px; background: rgba(255,255,255,.82); backdrop-filter: blur(var(--fm-blur)); box-shadow: 0 1px 0 rgba(8,43,98,.08); }
.header-inner { max-width: 1440px; height: 64px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; line-height: .9; }
.brand img { width: 39px; height: 43px; object-fit: contain; }
.custom-logo-link { display:flex; align-items:center; }
.custom-logo-link img { width:auto; max-width:210px; height:52px; object-fit:contain; }
.brand b { display: block; color: var(--fm-blue); font-size: 8px; letter-spacing: .22em; margin-top: 6px; }
nav { display: flex; gap: 30px; align-items: center; font-size: 13px; font-weight: 700; }
nav ul { margin:0; padding:0; list-style:none; }
.primary-menu { display:flex; align-items:center; gap:30px; }
.primary-menu > li { position:relative; }
.primary-menu > li > a { position:relative; padding:22px 0; display:block; }
.primary-menu > li > a::after { content:""; position:absolute; left:0; right:100%; bottom:15px; height:2px; background:var(--fm-blue); transition:right .35s var(--fm-ease); }
.primary-menu > li:hover > a::after,.primary-menu > .current-menu-item > a::after,.primary-menu > .current-menu-ancestor > a::after { right:0; }
.submenu-toggle { margin-left:5px; padding:6px; position:absolute; right:-20px; top:16px; border:0; background:none; cursor:pointer; }
.sub-menu { width:310px; padding:12px !important; position:absolute; top:calc(100% - 4px); left:-22px; display:grid; opacity:0; visibility:hidden; transform:translateY(10px); background:rgba(255,255,255,.98); border:1px solid var(--fm-line); border-radius:18px; box-shadow:var(--fm-shadow); transition:.3s var(--fm-ease); }
.menu-item-has-children:hover > .sub-menu,.menu-item-has-children:focus-within > .sub-menu,.menu-item-has-children.submenu-is-open > .sub-menu { opacity:1; visibility:visible; transform:translateY(0); }
.sub-menu .sub-menu { top:0; left:calc(100% + 8px); }
.sub-menu a { padding:11px 12px; display:block; border-radius:10px; color:#33445d; font-weight:600; }
.sub-menu a:hover,.sub-menu a:focus { color:var(--fm-blue); background:var(--fm-soft); }
nav > a, .nav-group > button { position: relative; padding: 22px 0; border: 0; background: none; cursor: pointer; }
nav > a::after, .nav-group > button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 15px; height: 2px; background: var(--fm-blue); transition: right .35s var(--fm-ease); }
nav > a:hover::after, nav > a.active::after, .nav-group:hover > button::after { right: 0; }
.nav-group { position: relative; }
.nav-menu { position: absolute; top: calc(100% - 4px); left: -22px; width: 310px; padding: 12px; display: grid; opacity: 0; visibility: hidden; transform: translateY(10px); background: rgba(255,255,255,.98); border: 1px solid var(--fm-line); border-radius: 18px; box-shadow: var(--fm-shadow); transition: .3s var(--fm-ease); }
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu a { padding: 11px 12px; border-radius: 10px; font-weight: 600; color: #33445d; }
.nav-menu a:hover { color: var(--fm-blue); background: var(--fm-soft); }
.cart-link { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.cart-link i { width: 22px; height: 22px; display: grid; place-items: center; background: var(--fm-blue); color: #fff; border-radius: 50%; font-size: 10px; font-style: normal; }
.menu-toggle { display: none; }

.hero { min-height: 930px; padding: 144px 4vw 80px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr); align-items: center; position: relative; background: radial-gradient(circle at 70% 32%, rgba(67,199,244,.16), transparent 34%), linear-gradient(180deg,#fff 0%,#f8fbff 100%); }
.hero-copy { z-index: 3; max-width: 620px; justify-self: end; padding-left: 16px; }
.eyebrow { margin: 0 0 22px; color: var(--fm-blue); font-size: 11px; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(5.6rem, 10vw, 10.8rem); line-height: .76; letter-spacing: -.085em; font-weight: 800; }
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 strong { margin-left: .34em; color: transparent; -webkit-text-stroke: 2px var(--fm-blue); font-weight: inherit; }
.hero-intro { max-width: 550px; margin: 40px 0 0; font-size: 18px; line-height: 1.72; color: var(--fm-muted); }
.hero-actions { margin-top: 35px; display: flex; align-items: center; gap: 28px; }
.button { min-height: 58px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; border-radius: 999px; font-weight: 800; font-size: 13px; transition: transform .35s var(--fm-ease), box-shadow .35s var(--fm-ease); }
.button-primary { color: #fff; background: linear-gradient(115deg,var(--fm-blue-deep),var(--fm-blue)); box-shadow: 0 13px 30px rgba(11,95,255,.25); }
.button:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11,95,255,.3); }
.text-link { padding: 12px 0; color: #34435a; border-bottom: 1px solid #a9b6c7; font-size: 13px; font-weight: 700; }
.hero-stats { margin: 52px 0 0; padding-top: 22px; display: flex; gap: 42px; border-top: 1px solid var(--fm-line); }
.hero-stats div { display: grid; gap: 5px; }
.hero-stats dt { font-size: 22px; font-weight: 850; }
.hero-stats dd { margin: 0; color: var(--fm-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.hero-visual { min-height: 680px; position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ""; width: 540px; height: 540px; position: absolute; border-radius: 50%; background: linear-gradient(145deg,#ecf7ff,#fff); box-shadow: inset 0 0 0 1px rgba(11,95,255,.08), 0 50px 80px rgba(10,61,145,.12); }
.hero-image-frame { width: min(820px, 62vw); aspect-ratio: 1.47; position: relative; z-index: 2; overflow: hidden; border-radius: 50% 42% 49% 46% / 45% 49% 42% 52%; box-shadow: var(--fm-shadow); animation: float 7s ease-in-out infinite; }
.hero-image-frame::after { content:""; position:absolute; inset:0; background:linear-gradient(115deg,rgba(10,61,145,.08),transparent 54%); }
.hero-image-frame img { object-fit: cover; }
.hero-image-frame > img { width:100%; height:100%; display:block; }
.hero-orbit { position: absolute; z-index: 1; border: 1px solid rgba(11,95,255,.2); border-radius: 50%; }
.orbit-one { width: 650px; height: 650px; animation: spin 26s linear infinite; }
.orbit-one::before { content:""; width:10px; height:10px; position:absolute; top:7%; left:22%; border-radius:50%; background:var(--fm-blue); box-shadow:0 0 20px var(--fm-blue); }
.orbit-two { width: 750px; height: 520px; transform: rotate(-19deg); }
.depth-card { position: absolute; z-index: 4; padding: 16px 18px; display: flex; align-items: center; gap: 13px; background: rgba(255,255,255,.72); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.8); border-radius: 16px; box-shadow: 0 18px 35px rgba(6,39,89,.12); font-size: 11px; }
.depth-card-top { top: 21%; left: 5%; display: grid; gap: 2px; }
.depth-card-top span { color: var(--fm-muted); text-transform: uppercase; letter-spacing: .15em; }
.depth-card-top strong { font-size: 28px; }
.depth-card-bottom { right: 5%; bottom: 19%; line-height: 1.4; }
.depth-card-bottom i { width: 10px; height: 10px; background: #39d3a5; border: 3px solid #d8fff2; border-radius: 50%; box-sizing: content-box; }
.hero-reveal { opacity: 0; transform: translateY(28px); animation: heroIn .85s var(--fm-ease) forwards; }
.hero-reveal:nth-child(2) { animation-delay: .12s; }
.hero-reveal:nth-child(3) { animation-delay: .24s; }
.hero-reveal:nth-child(4) { animation-delay: .36s; }
.hero-reveal:nth-child(5) { animation-delay: .48s; }
.scroll-cue { position:absolute; left:4vw; bottom:33px; display:flex; align-items:center; gap:12px; color:var(--fm-muted); font-size:9px; text-transform:uppercase; letter-spacing:.18em; transform:rotate(-90deg); transform-origin:left center; }
.scroll-cue i { width:52px; height:1px; background:var(--fm-line); position:relative; overflow:hidden; }
.scroll-cue i::after { content:""; position:absolute; width:50%; inset:0 auto 0 -50%; background:var(--fm-blue); animation:scan 2s ease-in-out infinite; }

.brand-rail { max-width: 1440px; margin: -34px auto 0; padding: 27px 34px; position: relative; z-index: 5; display: flex; align-items: center; gap: 42px; background: rgba(255,255,255,.88); backdrop-filter: blur(16px); border: 1px solid var(--fm-line); border-radius: var(--fm-radius-md); box-shadow: 0 22px 60px rgba(8,43,98,.1); }
.brand-rail p { width: 130px; flex: 0 0 auto; color: var(--fm-muted); font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: .16em; }
.brand-rail > div { width: 100%; display: grid; grid-template-columns: repeat(6,1fr); align-items: center; gap: 35px; }
.brand-rail img { width: 100%; height: 36px; object-fit: contain; filter: grayscale(1); opacity: .62; }
.preview-intro { max-width: 1100px; margin: 0 auto; padding: 145px 30px 130px; text-align: center; }
.preview-intro h2 { max-width: 940px; margin: 0 auto; font-size: clamp(3rem, 6vw, 6rem); line-height: .98; letter-spacing: -.065em; }

@keyframes heroIn { to { opacity:1; transform:translateY(0); } }
@keyframes float { 50% { transform: translate3d(0,-12px,0) rotate(.4deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scan { to { left:100%; } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: 840px; }
  .hero h1 { font-size: clamp(5rem, 12vw, 8rem); }
  .hero-visual::before { width: 410px; height: 410px; }
  .orbit-one { width: 500px; height: 500px; }
  .orbit-two { width: 550px; height: 390px; }
  .brand-rail { margin-left: 3vw; margin-right: 3vw; }
}

@media (max-width: 820px) {
  body.admin-bar .site-header { top: 46px; }
  .site-header { padding: 12px 20px; }
  .menu-toggle { width: 43px; height: 43px; display: grid; place-content:center; gap:6px; border: 1px solid var(--fm-line); border-radius: 50%; background:#fff; }
  .menu-toggle span:not(.sr-only) { width:16px; height:1px; display:block; background:var(--fm-ink); }
  nav { position: fixed; inset: 82px 18px auto; max-height: calc(100vh - 100px); padding: 20px; display: none; align-items: stretch; gap: 0; overflow:auto; background:#fff; border:1px solid var(--fm-line); border-radius:20px; box-shadow:var(--fm-shadow); }
  nav.is-open { display: grid; }
  nav > a, .nav-group > button { width:100%; padding:15px 5px; display:block; text-align:left; }
  .nav-menu { position:static; width:auto; padding:0 0 8px; display:grid; opacity:1; visibility:visible; transform:none; border:0; box-shadow:none; }
  .nav-menu a { padding:9px 13px; font-size:12px; }
  .primary-menu { display:grid; gap:0; }
  .primary-menu > li > a { width:100%; padding:15px 5px; }
  .submenu-toggle { right:0; top:8px; }
  .sub-menu,.sub-menu .sub-menu { width:auto; padding:0 0 8px 12px !important; position:static; display:none; opacity:1; visibility:visible; transform:none; border:0; box-shadow:none; }
  .menu-item-has-children.submenu-is-open > .sub-menu { display:grid; }
  .sub-menu a { padding:9px 13px; font-size:12px; }
  .cart-link { position:absolute; right:72px; }
  .hero { min-height:auto; padding:130px 24px 90px; grid-template-columns:1fr; }
  .hero-copy { max-width:none; padding:0; justify-self:stretch; }
  .hero h1 { font-size: clamp(5.2rem, 22vw, 8rem); }
  .hero h1 strong { margin-left:.16em; }
  .hero-intro { font-size:16px; }
  .hero-visual { min-height:480px; margin:35px -22px 0; }
  .hero-image-frame { width:92vw; }
  .hero-visual::before { width:340px; height:340px; }
  .orbit-one { width:410px; height:410px; }
  .orbit-two { display:none; }
  .depth-card-top { top:14%; left:3%; }
  .depth-card-bottom { right:2%; bottom:12%; }
  .scroll-cue { display:none; }
  .brand-rail { padding:24px; display:block; }
  .brand-rail p { width:auto; margin:0 0 22px; }
  .brand-rail > div { grid-template-columns:repeat(3,1fr); gap:24px; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

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

@media (max-width: 520px) {
  .brand span { display:none; }
  .cart-link span { display:none; }
  .hero-actions { align-items:flex-start; flex-direction:column; gap:15px; }
  .hero-stats { gap:20px; justify-content:space-between; }
  .hero-stats dt { font-size:18px; }
  .hero-stats dd { max-width:80px; line-height:1.4; }
  .depth-card-bottom { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .hero-reveal { opacity:1; transform:none; }
}

/* Content system */
.section-pad { padding: 150px max(5vw, 24px); }
.section-heading { max-width: 1440px; margin: 0 auto 74px; }
.section-heading h2, .faq-intro h2, .cta-band h2 { margin: 0; font-size: clamp(3.25rem, 6.3vw, 7rem); line-height: .92; letter-spacing: -.07em; }
.section-heading.split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .52fr); align-items: end; gap: 11vw; }
.section-heading.split > p { max-width: 520px; margin: 0 0 8px; color: var(--fm-muted); font-size: 16px; line-height: 1.75; }
[data-reveal] { opacity: 0; transform: translate3d(0, 32px, 0) scale(.985); transition: opacity var(--fm-reveal-duration) var(--fm-ease), transform var(--fm-reveal-duration) var(--fm-ease); transition-delay: var(--delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }

.intro-section { background: #fff; }
.intro-layout { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.14fr) minmax(360px,.86fr); gap: 9vw; align-items: center; }
.intro-image { min-height: 620px; position: relative; overflow: hidden; border-radius: var(--fm-radius-lg); box-shadow: var(--fm-shadow); }
.intro-image::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 60%,rgba(5,28,67,.72)); }
.intro-image img { object-fit: cover; transition: transform 1.2s var(--fm-ease); }
.intro-image:hover img { transform: scale(1.035); }
.image-label { position:absolute; z-index:2; left:28px; bottom:26px; color:#fff; font-size:11px; text-transform:uppercase; letter-spacing:.17em; }
.intro-copy .lead { margin:0; font-size:clamp(1.65rem,2.6vw,2.8rem); line-height:1.3; letter-spacing:-.035em; color:var(--fm-ink); }
.intro-copy > p:not(.lead) { margin:30px 0 36px; color:var(--fm-muted); font-size:16px; line-height:1.78; }
.button-outline { border:1px solid var(--fm-line); background:#fff; box-shadow:0 10px 25px rgba(8,43,98,.06); }

.purpose-section { padding-top:30px; max-width:1540px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.purpose-card { min-height:510px; padding:56px; position:relative; overflow:hidden; border:1px solid var(--fm-line); border-radius:var(--fm-radius-lg); background:linear-gradient(145deg,#fff,#f6faff); box-shadow:0 22px 60px rgba(8,43,98,.07); }
.purpose-card::before { content:""; width:280px; height:280px; position:absolute; right:-110px; top:-120px; border-radius:50%; background:radial-gradient(circle,rgba(67,199,244,.18),transparent 69%); }
.purpose-card > span { position:absolute; top:32px; right:38px; color:#9aabc0; font-size:12px; letter-spacing:.16em; }
.purpose-card h3 { max-width:620px; margin:100px 0 36px; font-size:clamp(2.5rem,4vw,4.8rem); line-height:.96; letter-spacing:-.06em; }
.purpose-card > p:last-child { max-width:650px; margin:0; color:var(--fm-muted); font-size:16px; line-height:1.75; }
.purpose-card.mission { background:linear-gradient(145deg,#f5faff,#fff 70%); }

.products-section { overflow:hidden; background:linear-gradient(180deg,#f8fbff 0,#fff 34%); }
.product-grid { max-width:1440px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:20px; perspective:1200px; }
.product-card { min-width:0; padding:11px 11px 27px; transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transform-style:preserve-3d; border:1px solid var(--fm-line); border-radius:24px; background:#fff; box-shadow:0 12px 34px rgba(8,43,98,.06); transition:transform .32s ease, box-shadow .4s var(--fm-ease), border-color .4s ease, opacity .8s var(--fm-ease); }
.product-card:hover { border-color:rgba(11,95,255,.28); box-shadow:0 30px 70px rgba(8,43,98,.14); }
.product-image { height:340px; position:relative; display:block; overflow:hidden; border-radius:17px; background:radial-gradient(circle at 50% 62%,#fff 0 28%,#eaf3fe 75%); }
.product-image img { z-index:2; object-fit:contain; padding:34px; transition:transform .7s var(--fm-ease); }
.product-image > img { width:100%; height:100%; position:absolute; inset:0; }
.product-card:hover .product-image img { transform:scale(1.065) translateY(-4px); }
.product-glow { width:62%; height:19%; position:absolute; z-index:1; left:19%; bottom:12%; border-radius:50%; background:rgba(11,95,255,.18); filter:blur(20px); transition:transform .7s var(--fm-ease),opacity .7s ease; }
.product-card:hover .product-glow { transform:scale(1.15); opacity:.75; }
.product-image small { position:absolute; z-index:3; top:14px; left:14px; padding:7px 10px; color:var(--fm-blue); background:rgba(255,255,255,.84); border:1px solid rgba(11,95,255,.13); border-radius:999px; font-size:9px; text-transform:uppercase; letter-spacing:.12em; }
.product-meta { padding:18px 8px 0; display:flex; justify-content:space-between; color:#8b9aaf; font-size:9px; text-transform:uppercase; letter-spacing:.15em; }
.product-card h3 { margin:14px 8px 11px; font-size:23px; letter-spacing:-.035em; }
.product-card > p { min-height:70px; margin:0 8px 20px; color:var(--fm-muted); font-size:13px; line-height:1.65; }
.card-link { margin:0 8px; padding-top:15px; display:flex; justify-content:space-between; border-top:1px solid var(--fm-line); color:var(--fm-blue); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; }
.section-link { max-width:1440px; margin:50px auto 0; text-align:right; }

.capability-band { min-height:760px; margin:0 max(2vw,14px); position:relative; overflow:hidden; display:flex; align-items:flex-end; border-radius:var(--fm-radius-lg); }
.capability-band > img { object-fit:cover; }
.capability-band > img { width:100%; height:100%; position:absolute; inset:0; }
.capability-overlay { position:absolute; inset:0; background:linear-gradient(90deg,rgba(3,20,50,.92) 0%,rgba(4,33,80,.69) 42%,rgba(3,22,52,.08) 76%),linear-gradient(0deg,rgba(3,20,50,.72),transparent 45%); }
.capability-copy { width:min(720px,70%); position:relative; z-index:2; padding:80px; color:#fff; }
.capability-copy .eyebrow { color:#7bdcff; }
.capability-copy h2 { margin:0; font-size:clamp(4rem,7vw,8rem); line-height:.9; letter-spacing:-.07em; }
.capability-copy > p:not(.eyebrow) { max-width:600px; margin:30px 0 34px; color:rgba(255,255,255,.75); font-size:17px; line-height:1.72; }
.button-light { color:var(--fm-ink); background:#fff; }
.capability-metric { position:absolute; z-index:2; right:70px; bottom:70px; display:grid; color:#fff; text-align:right; }
.capability-metric strong { font-size:72px; line-height:.9; }
.capability-metric span { margin-top:9px; color:rgba(255,255,255,.65); font-size:10px; text-transform:uppercase; letter-spacing:.16em; }

.faq-section { max-width:1540px; margin:0 auto; display:grid; grid-template-columns:.7fr 1.3fr; gap:10vw; }
.faq-intro { position:sticky; top:130px; align-self:start; }
.faq-intro h2 { font-size:clamp(3.3rem,5.4vw,6rem); }
.faq-intro > p:not(.eyebrow) { margin:30px 0 34px; color:var(--fm-muted); font-size:16px; line-height:1.75; }
.accordion { border-top:1px solid var(--fm-line); }
.faq-item { border-bottom:1px solid var(--fm-line); }
.faq-item button { width:100%; padding:28px 0; display:grid; grid-template-columns:45px 1fr 22px; align-items:start; gap:18px; border:0; background:none; text-align:left; cursor:pointer; }
.faq-item button > span { padding-top:3px; color:#93a2b5; font-size:10px; letter-spacing:.12em; }
.faq-item button strong { font-size:18px; line-height:1.45; letter-spacing:-.018em; }
.faq-item button i { width:18px; height:18px; position:relative; margin-top:3px; transition:transform .4s var(--fm-ease); }
.faq-item button i::before,.faq-item button i::after { content:""; position:absolute; background:var(--fm-blue); }
.faq-item button i::before { width:14px; height:2px; top:8px; left:2px; }
.faq-item button i::after { width:2px; height:14px; top:2px; left:8px; transition:transform .4s var(--fm-ease); }
.faq-item.is-open button i { transform:rotate(180deg); }
.faq-item.is-open button i::after { transform:scaleY(0); }
.faq-answer { display:grid; grid-template-rows:0fr; opacity:0; transition:grid-template-rows .45s var(--fm-ease),opacity .35s ease; }
.faq-answer > div { overflow:hidden; }
.faq-answer p { max-width:720px; margin:0; padding:0 40px 28px 63px; color:var(--fm-muted); font-size:15px; line-height:1.75; }
.faq-item.is-open .faq-answer { grid-template-rows:1fr; opacity:1; }

.cta-band { margin:0 max(2vw,14px) 30px; text-align:center; border:1px solid rgba(11,95,255,.13); border-radius:var(--fm-radius-lg); background:radial-gradient(circle at 50% 0,rgba(67,199,244,.18),transparent 45%),linear-gradient(180deg,#f4f9ff,#fff); }
.cta-band h2 { max-width:900px; margin:0 auto; }
.cta-band > div { margin-top:42px; display:flex; justify-content:center; gap:13px; }

/* Footer */
.site-footer { margin:0 14px 14px; padding:72px max(5vw,34px) 24px; overflow:hidden; color:#fff; border-radius:var(--fm-radius-lg); background:radial-gradient(circle at 85% 10%,rgba(38,128,255,.36),transparent 34%),#06152f; }
.footer-grid { max-width:1440px; margin:0 auto; display:grid; grid-template-columns:1.15fr .48fr .85fr 1.1fr; gap:55px; }
.footer-brand .brand b { color:#7bdcff; }
.footer-brand > p,.footer-contact p { color:rgba(255,255,255,.6); font-size:13px; line-height:1.7; }
.footer-brand > p { max-width:350px; margin:24px 0; }
.footer-title { margin:0 0 24px; color:#79d9ff; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.18em; }
.footer-links,.footer-contact { display:flex; flex-direction:column; align-items:flex-start; gap:12px; font-size:13px; }
.footer-links ul { margin:0; padding:0; display:grid; gap:12px; list-style:none; }
.footer-contact p { margin:7px 0 0; }
.footer-map { min-height:245px; overflow:hidden; border:1px solid rgba(255,255,255,.12); border-radius:18px; }
.footer-map iframe { width:100%; height:100%; border:0; filter:grayscale(.3) saturate(.8); }
.social-links { display:flex; gap:9px; }
.social-links a { width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.22); border-radius:50%; font-size:10px; font-weight:800; transition:transform .3s var(--fm-ease),background .3s ease; }
.social-links a:hover { transform:translateY(-3px); background:var(--fm-blue); }
.footer-bottom { max-width:1440px; margin:58px auto 0; padding-top:22px; display:flex; justify-content:space-between; color:rgba(255,255,255,.42); border-top:1px solid rgba(255,255,255,.1); font-size:9px; text-transform:uppercase; letter-spacing:.14em; }

/* Internal pages */
.page-hero { min-height:650px; padding:160px max(6vw,28px) 90px; display:grid; place-items:center; text-align:center; background:radial-gradient(circle at 65% 28%,rgba(67,199,244,.18),transparent 33%),linear-gradient(180deg,#fff,#f5f9ff); }
.page-hero.has-image { grid-template-columns:.78fr 1.22fr; gap:6vw; text-align:left; }
.page-hero-copy { max-width:900px; }
.page-hero-copy h1 { margin:0; font-size:clamp(4.6rem,9vw,10rem); line-height:.85; letter-spacing:-.08em; }
.page-hero-copy > p:last-child { max-width:650px; margin:32px auto 0; color:var(--fm-muted); font-size:17px; line-height:1.72; }
.page-hero.has-image .page-hero-copy > p:last-child { margin-left:0; }
.page-hero-image { width:100%; max-width:850px; aspect-ratio:1.4; position:relative; overflow:hidden; border-radius:45% 42% 46% 40%; box-shadow:var(--fm-shadow); }
.page-hero-image img { object-fit:cover; }
.page-hero-image > img { width:100%; height:100%; position:absolute; inset:0; }
.catalog-toolbar { max-width:1440px; margin:0 auto 45px; padding-bottom:20px; display:flex; justify-content:space-between; border-bottom:1px solid var(--fm-line); }
.catalog-toolbar p { margin:0; color:var(--fm-muted); font-size:13px; }
.filter-pills { display:flex; gap:9px; flex-wrap:wrap; }
.filter-pills button { padding:10px 16px; border:1px solid var(--fm-line); border-radius:999px; background:#fff; font-size:11px; font-weight:700; }
.filter-pills button.is-active { color:#fff; border-color:var(--fm-blue); background:var(--fm-blue); }
.catalog-grid { max-width:1440px; margin:auto; display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.service-overview { max-width:1440px; margin:auto; display:grid; grid-template-columns:1fr 1fr; gap:9vw; }
.service-overview h2,.contact-grid h2 { margin:0; font-size:clamp(3rem,5vw,5.5rem); line-height:.95; letter-spacing:-.06em; }
.service-copy p,.contact-copy > p { color:var(--fm-muted); font-size:17px; line-height:1.8; }
.service-list { margin-top:34px; display:grid; gap:11px; }
.service-list div { padding:20px 22px; display:flex; align-items:center; gap:16px; border:1px solid var(--fm-line); border-radius:15px; font-weight:700; }
.service-list i { width:9px; height:9px; border-radius:50%; background:var(--fm-blue); box-shadow:0 0 0 6px rgba(11,95,255,.09); }
.service-panel { padding:44px; border:1px solid var(--fm-line); border-radius:var(--fm-radius-lg); background:linear-gradient(145deg,#f3f8ff,#fff); }
.service-panel dl { display:grid; gap:24px; }
.service-panel div { padding-bottom:20px; border-bottom:1px solid var(--fm-line); }
.service-panel dt { color:var(--fm-muted); font-size:10px; text-transform:uppercase; letter-spacing:.15em; }
.service-panel dd { margin:7px 0 0; font-size:22px; font-weight:800; }
.product-detail { min-height:760px; padding:150px max(5vw,24px) 100px; display:grid; grid-template-columns:1.08fr .92fr; gap:7vw; align-items:center; background:linear-gradient(180deg,#fff,#f6faff); }
.product-gallery { min-height:600px; position:relative; border:1px solid var(--fm-line); border-radius:var(--fm-radius-lg); background:radial-gradient(circle,#fff 0 24%,#eaf3ff 78%); box-shadow:var(--fm-shadow); }
.product-gallery img { object-fit:contain; padding:70px; }
.product-summary h1 { margin:8px 0 20px; font-size:clamp(4rem,7vw,8rem); line-height:.87; letter-spacing:-.075em; }
.product-summary .price { color:var(--fm-blue); font-size:24px; font-weight:850; }
.product-summary > p { color:var(--fm-muted); font-size:16px; line-height:1.75; }
.product-actions { margin:32px 0; display:flex; gap:12px; }
.quantity { width:72px; display:grid; place-items:center; border:1px solid var(--fm-line); border-radius:999px; }
.product-specs { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.product-specs div { padding:16px; border:1px solid var(--fm-line); border-radius:14px; }
.product-specs dt { color:var(--fm-muted); font-size:9px; text-transform:uppercase; letter-spacing:.12em; }
.product-specs dd { margin:7px 0 0; font-weight:800; }
.contact-grid { max-width:1440px; margin:auto; display:grid; grid-template-columns:.9fr 1.1fr; gap:10vw; }
.contact-list { margin-top:38px; display:grid; gap:18px; }
.contact-list a,.contact-list p { margin:0; padding:20px; border:1px solid var(--fm-line); border-radius:14px; color:var(--fm-ink); font-size:14px; }
.contact-form { padding:44px; display:grid; gap:18px; border:1px solid var(--fm-line); border-radius:var(--fm-radius-lg); box-shadow:var(--fm-shadow); }
.contact-form label { display:grid; gap:8px; color:var(--fm-muted); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; }
.contact-form input,.contact-form textarea,.contact-form select { width:100%; padding:15px 0; border:0; border-bottom:1px solid var(--fm-line); outline:none; background:#fff; color:var(--fm-ink); font:inherit; text-transform:none; letter-spacing:0; }
.contact-form textarea { min-height:130px; resize:vertical; }
.form-honeypot { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important; }
.form-notice { margin:0; padding:14px 16px; border-radius:10px; font-size:.9rem; }
.form-notice.success { color:#075c3f; background:#e2fbf1; }
.form-notice.error { color:#8a1f2c; background:#fff0f2; }

@media (max-width: 1150px) {
  .product-grid,.catalog-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1.2fr .55fr 1fr; }
  .footer-map { grid-column:1/-1; }
}

@media (max-width: 820px) {
  .section-pad { padding-top:100px; padding-bottom:100px; }
  .section-heading.split,.intro-layout,.purpose-section,.faq-section,.service-overview,.contact-grid,.product-detail,.page-hero.has-image { grid-template-columns:1fr; }
  .section-heading.split { gap:26px; }
  .intro-image { min-height:410px; }
  .purpose-section { padding-left:20px; padding-right:20px; }
  .purpose-card { min-height:440px; padding:36px; }
  .purpose-card h3 { margin-top:75px; }
  .capability-band { min-height:650px; }
  .capability-copy { width:100%; padding:45px 28px; }
  .capability-metric { right:28px; bottom:auto; top:32px; }
  .capability-metric strong { font-size:44px; }
  .faq-intro { position:static; }
  .faq-section { gap:65px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-brand,.footer-map { grid-column:1/-1; }
  .page-hero { min-height:570px; padding-top:140px; }
  .page-hero.has-image { padding-bottom:60px; }
  .page-hero-image { aspect-ratio:1.35; }
  .product-detail { padding-top:130px; }
  .product-gallery { min-height:450px; }
}

@media (max-width: 560px) {
  .product-grid,.catalog-grid,.footer-grid { grid-template-columns:1fr; }
  .product-image { height:360px; }
  .purpose-card { min-height:480px; }
  .capability-copy h2 { font-size:3.8rem; }
  .capability-metric { display:none; }
  .faq-item button { grid-template-columns:30px 1fr 18px; gap:10px; }
  .faq-answer p { padding-left:40px; }
  .cta-band > div,.product-actions { flex-direction:column; }
  .cta-band .button { width:100%; }
  .site-footer { padding-left:24px; padding-right:24px; }
  .footer-brand,.footer-map { grid-column:auto; }
  .footer-bottom { flex-direction:column; gap:10px; }
  .catalog-toolbar { align-items:flex-start; flex-direction:column; gap:18px; }
  .product-specs { grid-template-columns:1fr; }
  .product-gallery { min-height:390px; }
  .product-gallery img { padding:35px; }
  .contact-form,.service-panel { padding:27px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity:1; transform:none; }
}
