/* Ram Flex Printing - mobile-first styles */
:root {
  --blue: #0756A5;
  --orange: #F58220;
  --navy: #062a52;
  --text: #46536a;
  --soft: #f3f7fc;
  --header: 92px;
}
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body { font-family: 'Poppins', sans-serif; color: var(--text); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.25; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }

/* Header */
.site-header { background: #fff; transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(6, 42, 82, .14); }
.navbar { min-height: var(--header); }
.logo { height: 52px; width: auto; max-width: 220px; object-fit: contain; }
.nav-link { color: var(--navy); font-weight: 500; }
.nav-link:hover, .nav-link.active, .navbar-nav .nav-link.active { color: var(--orange); }
#menu .btn { margin-bottom: .75rem; }

/* Buttons (dark text on orange for readable contrast) */
.btn { border-radius: 50px; font-weight: 600; padding: .65rem 1.5rem; transition: transform .25s, box-shadow .25s, background-color .25s; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(6, 42, 82, .22); }
.btn-lg { font-size: 1rem; padding: .85rem 1.8rem; }
.btn-brand, .btn-brand:active { background: linear-gradient(135deg, #ff9a3d, var(--orange)); color: #14213a; border: 0; }
.btn-brand:hover, .btn-brand:focus-visible { background: var(--orange); color: #14213a; }
.btn-outline-brand { border: 2px solid var(--blue); color: var(--blue); }
.btn-outline-brand:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-whatsapp, .btn-whatsapp:hover { background: #25D366; color: #06301a; border: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Hero */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; padding: calc(var(--header) + 3rem) 0 4.5rem;
  background: linear-gradient(95deg, rgba(4, 26, 51, .96) 30%, rgba(7, 86, 165, .72) 65%, rgba(245, 130, 32, .28)), url('../images/hero.webp') center / cover no-repeat; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 800; margin-bottom: 1.2rem; }
.hero h1 span { color: #ff9a3d; }
.hero .lead { color: #e3eefc; margin-bottom: 2rem; max-width: 600px; }
.hero .eyebrow { color: #ffb067; }
.hero-tags { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-tags li { color: #fff; font-size: .85rem; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); padding: .35rem .9rem; border-radius: 50px; }
.cmyk { position: absolute; inset: auto 0 0 0; height: 7px; display: flex; }
.cmyk i { flex: 1; background: #00aeef; }
.cmyk i:nth-child(2) { background: #ec008c; }
.cmyk i:nth-child(3) { background: #ffe600; }
.cmyk i:nth-child(4) { background: var(--orange); }

/* Sections */
.section { padding: 4.5rem 0; }
.bg-soft { background: linear-gradient(180deg, var(--soft), #fff8f1); }
.eyebrow { color: #b95700; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 600; margin-bottom: .6rem; }
.section h2, .cta h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head h2::after { content: ''; display: block; width: 70px; height: 4px; margin: .8rem auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--orange)); }

/* About */
.about-img { padding: 0 14px 14px 0; position: relative; isolation: isolate; }
.about-img::after { content: ''; position: absolute; inset: 14px 0 0 14px; z-index: -1; border-radius: 22px; background: linear-gradient(135deg, var(--blue), var(--orange)); }
.about-img img { border-radius: 22px; display: block; }
.checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .6rem; margin: 1.5rem 0 2rem; }
.checks li { color: var(--navy); font-weight: 600; padding-left: 1.9rem; position: relative; }
.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 800; }

/* Service cards */
.service-card { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(6, 42, 82, .09); }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; border-top: 4px solid var(--orange); }
.service-body h3 { font-size: 1.15rem; }
.service-body p { font-size: .93rem; flex: 1; }
.service-body .btn { align-self: flex-start; }

/* Why choose us */
.why { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.why h2 { color: #fff; }
.why .eyebrow { color: #ffb067; }
.why-card { height: 100%; background: #fff; border-radius: 18px; padding: 1.8rem; }
.why-card h3 { font-size: 1.15rem; }
.why-card p { margin: 0; font-size: .93rem; }
.num { display: inline-block; font-weight: 800; font-size: 1.9rem; color: var(--orange); margin-bottom: .5rem; }

/* Gallery */
.gallery-item { display: block; width: 100%; padding: 0; border: 0; position: relative; overflow: hidden; border-radius: 14px; background: var(--navy); }
.gallery-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s; }
.gallery-item span { position: absolute; inset: auto 0 0 0; padding: 1.8rem .6rem .6rem; color: #fff; font-weight: 600; font-size: .8rem; line-height: 1.3; background: linear-gradient(transparent, rgba(4, 26, 51, .94)); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.1); }
.gallery-item:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Call to action */
.cta { padding: 4rem 0; background: linear-gradient(120deg, var(--blue) 45%, #b35a12 100%); }
.cta h2, .cta p { color: #fff; }
.cta p { margin-bottom: 1.8rem; }

/* Contact */
.contact-info { background: linear-gradient(150deg, var(--blue), var(--navy)); color: #e3eefc; border-radius: 18px; padding: 2rem; }
.contact-info h3 { color: #fff; }
.contact-info h4 { color: #ffb067; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; margin: 1.4rem 0 .25rem; }
.contact-info a:not(.btn) { color: #fff; overflow-wrap: anywhere; }
.contact-info address { margin-bottom: 1.8rem; }
.form-card { background: #fff; border-radius: 18px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(6, 42, 82, .09); }
.form-label { font-weight: 500; color: var(--navy); }
.form-control, .form-select { padding: .75rem 1rem; border-radius: 10px; }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 .2rem rgba(7, 86, 165, .15); }
.form-note { font-size: .8rem; margin: .75rem 0 0; text-align: center; }
.form-status { margin: .5rem 0 0; text-align: center; font-weight: 600; color: var(--blue); }
.map { width: 100%; height: 360px; border: 0; border-radius: 18px; display: block; }

/* Footer */
.site-footer { background: #041c37; color: #c3d2e6; padding: 4rem 0 6.5rem; font-size: .92rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: .45rem; overflow-wrap: anywhere; }
.site-footer a { color: #c3d2e6; text-decoration: none; }
.site-footer a:hover { color: #ff9a3d; }
.footer-logo { display: inline-block; background: #fff; padding: .5rem .75rem; border-radius: 12px; margin-bottom: 1rem; }
.social { display: flex; gap: .6rem; }
.social a { display: inline-block; border: 1px solid #47678e; padding: .35rem 1rem; border-radius: 50px; }
.copy { border-top: 1px solid #1d3b60; padding-top: 1.5rem; margin: 2rem 0 0; text-align: center; }

/* Floating buttons */
.floating { position: fixed; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 1030; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.28); transition: transform .25s; }
.float-btn:hover { color: #fff; transform: scale(1.1); }
.float-btn svg { width: 28px; height: 28px; }
.float-btn.wa { background: #1faf54; }
.float-btn.call { background: var(--blue); border: 2px solid #fff; }

/* Reveal animation (only applied when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.js .reveal.visible { opacity: 1; transform: none; }

/* Tablet and desktop */
@media (min-width: 768px) {
  .section { padding: 6rem 0; }
  .form-card { padding: 2rem; }
  .gallery-item span { font-size: .95rem; padding: 2.5rem 1rem 1rem; }
  .site-footer { padding-bottom: 2rem; }
}
@media (min-width: 992px) {
  #menu .btn { margin-bottom: 0; }
  .hero { min-height: 100vh; max-height: 880px; }
}
@media (max-width: 991.98px) {
  #menu { max-height: calc(100vh - var(--header)); overflow-y: auto; }
}
@media (max-width: 575.98px) {
  .logo { height: 44px; max-width: 190px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Round logo sizing */
.logo { height: 68px; width: auto; max-width: none; }
.footer-logo { background: #fff; padding: 8px; border-radius: 16px; }
.footer-logo .logo { display: block; height: 130px; }
@media (max-width: 575.98px) { .logo { height: 60px; max-width: none; } :root { --header: 84px; } }
