/* DNS Knowledge Engineering — dhobleandsons.com
   Plain CSS, no framework. Colours and type follow the previous Zerif-based design. */

@font-face { font-family: "Lato"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/lato-300.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/lato-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/montserrat-700.woff2") format("woff2"); }
/* Font Awesome 4.2 (SIL OFL 1.1), only the glyphs this site uses */
@font-face { font-family: "FontAwesome"; font-weight: normal; font-style: normal; font-display: block; src: url("../fonts/fontawesome-webfont.woff") format("woff"); }

:root {
  --red: #e96656;
  --red-dark: #cb4332;
  --green: #34d293;
  --green-dark: #1e9e6b;
  --blue: #3ab0e2;
  --yellow: #f7d861;
  --ink: #404040;
  --text: #808080;
  --muted: #939393;
  --dark: #272727;
  --darker: #1f1f1f;
  --light: #f5f5f5;
  --header-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 14px/25px "Lato", Arial, sans-serif; text-align: center; overflow-x: hidden; }
h1, h2, h3, h4 { margin: 0 0 10px; font-weight: 700; }
p { margin: 0 0 1.5em; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; height: auto; }
ul { margin: 0; }
.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }
section[id] { scroll-margin-top: var(--header-h); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: #fff; color: #000; padding: 8px 14px; }
.skip-link:focus { left: 8px; top: 8px; }

/* Icons */
.fa { display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.fa-video-camera::before { content: "\f03d"; }
.fa-line-chart::before { content: "\f201"; }
.fa-lock::before { content: "\f023"; }
.fa-th-large::before { content: "\f009"; }
.fa-search::before { content: "\f002"; }
.fa-eye::before { content: "\f06e"; }
.fa-file-pdf-o::before { content: "\f1c1"; }
.fa-download::before { content: "\f019"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-phone::before { content: "\f095"; }
.fa-map-marker::before { content: "\f041"; }
.fa-linkedin::before { content: "\f0e1"; }

/* Buttons */
.btn { display: inline-block; margin: 10px; padding: 13px 35px; border: 0; border-radius: 4px; color: #fff; font: 400 14px/1.4 "Lato", Arial, sans-serif; text-transform: uppercase; transition: background .2s; }
.btn:hover, .btn:focus { color: #fff; }
.btn-red { background: var(--red); }
.btn-red:hover { background: var(--red-dark); }
.btn-green { background: var(--green-dark); }
.btn-green:hover { background: #069059; }
.btn .fa { margin-right: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #000; height: var(--header-h); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand img { display: block; height: 70px; width: auto; }
.nav ul { display: flex; gap: 20px; list-style: none; padding: 0; }
.nav a { color: #e6e6e6; font-weight: 700; font-size: 15px; line-height: 35px; }
.nav a:hover, .nav a:focus { color: var(--red); }
.nav-toggle { display: none; background: none; border: 1px solid #555; border-radius: 4px; padding: 9px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 1px; }
.nav-toggle span + span { margin-top: 4px; }

/* Hero */
.hero { position: relative; background: url("../img/hero-icons.png") top center / cover no-repeat, url("../img/hero-bg.jpg") top center / cover no-repeat, #3a3226; }
.hero-inner { background: rgba(0, 0, 0, .5); padding: 265px 0 245px; }
.hero h1 { color: #fff; font: 700 55px/65px "Montserrat", Arial, sans-serif; text-transform: uppercase; }

/* Sections */
.section { padding: 70px 0 90px; }
.section-header { margin-bottom: 40px; }
.section-header h2 { display: inline-block; margin: 15px 0 0; padding-bottom: 10px; color: var(--ink); font: 700 45px/40px "Montserrat", Arial, sans-serif; text-transform: uppercase; }
.section-legend { font-size: 14px; }
.on-dark { background: var(--dark); color: #fff; }
.on-dark .section-header h2, .on-dark .section-legend { color: #fff; }
.on-light { background: var(--light); }

/* Feature boxes (services, products, impact) */
.boxes { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 30px; }
.box { width: 255px; margin-bottom: 25px; }
.boxes-wide .box { width: 420px; }
.box-icon { width: 145px; height: 145px; margin: 0 auto 20px; border: 10px solid #ececec; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color .2s; }
.box-icon img { width: auto; height: auto; max-width: 90px; }
.box-icon .fa { font-size: 54px; color: var(--ink); }
.box h3 { position: relative; display: inline-block; margin-bottom: 30px; color: var(--ink); font-size: 17px; text-transform: uppercase; line-height: 25px; }
.box h3::before { content: ""; position: absolute; left: 12.5%; bottom: -9px; width: 75%; height: 2px; background: var(--red); }
.box p { text-align: left; }
.box .tagline { text-align: center; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.box:nth-child(4n+1) .box-icon:hover { border-color: var(--red); }
.box:nth-child(4n+2) .box-icon:hover { border-color: var(--green); }
.box:nth-child(4n+3) .box-icon:hover { border-color: var(--blue); }
.box:nth-child(4n+4) .box-icon:hover { border-color: var(--yellow); }
.box:nth-child(4n+2) h3::before { background: var(--green); }
.box:nth-child(4n+3) h3::before { background: var(--blue); }
.box:nth-child(4n+4) h3::before { background: var(--yellow); }
.product-link { display: inline-block; margin-top: -6px; font-weight: 700; }
.side-projects { margin: 10px 0 0; color: #777; }
.side-projects a { font-weight: 700; }

/* Ribbons */
.ribbon { padding: 100px 0; color: #fff; }
.ribbon h3 { margin: 15px auto 20px; max-width: 800px; font-size: 22px; font-weight: 400; line-height: 34px; }
.ribbon-green { background: #5ddba9; }
.ribbon-green .btn { background: #14a168; }
.ribbon-green .btn:hover { background: #007345; }
.ribbon-pink { background: #ff99af; padding: 70px 0; }
.ribbon-pink .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ribbon-pink h3 { margin: 0; text-align: left; }
.ribbon-pink .btn { background: #c3002a; flex-shrink: 0; }
.ribbon-pink .btn:hover { background: rgba(255, 0, 55, .8); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; text-align: left; }
.big-intro { text-align: right; color: #fff; font-weight: 300; font-size: 60px; line-height: 1.2; margin-top: -15px; }
.big-intro b { font-weight: 700; }
.about-text p, .about-text li { color: var(--muted); }
.about-text ul { margin: 0 0 1.5em 3em; padding: 0; }

/* Track record */
.track { background: var(--red); color: #fff; padding: 60px 0 50px; }
.track .section-header { margin-bottom: 30px; }
.track .section-header h2 { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-num { font: 700 44px/1.2 "Montserrat", Arial, sans-serif; }
.stat-text { max-width: 240px; margin: 6px auto 24px; font-size: 15px; line-height: 1.5; }

/* Leadership */
.leader { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: center; margin-bottom: 40px; }
.leader-card .photo { width: 128px; height: 128px; margin: 0 auto 25px; border-radius: 50%; overflow: hidden; }
.leader-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-card h3 { position: relative; display: inline-block; margin-top: 15px; color: var(--ink); font-size: 17px; text-transform: uppercase; }
.leader-card h3::before { content: ""; position: absolute; left: 12.5%; bottom: -9px; width: 75%; height: 2px; background: var(--red); }
.leader:nth-of-type(2) .leader-card h3::before { background: var(--blue); }
.leader-card .position { margin-top: 8px; font-size: 13px; }
.leader-card .linkedin { display: inline-block; margin-top: 10px; color: var(--text); font-size: 18px; }
.leader-card .linkedin:hover { color: var(--red); }
.leader-bio { text-align: left; color: var(--ink); font-size: 16px; line-height: 1.7; }

/* Downloads */
.catalogue { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; max-width: 900px; margin: 0 auto 30px; padding: 26px 30px; border-radius: 4px; background: #fff; color: var(--ink); text-align: left; }
.catalogue > .fa { font-size: 64px; color: var(--red); }
.catalogue-body { flex: 1; min-width: 240px; }
.catalogue-body h3 { margin: 0 0 6px; font-size: 22px; font-weight: 400; }
.catalogue-body p { margin: 0 0 6px; color: #555; }
.catalogue-actions { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.catalogue-actions a:last-child { font-weight: 700; }
.meta { display: block; font-size: 13px; opacity: .75; }
.sheets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 930px; margin: 0 auto; }
.sheet { display: block; min-height: 150px; padding: 18px 14px; border: 1px solid #444; border-radius: 4px; color: #fff; }
.sheet:hover { border-color: var(--red); color: #fff; }
.sheet .fa { display: block; margin-bottom: 10px; font-size: 32px; color: var(--red); }
.sheet strong { display: block; margin-bottom: 6px; }

/* Contact */
.contact { background: var(--darker); color: #fff; padding: 50px 0 95px; }
.contact .section-header h2, .contact .section-legend { color: #fff; }
.contact-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 10px 0 20px; }
.contact-cols .fa { font-size: 30px; color: var(--red); }
.contact-cols h4 { margin: 10px 0 6px; color: #fff; font: 700 15px "Montserrat", Arial, sans-serif; text-transform: uppercase; }
.contact-cols a, .contact-cols p { color: #ddd; font-size: 16px; }

/* Footer */
.site-footer { background: var(--dark); color: #fff; line-height: 20px; padding: 33px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-grid > div { padding-bottom: 20px; }
.footer-grid .icon-top { margin-bottom: 14px; }
.footer-grid a { color: #fff; }
.footer-grid a:hover { color: var(--red); }
.legal { line-height: 1.8; }
.footer-logo { display: inline-block; margin-top: 20px; }
.footer-logo img { width: 150px; }

/* Privacy page */
.page { padding: 60px 0 80px; text-align: left; color: #555; font-size: 16px; line-height: 1.7; }
.page .container { max-width: 820px; }
.page h1 { color: var(--ink); font: 700 38px/1.2 "Montserrat", Arial, sans-serif; text-transform: uppercase; margin-bottom: 6px; }
.page h2 { color: var(--ink); font: 700 20px/1.3 "Montserrat", Arial, sans-serif; margin: 34px 0 10px; }
.page .updated { color: var(--text); margin-bottom: 30px; }
.page ul { margin: 0 0 1.5em; padding-left: 1.4em; }
.page li { margin-bottom: 6px; }
.page table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15px; }
.page th, .page td { border: 1px solid #ddd; padding: 8px 10px; vertical-align: top; text-align: left; }
.page th { background: var(--light); color: var(--ink); }

/* Responsive */
@media (max-width: 1199px) {
  .hero h1 { font-size: 45px; line-height: 55px; }
}
@media (max-width: 991px) {
  .hero-inner { padding: 180px 0 160px; }
  .hero h1 { font-size: 41px; line-height: 49px; }
  .stats, .sheets, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .big-intro { text-align: center; }
  .ribbon-pink .container { flex-direction: column; }
  .ribbon-pink h3 { text-align: center; }
}
@media (max-width: 767px) {
  :root { --header-h: 84px; }
  .brand img { height: 56px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #000; padding: 6px 15px 14px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .hero-inner { padding: 90px 0 80px; }
  .hero h1 { font-size: 32px; line-height: 37px; }
  .section-header h2 { font-size: 35px; line-height: 40px; }
  .box, .boxes-wide .box { width: 100%; max-width: 420px; }
  .big-intro { font-size: 8vw; }
  .leader { grid-template-columns: 1fr; }
  .contact-cols, .footer-grid { grid-template-columns: 1fr; }
  .page h1 { font-size: 30px; }
}
@media (max-width: 480px) {
  .stats, .sheets { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; line-height: 32px; }
  .section-header h2 { font-size: 28px; line-height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---- andosaffron.com additions ---- */
.fa-facebook::before { content: "\f09a"; }
.brand img.wide { height: 64px; width: auto; }
.hero-saffron { background: url("../img/hero-gurez-valley.jpg") center / cover no-repeat, #3a4a3a; }
.hero-saffron .hero-inner { padding: 230px 0 200px; }
.lang-link { color: #f5a623 !important; }
.ribbon-green .phones { font-size: 20px; line-height: 1.9; margin: 0 0 18px; }
.ribbon-green .phones a { color: #fff; font-weight: 700; }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 60px; }
.team-grid .leader-card { width: 240px; }
.qr-ribbon { background: linear-gradient(rgba(255, 0, 55, .45), rgba(255, 0, 55, .45)), url("../img/saffron-flower.jpg") center / cover no-repeat, #ff99af; color: #fff; padding: 80px 0; }
.qr-ribbon h3 { margin: 0 auto 28px; max-width: 800px; font-size: 22px; font-weight: 400; line-height: 34px; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.qr-ribbon img { width: 220px; height: 220px; border-radius: 6px; background: #fff; padding: 10px; }
.qr-ribbon p { margin: 12px 0 0; font-size: 14px; }
.footer-grid address { font-style: normal; }
@media (max-width: 767px) { .hero-saffron .hero-inner { padding: 110px 0 90px; } .brand img.wide { height: 48px; } }
