/* ==========================================================================
   TJ Tecnologia & Informática — Stylesheet
   ========================================================================== */

:root{
  /* Brand colors */
  --navy-950:#080b14;
  --navy-900:#0c1120;
  --navy-800:#12192c;
  --navy-700:#1a2338;
  --navy-line: rgba(255,255,255,.10);

  --blue: #2f6feb;
  --blue-light:#5b8dff;
  --blue-dark:#1a4fc4;

  --white:#ffffff;
  --off-white:#f6f7f9;
  --paper:#fbfbfc;

  --ink:#11141b;
  --ink-soft:#3c4250;
  --gray-600:#5b6472;
  --gray-400:#8991a1;
  --gray-200:#e3e6eb;
  --gray-100:#eef0f3;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(10,14,26,.06), 0 1px 1px rgba(10,14,26,.04);
  --shadow-md: 0 10px 30px rgba(10,14,26,.08);
  --shadow-lg: 0 24px 60px rgba(10,14,26,.16);

  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --nav-h: 84px;
  --nav-h-scrolled: 66px;

  --ease: cubic-bezier(.22,1,.36,1);
}

/* ============ RESET ============ */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
ul, ol{ list-style:none; margin:0; padding:0; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
input, select, textarea{ font-family:inherit; font-size:1rem; }
h1,h2,h3,p{ margin:0; }

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

:focus-visible{
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--blue); color:#fff; padding:10px 18px; border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus{ left:0; top:0; }

.container{
  width:100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ TYPE ============ */
.eyebrow{
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  display:inline-block;
}
.eyebrow--light{ color: var(--blue-light); }

.section__title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -.01em;
}
.section__title--light{ color: var(--white); }

.section__subtitle{
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  line-height:1.6;
}
.section__subtitle--light{ color: rgba(255,255,255,.68); }

.section__head{ margin-bottom: 56px; max-width: 680px; }

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  border-radius: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn--sm{ padding: 10px 20px; font-size: .88rem; }
.btn--lg{ padding: 16px 30px; }

.btn--primary{
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47,111,235,.28);
}
.btn--primary:hover{
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(47,111,235,.34);
}

.btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.btn--ghost:hover{
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.06);
  transform: translateY(-2px);
}

.btn--outline-light{
  background: transparent;
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.btn--outline-light:hover{
  border-color: var(--blue-light);
  color: var(--blue-light);
  transform: translateY(-2px);
}

/* ============ NAVBAR ============ */
.navbar{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 500;
  height: var(--nav-h);
  display:flex;
  align-items:center;
  background: rgba(251,251,252,.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(17,20,27,.06);
  transition: height .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.navbar.is-scrolled{
  height: var(--nav-h-scrolled);
  background: rgba(251,251,252,.94);
  box-shadow: var(--shadow-sm);
}

.navbar__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  width:100%;
}

.navbar__brand{ display:flex; align-items:center; }
.navbar__logo{
  height: 44px;
  width:auto;
  transition: height .3s var(--ease);
}
.navbar.is-scrolled .navbar__logo{ height: 36px; }

.navbar__nav{
  display:flex;
  align-items:center;
  gap: 40px;
}
.navbar__links{
  display:flex;
  align-items:center;
  gap: 34px;
}
.nav-link{
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-link::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:0; height:2px;
  background: var(--blue);
  transition: width .25s var(--ease);
}
.nav-link:hover{ color: var(--ink); }
.nav-link:hover::after{ width:100%; }

.navbar__toggle{
  display:none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px; height:42px;
  background: transparent;
  border: none;
  z-index: 600;
}
.navbar__toggle span{
  display:block;
  width: 22px; height:2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.navbar__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-overlay{
  position: fixed; inset:0;
  background: rgba(8,11,20,.45);
  opacity:0; visibility:hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
  z-index: 400;
}
.nav-overlay.is-active{ opacity:1; visibility:visible; }

/* ============ HERO ============ */
.hero{
  position: relative;
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  padding: calc(var(--nav-h) + 90px) 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero__pattern{
  position:absolute; inset:0;
  z-index:-1;
  opacity:.5;
}
.hero__fade{
  position:absolute; left:0; right:0; bottom:0; height:120px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.18));
  pointer-events:none;
}
.hero__inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  align-items:center;
  gap: 40px;
}
.hero__title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: #fff;
}
.hero__subtitle{
  margin-top: 24px;
  font-size: 1.18rem;
  line-height: 1.6;
  color: rgba(255,255,255,.68);
  max-width: 480px;
}
.hero__actions{
  margin-top: 40px;
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual{
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero__mark{
  position: relative;
  width: 320px;
  height: 320px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero__mark-logo{
  width: 62%;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
  animation: floatY 6s ease-in-out infinite;
}
.hero__ring{
  position:absolute;
  border-radius: 50%;
  border: 1px solid rgba(91,141,255,.25);
}
.hero__ring--1{ width: 100%; height:100%; animation: spin 40s linear infinite; }
.hero__ring--2{ width: 78%; height:78%; border-style: dashed; border-color: rgba(255,255,255,.12); animation: spin 60s linear infinite reverse; }
.hero__dot{
  position:absolute;
  width:7px; height:7px;
  border-radius:50%;
  background: var(--blue-light);
  box-shadow: 0 0 12px 2px rgba(91,141,255,.6);
}
.hero__dot--1{ top: 4%; left: 50%; animation: pulse 3.2s ease-in-out infinite; }
.hero__dot--2{ top: 50%; left: 100%; animation: pulse 3.2s ease-in-out .8s infinite; }
.hero__dot--3{ top: 88%; left: 12%; animation: pulse 3.2s ease-in-out 1.6s infinite; }

@keyframes spin{ to{ transform: rotate(360deg); } }
@keyframes floatY{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
@keyframes pulse{ 0%,100%{ opacity:.4; transform: scale(1);} 50%{ opacity:1; transform: scale(1.4);} }

/* ============ SECTIONS ============ */
.section{
  padding: 110px 0;
  background: var(--white);
}
.section--muted{ background: var(--off-white); }
.section--dark{
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #fff;
}

/* ============ SERVICES ============ */
.services-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card{
  position:relative;
  padding: 32px 26px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47,111,235,.28);
}
.service-card__num{
  position:absolute;
  top: 22px; right: 26px;
  font-family: var(--font-display);
  font-size: .8rem;
  color: var(--gray-400);
  font-weight: 600;
}
.service-card__icon{
  width: 48px; height:48px;
  color: var(--blue);
  margin-bottom: 20px;
}
.service-card__icon svg{ width:100%; height:100%; }
.service-card__title{
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -.005em;
}
.service-card__text{
  font-size: .93rem;
  line-height: 1.55;
  color: var(--gray-600);
}

/* ============ PRICING ============ */
.pricing-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.price-card{
  padding: 26px 24px;
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-md);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.price-card:hover{
  transform: translateY(-4px);
  border-color: rgba(91,141,255,.4);
  background: var(--navy-700);
}
.price-card__name{
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
}
.price-card__value{
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}
.price-card--accent{
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-color: transparent;
}
.price-card--accent .price-card__name{ color: rgba(255,255,255,.85); }
.price-card__value--quote{ font-size: 1.4rem; }

.pricing-note{
  margin-top: 44px;
  max-width: 720px;
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(255,255,255,.5);
  border-top: 1px solid var(--navy-line);
  padding-top: 28px;
}

/* ============ WHY TJ ============ */
.why-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-card__icon{
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(47,111,235,.08);
  color: var(--blue);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 22px;
}
.why-card__icon svg{ width: 26px; height: 26px; }
.why-card__title{
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.why-card__text{
  font-size: .95rem;
  line-height: 1.6;
  color: var(--gray-600);
}

/* ============ TIMELINE ============ */
.timeline{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
  position: relative;
}
.timeline::before{
  content:'';
  position:absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--gray-200);
  z-index:0;
}
.timeline__step{
  position: relative;
  z-index: 1;
}
.timeline__num{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  color: var(--blue);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.timeline__title{
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.timeline__text{
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.55;
  max-width: 240px;
}

/* ============ ABOUT ============ */
.about__inner{
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items:center;
}
.about__visual{
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 50px;
}
.about__logo{ width: 78%; }
.about__text{
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 560px;
}
.about__badge{
  margin-top: 26px;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: var(--off-white);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.about__badge svg{ width:18px; height:18px; color: var(--blue); flex-shrink:0; }

/* ============ QUOTE FORM ============ */
.quote-wrap{ max-width: 780px; margin: 0 auto; }
.quote-form{
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field{ margin-bottom: 20px; }
.form-field label{
  display:block;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.form-field .optional{
  font-weight: 400;
  color: rgba(255,255,255,.4);
  text-transform: none;
  letter-spacing: 0;
}
.form-field input,
.form-field select,
.form-field textarea{
  width:100%;
  background: var(--navy-900);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: #fff;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form-field input::placeholder,
.form-field textarea::placeholder{ color: rgba(255,255,255,.32); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline: none;
  border-color: var(--blue-light);
  background: rgba(255,255,255,.03);
}
.form-field select{
  appearance: none;
  -webkit-appearance:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238991a1' stroke-width='1.8'%3E%3Cpath d='M5 8l5 5 5-5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
/* The native dropdown popup ignores the dark field background in most
   browsers, so option text needs its own (light-background-safe) colors
   or it renders invisible (white-on-white). */
.form-field select option{
  color: var(--ink);
  background: var(--white);
}
.form-field select option:disabled{
  color: var(--gray-400);
}
.form-field textarea{ resize: vertical; min-height: 110px; }
.form-field input[type="file"]{
  padding: 10px 14px;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea{
  border-color: #e5484d;
}
.form-error{
  display:block;
  font-size: .78rem;
  color: #ff8b8e;
  margin-top: 6px;
  min-height: 1em;
}
.quote-form__actions{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.form-success{
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(52,199,89,.12);
  border: 1px solid rgba(52,199,89,.3);
  color: #7be3a0;
  font-size: .92rem;
  display:none;
}
.form-success.is-visible{ display:block; }
.form-success.form-success--error{
  background: rgba(229,72,77,.12);
  border-color: rgba(229,72,77,.35);
  color: #ff8b8e;
}

/* Honeypot anti-spam field: hidden from people, still "visible" to simple
   bots that don't execute CSS, so it stays out of display:none. */
.hp-field{
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.btn:disabled{
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

/* ============ CONTACT ============ */
.contact-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.contact-card{
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.contact-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47,111,235,.28);
}
.contact-card__icon{
  width: 44px; height: 44px;
  color: var(--blue);
  margin-bottom: 18px;
}
.contact-card__icon svg{ width:100%; height:100%; }
.contact-card h3{
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-card p{
  font-size: .92rem;
  color: var(--gray-600);
  word-break: break-word;
}

/* ============ FOOTER ============ */
.footer{
  background: var(--navy-950);
  color: rgba(255,255,255,.7);
  padding-top: 70px;
}
.footer__inner{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--navy-line);
}
.footer__logo{ height: 46px; width:auto; margin-bottom: 14px; }
.footer__tagline{ font-size: .92rem; color: rgba(255,255,255,.45); }
.footer__nav{
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav a{
  font-size: .93rem;
  color: rgba(255,255,255,.65);
  transition: color .2s var(--ease);
  width: fit-content;
}
.footer__nav a:hover{ color: #fff; }
.footer__social{
  display:flex;
  gap: 12px;
  justify-content: flex-start;
  align-items: flex-start;
}
.social-icon{
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--navy-line);
  display:flex; align-items:center; justify-content:center;
  color: rgba(255,255,255,.7);
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.social-icon svg{ width: 18px; height:18px; }
.social-icon:hover{
  border-color: var(--blue-light);
  color: var(--blue-light);
  transform: translateY(-2px);
}
.footer__bottom{
  padding: 26px 24px;
  text-align:center;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

/* ============ BACK TO TOP ============ */
.back-to-top{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-md);
  opacity:0;
  visibility:hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease), background .2s var(--ease);
  z-index: 300;
}
.back-to-top svg{ width:20px; height:20px; }
.back-to-top.is-visible{ opacity:1; visibility:visible; transform: translateY(0); }
.back-to-top:hover{ background: var(--blue-dark); }

/* ============ SCROLL REVEAL ============
   .reveal elements are visible by default so the page works with no JS.
   JS adds .reveal-init on load (progressive enhancement) which is what
   actually applies the hidden starting state before animating in. */
.reveal{
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.reveal-init{
  opacity: 0;
  transform: translateY(26px);
}
.reveal.reveal-init.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* stagger children of grids */
.services-grid .reveal:nth-child(2){ transition-delay: .05s; }
.services-grid .reveal:nth-child(3){ transition-delay: .1s; }
.services-grid .reveal:nth-child(4){ transition-delay: .15s; }
.why-grid .reveal:nth-child(2){ transition-delay: .05s; }
.why-grid .reveal:nth-child(3){ transition-delay: .1s; }
.why-grid .reveal:nth-child(4){ transition-delay: .15s; }
.timeline .reveal:nth-child(2){ transition-delay: .08s; }
.timeline .reveal:nth-child(3){ transition-delay: .16s; }
.timeline .reveal:nth-child(4){ transition-delay: .24s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px){
  .hero__inner{ grid-template-columns: 1fr; text-align:center; }
  .hero__subtitle{ margin-left:auto; margin-right:auto; }
  .hero__actions{ justify-content:center; }
  .hero__visual{ margin-top: 40px; order: -1; }
  .hero__mark{ width: 240px; height: 240px; }

  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .pricing-grid{ grid-template-columns: repeat(2, 1fr); }
  .why-grid{ grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .timeline{ grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
  .timeline::before{ display:none; }

  .about__inner{ grid-template-columns: 1fr; }
  .about__visual{ max-width: 340px; margin: 0 auto; }
  .about__text, .about__content{ text-align:left; }

  .contact-grid{ grid-template-columns: repeat(3, 1fr); }
  .footer__inner{ grid-template-columns: 1fr 1fr; }
  .footer__brand{ grid-column: 1 / -1; }
}

@media (max-width: 860px){
  .navbar__nav{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 110px 32px 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 550;
  }
  .navbar__nav.is-open{ transform: translateX(0); }
  .navbar__links{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width:100%;
  }
  .navbar__links li{ width:100%; }
  .nav-link{
    display:block;
    padding: 14px 0;
    font-size: 1.05rem;
    color: rgba(255,255,255,.85);
    border-bottom: 1px solid var(--navy-line);
  }
  .nav-link::after{ display:none; }
  .navbar__cta{ margin-top: 28px; width:100%; }
  .navbar__toggle{ display:flex; }
}

@media (max-width: 720px){
  .container{ padding: 0 20px; }
  .section{ padding: 80px 0; }
  .section__head{ margin-bottom: 40px; }

  .services-grid{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .timeline{ grid-template-columns: 1fr; gap: 32px; }

  .contact-grid{ grid-template-columns: 1fr; }
  .footer__inner{ grid-template-columns: 1fr; gap: 32px; }
  .footer__social{ margin-top: 8px; }

  .form-row{ grid-template-columns: 1fr; gap: 0; }
  .quote-form{ padding: 28px 22px; }
  .quote-form__actions{ flex-direction: column; }
  .quote-form__actions .btn{ width:100%; }
}

@media (max-width: 480px){
  .hero{ padding: calc(var(--nav-h) + 60px) 0 90px; }
  .hero__title{ font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero__actions{ flex-direction: column; width:100%; }
  .hero__actions .btn{ width:100%; }
  .pricing-grid{ grid-template-columns: 1fr; }
  .navbar__logo{ height: 36px; }
  .navbar.is-scrolled .navbar__logo{ height: 30px; }
}
