/* ==========================================================================
   UMA GRAPHICS — style.css
   Design system: registration-mark corners + halftone texture (print motif)
   ========================================================================== */

:root {
  --primary: #E63946;      /* red */
  --primary-dark: #c72b38;
  --secondary: #1D3557;    /* navy */
  --accent: #F4A261;       /* orange */
  --bg: #F8F9FA;
  --bg-alt: #ffffff;
  --text: #222222;
  --text-muted: #5c6470;
  --border: #e7e9ec;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', 'Open Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(29, 53, 87, 0.07);
  --shadow-md: 0 12px 32px rgba(29, 53, 87, 0.12);
  --shadow-lg: 0 24px 60px rgba(29, 53, 87, 0.18);

  --container: 1180px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { width: 22px; height: 22px; }
button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(230, 57, 70, 0.32);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 16px 30px rgba(230, 57, 70, 0.4); }

.btn-whatsapp {
  background: #fff;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn-whatsapp:hover { background: var(--secondary); color: #fff; transform: translateY(-3px); }
.btn-whatsapp .icon { width: 20px; height: 20px; fill: currentColor; }

.btn-nav-cta {
  background: var(--accent);
  color: #26160a;
  padding: 10px 22px;
  font-size: 0.88rem;
}
.btn-nav-cta:hover { background: #ee9548; transform: translateY(-2px); }

/* ---------- Registration-mark / crop-mark motif (signature element) ---------- */
.card-mark {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0.55;
}
.card-mark::before,
.card-mark::after {
  content: "";
  position: absolute;
  background: var(--primary);
}
.card-mark::before { width: 100%; height: 2px; top: 50%; transform: translateY(-50%); }
.card-mark::after { height: 100%; width: 2px; left: 50%; transform: translateX(-50%); }

.hero-marks {
  position: absolute;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  z-index: 1;
}
.mark-tl { top: 26px; left: 26px; border-right: none; border-bottom: none; }
.mark-br { bottom: 26px; right: 26px; border-left: none; border-top: none; }

/* halftone dot texture, used as a background accent */
.halftone {
  background-image: radial-gradient(rgba(29, 53, 87, 0.12) 1.4px, transparent 1.4px);
  background-size: 14px 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(248, 249, 250, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: box-shadow 0.3s ease, background 0.3s ease, height 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  height: 72px;
  border-bottom: 1px solid var(--border);
}

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

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 46px; width: auto; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--secondary);
  letter-spacing: 0.02em;
}
.brand-text em { font-style: normal; color: var(--primary); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-list { display: flex; gap: 30px; }
.nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 1100;
}
.hamburger span {
  height: 2.5px;
  width: 100%;
  background: var(--secondary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: linear-gradient(150deg, var(--secondary) 0%, #142338 62%, #0f1b2b 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.35), transparent 70%);
  top: -180px; right: -160px;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: #fff;
  margin-bottom: 18px;
}
.hero-subhead {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  opacity: 0.92;
  margin-bottom: 14px;
}
.hero-desc {
  color: #cfd8e6;
  max-width: 520px;
  margin-bottom: 34px;
  font-size: 1.02rem;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero .btn-whatsapp { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.hero .btn-whatsapp:hover { background: #25D366; border-color: #25D366; color: #fff; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; }
.hero-logo-frame {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
  position: relative;
  z-index: 2;
}
.hero-logo-frame:hover { transform: rotate(0deg) scale(1.02); }
.hero-logo { width: 220px; }

.hero-chip {
  position: absolute;
  background: #fff;
  color: var(--secondary);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
.chip-1 { top: 6%; left: -4%; animation-delay: 0s; }
.chip-2 { bottom: 14%; right: -6%; animation-delay: 1.2s; }
.chip-3 { bottom: -2%; left: 12%; animation-delay: 2.4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Section shared ---------- */
main section { padding: 100px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head.light .eyebrow { color: var(--accent); }
.section-head.light .section-title { color: #fff; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.section-sub { color: var(--text-muted); font-size: 1.02rem; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- About ---------- */
.about { background: var(--bg-alt); }
.about-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.badge-line { width: 30px; height: 2px; background: var(--primary); }
.about-text { color: var(--text-muted); font-size: 1.08rem; margin-bottom: 46px; }
.about-stats { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--secondary); }
.stat-label { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--icon-bg);
  color: var(--icon-color);
  margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 16px; }
.service-list li {
  padding: 8px 0;
  border-top: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}
.service-list li:first-child { border-top: none; }

/* ---------- Why Choose Us ---------- */
.why-us {
  background: var(--secondary);
  position: relative;
}
.why-us::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1.6px, transparent 1.6px);
  background-size: 20px 20px;
}
.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.why-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.1); }
.why-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.why-card p { color: #c7d0dd; font-size: 0.92rem; }

/* ---------- Process ---------- */
.process-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 28px; left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 20px);
  z-index: 0;
}
.process-step {
  position: relative;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  text-align: center;
  border: 1px solid var(--border);
}
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fdeceec9;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.contact-card p { color: var(--text-muted); font-size: 0.9rem; }

.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

/* ---------- Footer ---------- */
.site-footer { background: #12203a; color: #cfd8e6; padding-top: 70px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .footer-logo { height: 44px; margin-bottom: 12px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand p { margin-top: 10px; color: #8ea0bb; font-size: 0.92rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.92rem; color: #a9b6c9; }
.footer-col ul li a { transition: color 0.2s ease; }
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom { padding: 22px 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #8ea0bb;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Floating buttons ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5);
  z-index: 900;
  animation: pulse 2.4s ease-in-out infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.85), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

.scroll-top {
  position: fixed;
  bottom: 26px; left: 26px;
  width: 46px; height: 46px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 900;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--primary); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 26px;
    padding: 110px 32px 32px;
    box-shadow: -12px 0 40px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1050;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 22px; }
  .hamburger { display: flex; }
  .btn-nav-cta { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  main section { padding: 70px 0; }
  .service-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .process-track::before { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .about-stats { gap: 34px; }
  .hero-chip { display: none; }
  .hero-logo-frame { padding: 26px; }
  .hero-logo { width: 170px; }
}

/* Overlay for mobile nav */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 43, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1040;
}
.nav-overlay.visible { opacity: 1; visibility: visible; }

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
