/* ── SHARED CSS — Tech SunRise ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --orange: #F57C00;
  --orange-light: #FF9800;
  --orange-pale: #FFF3E0;
  --dark: #1A1208;
  --mid: #3D2B10;
  --muted: #6B5B45;
  --bg: #FAFAF8;
  --border: #EDE8E0;
  --white: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--dark); overflow-x: hidden; }

/* ── NAV ── */
nav#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 80px; padding: 0 6%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
nav#main-nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.07); }

.nav-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.nav-logo img { height: 48px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-text strong { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 700; color: var(--orange); }
.nav-logo-text span { font-size: .58rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 2.4rem; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: .88rem; font-weight: 500; color: var(--mid);
  position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--orange); color: white; border: none;
  padding: .65rem 1.4rem; border-radius: 0;
  font-size: .85rem; font-weight: 600; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: #E65C00; transform: translateY(-1px); }
.nav-cta i { font-size: 1rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: .3rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 0; transition: .3s; }

.mobile-menu {
  display: none; position: fixed; top: 80px; left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--border);
  padding: 1.5rem 6%; z-index: 499;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu a { text-decoration: none; font-size: 1rem; font-weight: 500; color: var(--mid); display: flex; align-items: center; gap: .6rem; }
.mobile-menu a i { color: var(--orange); }
.mobile-menu .nav-cta { margin-top: 1rem; width: fit-content; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--orange); color: white; border: none;
  padding: .8rem 1.8rem; border-radius: 0;
  font-size: .88rem; font-weight: 600; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover { background: #E65C00; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,124,0,.3); }
.btn-primary i { font-size: 1.1rem; }

.btn-ghost {
  background: transparent; color: var(--dark); border: none;
  padding: .8rem 1.4rem; border-radius: 0;
  font-size: .88rem; font-weight: 600; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--orange); }
.btn-ghost i { font-size: 1.1rem; }

.btn-outline {
  background: transparent; color: var(--orange);
  border: 1.5px solid var(--orange);
  padding: .75rem 1.6rem; border-radius: 0;
  font-size: .88rem; font-weight: 600; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--orange); color: white; }

/* ── SECTION UTILS ── */
.container { max-width: 1200px; margin: 0 auto; }
.section-pad { padding: 7rem 6%; }
.section-header { max-width: 680px; margin-bottom: 1rem; }
.section-header.center { text-align: center; margin: 0 auto 1rem; }
.section-tag {
  display: inline-block; font-size: .7rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--orange);
  margin-bottom: .7rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 700;
  color: var(--dark); line-height: 1.15; margin-bottom: 1rem;
}
.section-body { font-size: .97rem; color: var(--muted); line-height: 1.8; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(160deg, var(--dark) 0%, var(--mid) 100%);
  padding: 10rem 6% 6rem;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(245,124,0,.15) 0%, transparent 60%);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .section-tag { color: var(--orange-light); }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; color: white; line-height: 1.1; margin-bottom: 1rem; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.65); max-width: 560px; line-height: 1.8; }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .82rem; transition: color .2s; }
.breadcrumb a:hover { color: var(--orange-light); }
.breadcrumb span { color: rgba(255,255,255,.3); font-size: .75rem; }
.breadcrumb .current { color: rgba(255,255,255,.8); font-size: .82rem; }

/* ── FOOTER ── */
footer {
  background: var(--dark); padding: 5rem 6% 2rem;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.8; max-width: 260px; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .7rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 0;
  background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); text-decoration: none; font-size: 1rem;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--orange); color: white; }
.footer-col h5 { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer-col li a { text-decoration: none; font-size: .87rem; color: rgba(255,255,255,.55); transition: color .2s; display: flex; align-items: center; gap: .4rem; }
.footer-col li a i { font-size: .9rem; color: var(--orange); opacity: .7; }
.footer-col li a:hover { color: var(--orange-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-bottom a { color: rgba(255,255,255,.3); text-decoration: none; }
.footer-contact { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact-item { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.5); font-size: .85rem; }
.footer-contact-item i { color: var(--orange); font-size: 1rem; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ── DIVIDER ── */
.divider { width: 48px; height: 3px; background: var(--orange); margin: 1.2rem 0; }
.divider.center { margin: 1.2rem auto; }

/* ── FORM ELEMENTS ── */
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--mid); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: .85rem 1rem; border-radius: 0;
  border: 1.5px solid var(--border); font-size: .9rem;
  font-family: 'DM Sans', sans-serif; color: var(--dark); outline: none;
  background: white; transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 5rem 5%; }
  .page-hero { padding: 9rem 5% 5rem; }
}
