/* ============================================
   1nify.com — Shared Stylesheet
   Brand: #007565 | #2f8474 | #ed7200 | #fff | #545454
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap&font-display=swap');

/* ── Variables ── */
:root {
  --teal:      #007565;
  --teal-mid:  #2f8474;
  --orange:    #ed7200;
  --orange-lt: #ff8c1a;
  --white:     #ffffff;
  --gray:      #545454;
  --gray-lt:   #f5f7f6;
  --gray-md:   #e0e8e6;
  --dark:      #0d1f1c;
  --dark-2:    #122520;
  --text:      #1a2e2b;
  --radius:    10px;
  --radius-lg: 18px;
  --shadow:    0 4px 24px rgba(0,117,101,.12);
  --shadow-lg: 0 12px 48px rgba(0,117,101,.18);
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --max:       1200px;
  --font-head: 'Lexend Deca', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  /* Extended palette — used in index.html node canvas and accents */
  --pink:      #f4a7a7;
  --blue-lt:   #a7c7e7;
  --teal-lt:   #4ecdc4;
}

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font-body);color:var(--text);background:var(--white);line-height:1.65;font-size:17px;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}

/* ── Typography ── */
h1,h2,h3,h4,h5{font-family:var(--font-head);line-height:1.18;font-weight:800}
h1{font-size:clamp(2rem,5vw,3.6rem)}
h2{font-size:clamp(1.6rem,3.5vw,2.6rem)}
h3{font-size:clamp(1.2rem,2.5vw,1.7rem)}
h4{font-size:1.15rem;font-weight:700}
p{margin-bottom:1em}
p:last-child{margin-bottom:0}

/* ── Container ── */
.container{width:min(100%,var(--max));margin-inline:auto;padding-inline:clamp(1rem,5vw,2.5rem)}
.section{padding-block:clamp(3.5rem,8vw,6rem)}
.section--dark{background:var(--dark);color:var(--white)}
.section--teal{background:var(--teal);color:var(--white)}
.section--gray{background:var(--gray-lt)}

/* ── Buttons ── */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.75rem;border-radius:var(--radius);font-family:var(--font-head);font-size:.95rem;font-weight:700;cursor:pointer;border:2px solid transparent;transition:var(--transition);white-space:nowrap;text-align:center;line-height:1.2}
.btn-primary{background:var(--orange);color:var(--white);border-color:var(--orange)}
.btn-primary:hover{background:var(--orange-lt);border-color:var(--orange-lt);transform:translateY(-2px);box-shadow:0 6px 24px rgba(237,114,0,.35)}
.btn-outline{background:transparent;color:var(--white);border-color:rgba(255,255,255,.6)}
.btn-outline:hover{background:rgba(255,255,255,.1);border-color:var(--white)}
.btn-outline-dark{background:transparent;color:var(--teal);border-color:var(--teal)}
.btn-outline-dark:hover{background:var(--teal);color:var(--white)}
.btn-lg{padding:1rem 2.25rem;font-size:1.05rem}
.btn-sm{padding:.55rem 1.2rem;font-size:.85rem}

/* ── Badge / Tag ── */
.badge{display:inline-block;padding:.3rem .85rem;border-radius:50px;font-size:.78rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;font-family:var(--font-head)}
.badge-orange{background:rgba(237,114,0,.12);color:var(--orange)}
.badge-teal{background:rgba(0,117,101,.12);color:var(--teal)}
.badge-white{background:rgba(255,255,255,.15);color:var(--white)}

/* ── Navigation ── */
.nav{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--gray-md);transition:var(--transition)}
.nav__inner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding-block:.9rem}
.nav__logo img{height:44px;width:auto}
.nav__links{display:flex;align-items:center;gap:.25rem}
.nav__links a{padding:.5rem .9rem;border-radius:8px;font-size:.92rem;font-weight:500;color:var(--gray);transition:var(--transition)}
.nav__links a:hover,.nav__links a.active{color:var(--teal);background:rgba(0,117,101,.07)}
.nav__dropdown{position:relative;display:inline-block}
.nav__dropdown-content{position:absolute;top:100%;left:50%;transform:translateX(-50%);background:var(--white);min-width:220px;border-radius:var(--radius);border:1px solid var(--gray-md);box-shadow:var(--shadow-lg);padding:.5rem;display:none;flex-direction:column;gap:.25rem;opacity:0;transition:opacity .2s, transform .2s;transform-origin:top}
.nav__dropdown:hover .nav__dropdown-content{display:flex;opacity:1}
.nav__dropdown-content a{padding:.6rem 1rem;font-size:.85rem;color:var(--text);border-radius:6px;width:100%;text-align:left}
.nav__dropdown-content a:hover,.nav__dropdown-content a.active{background:var(--gray-lt);color:var(--teal)}
.nav__cta{margin-left:.5rem}
.nav__burger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:.4rem;border:none;background:none;border-radius:6px}
.nav__burger span{display:block;width:24px;height:2px;background:var(--text);border-radius:2px;transition:var(--transition)}
.nav__mobile{display:none;flex-direction:column;gap:.25rem;padding:1rem 0 1.25rem;border-top:1px solid var(--gray-md)}
.nav__mobile a{padding:.65rem 1rem;border-radius:8px;font-size:1rem;font-weight:500;color:var(--gray)}
.nav__mobile-sub{padding-left:2rem !important;font-size:.9rem !important;font-weight:400 !important;color:var(--gray);border-left:2px solid var(--gray-md);margin-left:1rem}
.nav__mobile a:hover{color:var(--teal);background:rgba(0,117,101,.07)}
.nav__mobile .btn{margin-top:.5rem;width:100%;justify-content:center}

@media(max-width:900px){
  .nav__links,.nav__cta{display:none}
  .nav__burger{display:flex}
  .nav__mobile.open{display:flex}
}

/* ── Hero (shared base) ── */
.hero{position:relative;overflow:hidden;background:var(--dark);color:var(--white);padding-block:clamp(4rem,10vw,7rem)}
.hero__grid{position:absolute;inset:0;background-image:linear-gradient(rgba(0,117,101,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(0,117,101,.12) 1px,transparent 1px);background-size:48px 48px;z-index:0}
.hero__glow{position:absolute;width:600px;height:600px;background:radial-gradient(circle,rgba(0,117,101,.22) 0%,transparent 70%);border-radius:50%;top:-100px;right:-100px;z-index:0;pointer-events:none}
.hero__glow2{position:absolute;width:400px;height:400px;background:radial-gradient(circle,rgba(237,114,0,.12) 0%,transparent 70%);border-radius:50%;bottom:-80px;left:10%;z-index:0;pointer-events:none}
.hero__content{position:relative;z-index:1}
.hero__eyebrow{display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem}
.hero__eyebrow::after{content:'';flex:1;height:1px;background:rgba(0,117,101,.4);max-width:80px}
.hero__title{margin-bottom:1.25rem;color:var(--white)}
.hero__title span{color:var(--orange)}
.hero__sub{font-size:clamp(.95rem,2vw,1.15rem);color:rgba(255,255,255,.75);max-width:580px;margin-bottom:2rem;font-weight:300}
.hero__actions{display:flex;flex-wrap:wrap;gap:1rem}

/* ── Hero circuit decoration ── */
.circuit{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.circuit svg{position:absolute;opacity:.08;width:100%;height:100%}

/* ── Section header ── */
.sec-header{text-align:center;margin-bottom:clamp(2rem,5vw,3.5rem)}
.sec-header .badge{margin-bottom:.9rem}
.sec-header h2{margin-bottom:.75rem}
.sec-header p{max-width:580px;margin-inline:auto;color:var(--gray);font-size:1.05rem}
.sec-header--left{text-align:left}
.sec-header--left p{margin-inline:0}

/* ── Cards ── */
.card{background:var(--white);border-radius:var(--radius-lg);border:1px solid var(--gray-md);padding:2rem;transition:var(--transition);position:relative;overflow:hidden}
.card:hover{box-shadow:var(--shadow-lg);border-color:var(--teal-mid);transform:translateY(-4px)}
.card__icon{width:52px;height:52px;border-radius:12px;background:rgba(0,117,101,.1);display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem;color:var(--teal);font-size:1.4rem}
.card__icon svg{width:26px;height:26px;stroke:var(--teal);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ── Grid helpers ── */
.grid{display:grid;gap:1.5rem}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.grid-4{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}

/* ── Stats row ── */
.stats{display:flex;flex-wrap:wrap;gap:2rem}
.stat__num{font-family:var(--font-head);font-size:2.4rem;font-weight:800;color:var(--orange);line-height:1}
.stat__label{font-size:.85rem;color:rgba(255,255,255,.65);margin-top:.25rem}
.stats--dark .stat__label{color:rgba(255,255,255,.6)}
.stats--light .stat__num{color:var(--teal)}
.stats--light .stat__label{color:var(--gray)}

/* ── Divider ── */
.divider{height:1px;background:var(--gray-md);margin-block:1rem}

/* ── Pill list ── */
.pill-list{display:flex;flex-wrap:wrap;gap:.6rem}
.pill{padding:.35rem .9rem;border-radius:50px;background:rgba(0,117,101,.08);color:var(--teal);font-size:.82rem;font-weight:600;font-family:var(--font-head)}

/* ── Portfolio card ── */
.port-card{border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--gray-md);transition:var(--transition);background:var(--white)}
.port-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.port-card__thumb{height:180px;background:linear-gradient(135deg,var(--teal),var(--teal-mid));display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.port-card__thumb::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(237,114,0,.2),transparent)}
.port-card__thumb-text{font-family:var(--font-head);font-size:1.4rem;font-weight:800;color:rgba(255,255,255,.25);letter-spacing:.1em}
.port-card__body{padding:1.5rem}
.port-card__tag{font-size:.78rem;font-weight:600;color:var(--orange);text-transform:uppercase;letter-spacing:.06em;margin-bottom:.5rem;font-family:var(--font-head)}
.port-card__title{font-size:1.1rem;font-weight:700;margin-bottom:.5rem;font-family:var(--font-head)}
.port-card__desc{font-size:.9rem;color:var(--gray);line-height:1.55}
.port-card__link{display:inline-flex;align-items:center;gap:.35rem;margin-top:1rem;font-size:.85rem;font-weight:600;color:var(--teal)}
.port-card__link svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;transition:var(--transition)}
.port-card__link:hover svg{transform:translateX(3px)}

/* ── FAQ accordion ── */
.faq-item{border-bottom:1px solid var(--gray-md)}
.faq-q{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.25rem 0;cursor:pointer;font-weight:600;font-size:1rem;font-family:var(--font-head)}
.faq-q svg{flex-shrink:0;width:20px;height:20px;stroke:var(--teal);fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;transition:var(--transition)}
.faq-item.open .faq-q svg{transform:rotate(45deg)}
.faq-a{display:none;padding-bottom:1.25rem;color:var(--gray);font-size:.95rem;line-height:1.7}
.faq-item.open .faq-a{display:block}

/* ── Process steps ── */
.steps{counter-reset:step}
.step{display:flex;gap:1.5rem;padding-bottom:2.5rem;position:relative}
.step:not(:last-child)::after{content:'';position:absolute;left:21px;top:52px;bottom:0;width:2px;background:linear-gradient(var(--teal-mid),var(--gray-md))}
.step__num{flex-shrink:0;width:44px;height:44px;border-radius:50%;background:var(--teal);color:var(--white);display:flex;align-items:center;justify-content:center;font-family:var(--font-head);font-weight:800;font-size:1rem}
.step__body{padding-top:.1rem}
.step__body h4{margin-bottom:.4rem;font-size:1.05rem}
.step__body p{font-size:.93rem;color:var(--gray)}

/* ── CTA band ── */
.cta-band{background:linear-gradient(135deg,var(--teal) 0%,var(--dark-2) 100%);color:var(--white);padding-block:clamp(3rem,7vw,5rem);text-align:center;position:relative;overflow:hidden}
.cta-band::before{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:36px 36px}
.cta-band__inner{position:relative;z-index:1}
.cta-band h2{margin-bottom:.75rem;color:var(--white)}
.cta-band p{margin-bottom:2rem;color:rgba(255,255,255,.75);max-width:500px;margin-inline:auto}

/* ── Footer ── */
.footer{background:var(--dark);color:rgba(255,255,255,.75);padding-top:clamp(3rem,6vw,5rem)}
.footer__grid{display:grid;grid-template-columns:1fr;gap:2.5rem}
@media(min-width:600px){.footer__grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.footer__grid{grid-template-columns:2fr 1fr 1fr 1fr}}
.footer__brand img{height:40px;margin-bottom:1rem}
.footer__brand p{font-size:.9rem;line-height:1.65;margin-bottom:1.25rem}
.footer__heading{font-family:var(--font-head);font-size:.8rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.4);margin-bottom:1rem}
.footer__links{display:flex;flex-direction:column;gap:.55rem}
.footer__links a{font-size:.92rem;transition:var(--transition)}
.footer__links a:hover{color:var(--orange)}
.footer__bottom{border-top:1px solid rgba(255,255,255,.08);padding-block:1.25rem;margin-top:3rem;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;font-size:.82rem;color:rgba(255,255,255,.35)}
.footer__bottom a{color:rgba(255,255,255,.4)}
.footer__bottom a:hover{color:var(--white)}
.footer__social{display:flex;gap:.75rem}
.footer__social a{width:36px;height:36px;border-radius:8px;background:rgba(255,255,255,.07);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.5);transition:var(--transition)}
.footer__social a:hover{background:var(--teal);color:var(--white)}
.footer__social svg{width:16px;height:16px;fill:currentColor}

/* ── Utility ── */
.text-center{text-align:center}
.text-orange{color:var(--orange)}
.text-teal{color:var(--teal)}
.text-white{color:var(--white)}
.text-gray{color:var(--gray)}
.fw-800{font-weight:800}
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}
.gap-sm{gap:.75rem}
.flex{display:flex}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}

/* ── Animations ── */
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@keyframes pulse{0%,100%{opacity:.6}50%{opacity:1}}
.animate-in{animation:fadeUp .65s ease both}
.delay-1{animation-delay:.1s}.delay-2{animation-delay:.2s}.delay-3{animation-delay:.3s}.delay-4{animation-delay:.4s}

/* ── Contact form ── */
.form-group{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1.25rem}
.form-group label{font-size:.88rem;font-weight:600;color:var(--text)}
.form-control{padding:.75rem 1rem;border:1.5px solid var(--gray-md);border-radius:var(--radius);font-family:var(--font-body);font-size:.95rem;color:var(--text);background:var(--white);transition:var(--transition);width:100%}
.form-control:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px rgba(0,117,101,.15)}
textarea.form-control{min-height:130px;resize:vertical}
select.form-control{cursor:pointer}


/* ── Accent span helpers (used in headings) ── */
.ac-orange { color: var(--orange); }
.ac-teal   { color: var(--teal); }
.ac-pink   { color: var(--pink); }
.ac-blue   { color: var(--blue-lt); }

/* ── Responsive tweaks ── */
@media(max-width:768px){
  .hero__sub{font-size:.95rem}
  .stats{gap:1.25rem}
}
@media(max-width:480px){
  .btn-lg{width:100%;justify-content:center}
}
