/*
Theme Name: Aztenix
Description: Custom WordPress and WooCommerce theme for Aztenix, Inc.
Version: 2.7.0
Text Domain: aztenix
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* =========================================
   RESET / BASE
========================================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article,
aside, canvas, details, embed, figure,
figcaption, footer, header, hgroup, menu,
nav, output, ruby, section, summary, time,
mark, audio, video{
  margin:0;
  padding:0;
  border:0;
  font-size:100%;
  font:inherit;
  vertical-align:baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section{
  display:block;
}

html{ scroll-behavior:smooth; }
body{ line-height:1.6; }

ol, ul{ list-style:none; }

blockquote, q{ quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after{ content:''; content:none; }

q{ display:inline; font-style:italic; }
q:before{ content:'"'; font-style:normal; }
q:after{ content:'"'; font-style:normal; }

table{ border-collapse:collapse; border-spacing:0; }
th, td{ padding:2px; }

big{ font-size:120%; }
small, sup, sub{ font-size:80%; }
sup{ vertical-align:super; }
sub{ vertical-align:sub; }

dd{ margin-left:20px; }
kbd, tt{ font-family:courier; font-size:12px; }
ins{ text-decoration:underline; }
del, strike, s{ text-decoration:line-through; }
dt{ font-weight:bold; }
address, cite, var{ font-style:italic; }

textarea,
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="search"],
input[type="password"]{
  appearance:none;
  border-radius:0;
}
input[type="search"]{ appearance:textfield; }

a{ text-decoration-skip-ink:auto; }
a[href^="tel"]{ color:inherit; text-decoration:none; }
button{ outline:0; }

*{
  box-sizing:border-box;
  -webkit-tap-highlight-color:transparent;
}

/* WordPress misc hooks (kept) */
.sticky{}
.bypostauthor{}
.wp-caption{}
.wp-caption-text{}
.gallery-caption{}
.alignright{}
.alignleft{}
.aligncenter{}

/* =========================================
   ACCESSIBILITY
========================================= */
.screen-reader-text{
  border:0;
  clip:rect(1px,1px,1px,1px);
  clip-path:inset(50%);
  height:1px;
  margin:-1px;
  overflow:hidden;
  padding:0;
  position:absolute !important;
  width:1px;
  word-wrap:normal !important;
  word-break:normal;
}
.screen-reader-text:focus{
  background-color:#f7f7f7;
  border-radius:3px;
  box-shadow:0 0 2px 2px rgba(0,0,0,.6);
  clip:auto !important;
  clip-path:none;
  color:#2F8F7A;
  display:block;
  font-size:14px;
  font-weight:700;
  height:auto;
  right:5px;
  line-height:normal;
  padding:15px 23px 14px;
  text-decoration:none;
  top:5px;
  width:auto;
  z-index:100000;
}
.skip-link{
  left:-9999rem;
  top:2.5rem;
  z-index:999999999;
  text-decoration:underline;
}
.skip-link:focus{
  display:block;
  left:6px;
  top:7px;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  line-height:normal;
  padding:15px 23px 14px;
  z-index:100000;
  right:auto;
}
.visually-hidden:not(:focus):not(:active),
.form-allowed-tags:not(:focus):not(:active){
  position:absolute !important;
  height:1px;
  width:1px;
  overflow:hidden;
  clip:rect(1px 1px 1px 1px);
  clip:rect(1px, 1px, 1px, 1px);
  white-space:nowrap;
}

/* =========================================
   THEME VARIABLES (GLOBAL)
========================================= */
:root{
  --header-h: 72px;
  --pad: 18px;
  --radius: 5px;

  /* Aztenix brand palette */
  --brand: #2F8F7A;
  --brand-hover: #1F6A5B;
  --brand-soft: #5FB3A2;

  --text: #111827;
  --heading: #000000;
  --bg: #ffffff;
  --surface: #F5F7F6;
  --border: #E5E7EB;

  /* Overlay menu */
  --overlay-bg: rgba(10,10,12,.96);
  --overlay-text: #ffffff;

  /* Optional status accents */
  --warn: #F59E0B;
  --danger: #DC2626;
}

/* =========================================
   BASE TYPO / INTERACTION
========================================= */
html, body{ touch-action:manipulation; }

body{
  margin:0;
  font-family:'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  letter-spacing:0.15px;
  background:var(--bg);
}

button, a{ touch-action:manipulation; }

a{
  color:inherit;
  text-decoration:none;
}
a:hover{ color:var(--brand-hover); }

/* Shared */
.logo{ font-weight:700; letter-spacing:0.3px; white-space:nowrap; }
.menu-panel a{ font-weight:700; }

/* =========================================
   HEADER
========================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  height:var(--header-h);
  display:flex;
  align-items:center;
  font-weight:500;

  background:rgba(255,255,255,0.65);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(17,24,39,0.08);
  box-shadow:0 1px 0 rgba(17,24,39,0.04);

  transition:
    background .25s ease,
    border-color .25s ease,
    backdrop-filter .25s ease;
}

.header-inner{
  width:100%;
  padding:0 var(--pad);
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:relative;
}

.slot-left,
.slot-right{
  flex:1;
  display:flex;
  align-items:center;
}

.slot-right{
  justify-content:flex-end;
  gap:10px;
}

.header-cta-menu{
  display:flex;
  align-items:center;
  margin:0;
  padding:0;
}
.header-cta-menu > li{
  margin:0;
  padding:0;
}

/* Center logo on desktop via absolute positioning */
.desktop-logo{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
}

/* Logo sizing */
.logo{
  position:relative;
  display:inline-block;
  height:36px;
}
.logo img{
  height:36px;
  width:auto;
  max-width:100%;
  display:block;
  object-fit:contain;
}

/* Logo swap (light/dark) */
.logo .logo-light,
.logo .logo-dark{
  height:36px;
  width:auto;
  display:block;
}
.logo .logo-dark{
  position:absolute;
  inset:0;
  margin:auto;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .15s ease, visibility 0s linear .15s;
}

/* Contact button */
.contact-btn{
  padding:12px 20px;
  border:1px solid transparent;
  border-radius:var(--radius);
  background:var(--brand);
  color:#ffffff;
  font-weight:700;
  letter-spacing:0.4px;
  transition:background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.contact-btn:hover,
.contact-btn:focus{
  background:var(--brand-hover);
  color:#ffffff;
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(0,0,0,0.18);
}
.contact-btn:active{
  color:#ffffff;
  transform:translateY(0);
}

/* Hamburger */
.hamburger-btn{
  width:32px;
  height:32px;
  padding:8px;
  border:none;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.hamburger{
  width:18px;
  height:14px;
  position:relative;
}
.hamburger span{
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background:var(--heading);
  border-radius:2px;
  transition:.25s;
}
.hamburger span:nth-child(1){ top:0; }
.hamburger span:nth-child(2){ top:6px; }
.hamburger span:nth-child(3){ top:12px; }

/* =========================================
   MENU OPEN STATE
========================================= */
.menu-open .site-header{
  background:transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  border-bottom-color:transparent;
}

.menu-open .site-header a,
.menu-open .site-header button{ color:#fff; }

/* Hamburger -> X */
.menu-open .hamburger span{ background:#fff; }
.menu-open .hamburger span:nth-child(1){
  top:6px;
  transform:rotate(45deg);
}
.menu-open .hamburger span:nth-child(2){ opacity:0; }
.menu-open .hamburger span:nth-child(3){
  top:6px;
  transform:rotate(-45deg);
}

/* Logo swap when menu open */
.menu-open .logo .logo-dark{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition:opacity .15s ease;
}
.menu-open .logo .logo-light{ opacity:0; }

.menu-open .contact-btn{
  background:var(--brand);
  border-color:transparent;
  color:#ffffff;
}
.menu-open .contact-btn:hover,
.menu-open .contact-btn:focus{
  background:var(--brand-hover);
  border-color:transparent;
  color:#ffffff;
}

/* =========================================
   FULLSCREEN OVERLAY MENU
========================================= */
.menu-overlay{
  position:fixed;
  inset:0;
  background:var(--overlay-bg);
  color:var(--overlay-text);
  display:grid;
  place-items:center;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:20;
}
.menu-open .menu-overlay{
  opacity:1;
  pointer-events:auto;
}

body.menu-open-lock{
  overflow:hidden;
}

.menu-panel{
  text-align:center;
}
.menu-list{
  display:flex;
  flex-direction:column;
  gap:28px;
  margin:0;
  padding:0;
}
.menu-panel a{
  font-size:clamp(40px, 6vw, 72px);
  line-height:1.1;
  letter-spacing:1px;
  transition:transform .15s ease, opacity .15s ease, color .15s ease;
}
.menu-panel a:hover,
.menu-panel a:focus{
  transform:translateY(-2px);
  opacity:0.9;
  color:var(--brand-soft);
}
/* =========================================
   RESPONSIVE LOGO VISIBILITY
========================================= */
@media (max-width: 720px){
  .desktop-logo{ display:none; }
  .mobile-logo{ display:flex; }
}
@media (min-width: 721px){
  .mobile-logo{ display:none; }
}

/* =========================================
   FOOTER (MATCHES HEADER STYLE)
========================================= */
.site-footer{
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(17,24,39,0.08);
  box-shadow: 0 -1px 0 rgba(17,24,39,0.04);
  color: var(--text);
}

.footer-container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:12px var(--pad);
}

/* Social */
.footer-social-inner{
  display:flex;
  justify-content:flex-end;
}
.footer-social-menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  margin:0;
  padding:0;
}
.footer-social-menu > li{
  margin:0;
  padding:0;
}

.social-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px;
  background:none;
  border:none;
  transition:transform .15s ease, opacity .15s ease;
}
.social-icon svg{
  width:22px;
  height:22px;
  fill: var(--text);
  opacity:0.7;
  transition:opacity .15s ease, fill .15s ease;
}
.social-icon:hover{ transform:translateY(-2px); }
.social-icon:hover svg{
  opacity:1;
  fill: var(--brand-hover);
}

/* Grid / cards */
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:24px;
}

.footer-col{
  background: rgba(255,255,255,0.55);
  border-radius:12px;
  padding:20px;
}

/* Logo + text */
.footer-logo{
  font-weight:700;
  font-size:18px;
  margin-bottom:12px;
  color: var(--heading);
}
.footer-logo img{
  max-width: 80px;
  margin-bottom: 15px;
}
.footer-text{
  color: var(--text);
  line-height:1.6;
  font-size:15px;
}
.footer-mini{ margin-top: 15px; }

/* Links */
.footer-menu{
  margin:0;
  padding:0;
}
.footer-menu li{
  border-top:1px solid var(--border);
}
.footer-menu li:first-child{ border-top:none; }
.footer-menu a{
  display:block;
  padding:10px 0;
  color:var(--text);
  transition:color .15s ease;
}
.footer-menu a:hover,
.footer-menu a:focus{
  color:var(--brand-hover);
}

/* Accordion header */
.footer-acc-btn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  background:none;
  border:none;
  color: var(--heading);
  font-weight:700;
  padding:14px 0;
  cursor:pointer;
}
.footer-col--accordion .footer-acc-btn{
  font-size:16.5px;
  letter-spacing:0.3px;
}

/* Accordion icon */
.footer-acc-icon{
  position:relative;
  width:14px;
  height:14px;
}
.footer-acc-icon::before,
.footer-acc-icon::after{
  content:"";
  position:absolute;
  background: var(--heading);
  border-radius:2px;
}
.footer-acc-icon::before{
  top:50%;
  left:0;
  right:0;
  height:2px;
  transform:translateY(-50%);
}
.footer-acc-icon::after{
  left:50%;
  top:0;
  bottom:0;
  width:2px;
  transform:translateX(-50%);
}

/* Accordion panel (base) */
.footer-acc-panel{ padding-top:6px; }

/* Bottom bar */
.footer-bottom{
  border-top:1px solid var(--border);
  margin-top:24px;
  padding-top:16px;
}
.footer-bottom-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:14px;
  color: var(--text);
}
.footer-bottom-links{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0;
  padding:0;
}
.footer-bottom-link{
  color: var(--text);
  transition:color .15s ease;
}
.footer-bottom-link:hover,
.footer-bottom-link:focus{
  color: var(--brand-hover);
  text-decoration:underline;
}

/* Mobile-only divider element (you add <div class="footer-mobile-divider"></div>) */
.footer-mobile-divider{ display:none; }

/* =========================================
   FOOTER RESPONSIVE + ACCORDION ANIMATION
========================================= */
@media (max-width: 820px){
  .footer-social-inner,
  .footer-social-menu{ justify-content:center; }

  .footer-grid{ grid-template-columns:1fr; }

  /* tighten padding on accordion columns only (as you had) */
  .footer-col--accordion{
    padding-top:0;
    padding-bottom:0;
  }

  /* show divider divs only on mobile */
  .footer-mobile-divider{
    display:block;
    width:100%;
    height:1px;
    background: var(--border);
  }

  /* smaller copyright text (as you had) */
  .footer-bottom-inner{ font-size:10px; }

  /* Accordion: animate (remove display:none conflicts) */
  .footer-col--accordion .footer-acc-panel{
    display:block;
    max-height:0;
    overflow:hidden;
    opacity:0;
    transition:max-height 260ms ease, opacity 200ms ease;
    will-change:max-height, opacity;
  }

  .footer-col--accordion.is-open .footer-acc-panel{
    max-height:600px;
    opacity:1;
  }

  /* Icon behavior on mobile */
  .footer-col--accordion .footer-acc-icon{
    transition:transform 200ms ease;
  }
  .footer-col--accordion.is-open .footer-acc-icon{
    transform:rotate(180deg);
  }

  /* If you’re using the “minus” trick, keep it */
  .footer-col--accordion.is-open .footer-acc-icon::after{
    display:none;
  }
}

@media (min-width: 821px){
  /* Desktop: no accordion affordance */
  .footer-acc-icon{ display:none; }
  .footer-acc-btn{ cursor:default; }
}
/* =========================================
   FULLSCREEN HERO
========================================= */
.hero{
  position:relative;
  min-height:calc(100vh - var(--header-h));
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#ffffff;

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

/* Dark overlay */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.45);
  z-index:1;
}

/* Content wrapper */
.hero-inner{
  position:relative;
  z-index:2;
  max-width:900px;
  padding:0 20px;
}

/* Headline */
.hero-title{
  font-size:clamp(36px, 6vw, 64px);
  font-weight:800;
  line-height:1.1;
  margin-bottom:18px;
  letter-spacing:0.4px;
}

/* Subtext */
.hero-text{
  font-size:clamp(16px, 2.2vw, 20px);
  opacity:0.95;
  margin-bottom:32px;
}

/* CTA button */
.hero-btn{
  display:inline-block;
  padding:14px 28px;
  border:none;
  border-radius:var(--radius);
  background:var(--brand);
  color:#ffffff;
  font-weight:700;
  letter-spacing:0.4px;
  cursor:pointer;
  transition:background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.hero-btn:hover,
.hero-btn:focus{
  background:var(--brand-hover);
  color:#ffffff;
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(0,0,0,0.25);
}

.hero-btn:active{
  color:#ffffff;
  transform:translateY(0);
}

/* Keyboard focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline:2px solid var(--brand);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{
    scroll-behavior:auto !important;
    transition-duration:0.01ms !important;
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
  }
}

/* =========================================
   CONTACT PAGE (CLEAN / WHITE)
========================================= */

.contact-bg{
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 40px var(--pad);
  background: var(--bg);
}

.contact-card{
  width: min(72rem, 100%);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
}

.contact-titlebar{ padding: 28px 28px 0; }

.contact-title{
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--heading);
}

.contact-body{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  padding: 28px;
}

.contact-left{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 28px;
  border-right: 1px solid var(--border);
}

.contact-company{
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--heading);
}

.contact-left a{
  color: var(--text);
  text-decoration: none;
}
.contact-left a:hover{ color: var(--brand-hover); }

.contact-social{
  display: flex;
  gap: 14px;
}

.social-diamond{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.social-diamond span{ transform: rotate(-45deg); }

.social-diamond:hover{
  background: rgba(47,143,122,.08);
  border-color: rgba(47,143,122,.45);
  color: var(--brand-hover);
}

.contact-form{
  display: grid;
  gap: 16px;
}

.field label{
  display: block;
  font-size: 12px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text);
  opacity: .7;
  margin-bottom: 6px;
}

.field input,
.field textarea{
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 0 12px;
  color: var(--text);
  font-weight: 600;
}

.field input:focus,
.field textarea:focus{
  outline: none;
  border-bottom-color: var(--brand);
}

/* Optional: placeholders */
.field input::placeholder,
.field textarea::placeholder{
  color: rgba(17,24,39,.45);
}

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

  .contact-left{
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 20px;
  }
}
