/* BASE */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f1ed url("https://www.transparenttextures.com/patterns/paper-fibers.png");
  color: #1c1c1c;
  line-height: 1.9;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* FLOATING BUTTONS */
.float-call,
.float-whatsapp {
  position: fixed;
  bottom: 22px;
  padding: 12px 18px;
  border-radius: 28px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  z-index: 999;
}

.float-call {
  left: 22px;
  background: #7a4a2e;
}

.float-whatsapp {
  right: 22px;
  background: #25d366;
}

/* HEADER */
.header {
  background: #fff;
  border-bottom: 1px solid #d2c8bf;
  padding: 18px 0;
}

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

/* SECTIONS */
.section {
  padding: 90px 0;
}

.section-muted {
  background: #ece6df;
}

/* BLOCKS */
.block {
  background: #ffffff;
  border: 1px solid #d2c8bf;
  padding: 55px;
  border-radius: 18px;
}

.block-hero {
  border-left: 6px solid #7a4a2e;
}

/* GRID ELEMENTS */
.framework-grid,
.location-grid {
  display: grid;
  gap: 20px;
}

.framework-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.location-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.location-card {
  border: 1px solid #d2c8bf;
  padding: 18px;
  border-radius: 14px;
  text-align: center;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 1px solid #d2c8bf;
  border-radius: 18px;
}

/* FOOTER */
.footer {
  background: #fff;
  border-top: 1px solid #d2c8bf;
  padding: 30px;
  text-align: center;
}

/* PRINT VERSION */
@media print {
  body {
    background: #fff;
  }

  .float-call,
  .float-whatsapp,
  .map-box,
  nav {
    display: none !important;
  }

  .section {
    padding: 40px 0;
  }

  .block {
    border-radius: 0;
    border: 1px solid #000;
  }
}
/* ============================= */
/* EDITORIAL DESIGN REFINEMENT  */
/* ============================= */

/* Overall page rhythm */
.section {
  padding: 110px 0;
}

.section-opening {
  padding-top: 150px;
  padding-bottom: 130px;
}

/* Editorial blocks */
.block {
  border-radius: 14px;              /* quieter rounding */
  box-shadow: 0 8px 18px rgba(0,0,0,0.04); /* paper lift, not card */
}

/* Strong editorial opening */
.block-hero {
  border-left: 8px solid #7a4a2e;   /* margin rule */
  padding-left: 65px;
}

/* Headline typography */
.block h1 {
  line-height: 1.25;
  margin-bottom: 35px;
}

.block h2 {
  line-height: 1.3;
  margin-bottom: 30px;
}

/* Paragraph rhythm */
.block p {
  margin-bottom: 22px;
  max-width: 900px;
}

/* Framework items feel like columns */
.framework-item {
  border-left: 3px solid #d2c8bf;
  padding-left: 18px;
}

/* Lists feel editorial, not UI */
.who-list li,
.process-list li {
  margin-bottom: 14px;
}

/* Location blocks feel like printed labels */
.location-card {
  border-radius: 10px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Contact section restraint */
.contact-block p {
  margin-bottom: 16px;
}

/* Footer calmness */
.footer {
  letter-spacing: 0.3px;
}

/* Remove visual noise on print */
@media print {
  .block {
    box-shadow: none;
  }
}
/* ============================= */
/* EDITORIAL NAVIGATION TABS     */
/* ============================= */

.nav a {
  display: inline-block;
  padding: 8px 14px;
  margin-left: 10px;
  border: 1px solid #d2c8bf;
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.nav a:hover {
  background: #f0ece7;
}

/* ============================= */
/* EDITORIAL FONT SYSTEM         */
/* ============================= */

body {
  font-family: "Libre Baskerville", serif;
}

.block h1,
.block h2,
.framework-item h3 {
  font-family: "Libre Baskerville", serif;
  letter-spacing: 0.2px;
}

/* Pencil-on-paper feeling */
.block p,
.who-list li,
.process-list li {
  font-size: 16px;
}
/* ============================= */
/* EDITORIAL NAVIGATION – FINAL  */
/* ============================= */

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  position: relative;
  padding: 6px 2px 6px 14px;
  font-size: 14px;
  text-decoration: none;
  color: #1c1c1c;
  letter-spacing: 0.4px;
}

/* vertical rule like editorial margin */
.nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #7a4a2e;
  opacity: 0.6;
}

/* subtle underline, not hover animation */
.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: #d2c8bf;
}

/* no hover effects – editorial calm */
.nav a:hover {
  background: none;
}
/* ============================= */
/* EDITORIAL SPACING TIGHTENING */
/* ============================= */

/* Reduce vertical space between sections */
.section {
  padding: 70px 0;       /* was ~90–110 */
}

.section-opening {
  padding-top: 100px;
  padding-bottom: 80px;
}

/* Tighten block padding (paper-like density) */
.block {
  padding: 38px 42px;    /* was ~55px */
}

/* Hero block slightly stronger, but still tighter */
.block-hero {
  padding-top: 45px;
  padding-bottom: 45px;
}

/* Paragraph rhythm — closer to print */
.block p {
  margin-bottom: 16px;  /* was ~22px */
}

/* Lists closer, more editorial */
.who-list li,
.process-list li {
  margin-bottom: 10px;  /* was ~14–18 */
}

/* Reduce spacing below headings */
.block h1 {
  margin-bottom: 22px;
}

.block h2 {
  margin-bottom: 20px;
}

/* Reduce gap between framework columns */
.framework-grid {
  gap: 18px;
}

/* Reduce gap between location labels */
.location-grid {
  gap: 14px;
}

/* Contact spacing tightened */
.contact-block p {
  margin-bottom: 12px;
}
/* ============================= */
/* EDITORIAL COLOUR REFINEMENT  */
/* ============================= */

/* Paper background */
body {
  background-color: #f6f3ef;
  color: #1a1a1a;
}

/* Muted editorial sections */
.section-muted {
  background-color: #ede7df;
}

/* Text tones */
.block p,
.who-list li,
.process-list li {
  color: #4a4a4a;
}

/* Headings remain strong ink */
.block h1,
.block h2,
.framework-item h3 {
  color: #1a1a1a;
}

/* Editorial accent (pencil tone) */
.block-hero {
  border-left-color: #6b4a32;
}

.framework-item h3 {
  color: #6b4a32;
}

/* Rules and borders */
.block,
.location-card,
.map-box iframe,
.header,
.footer {
  border-color: #cfc6bc;
}

/* Navigation editorial markers */
.nav a::before {
  background: #6b4a32;
}

.nav a::after {
  background: #cfc6bc;
}

/* Floating buttons toned down */
.float-call {
  background: #6b4a32;
}

/* WhatsApp stays recognisable but calmer */
.float-whatsapp {
  background: #2fbf6d;
}
/* ============================= */
/* MOBILE OPTIMIZATION (EDITORIAL) */
/* ============================= */

@media (max-width: 768px) {

  /* General rhythm */
  body {
    line-height: 1.85;
  }

  /* Header */
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .logo {
    font-size: 22px;
  }

  /* Navigation becomes inline editorial list */
  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav a {
    font-size: 13px;
    padding-left: 12px;
  }

  /* Sections */
  .section {
    padding: 55px 0;
  }

  .section-opening {
    padding-top: 80px;
    padding-bottom: 65px;
  }

  /* Blocks stack like pages */
  .block {
    padding: 28px 24px;
    border-radius: 12px;
  }

  .block-hero {
    padding-left: 28px;
    border-left-width: 6px;
  }

  /* Headings scale */
  .block h1 {
    font-size: 26px;
    line-height: 1.25;
  }

  .block h2 {
    font-size: 22px;
  }

  /* Paragraph text */
  .block p,
  .who-list li,
  .process-list li {
    font-size: 15px;
  }

  /* Framework becomes vertical */
  .framework-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .framework-item {
    padding-left: 14px;
  }

  /* Locations stack cleanly */
  .location-grid {
    grid-template-columns: 1fr;
  }

  /* Contact layout */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-box iframe {
    min-height: 260px;
    margin-top: 18px;
  }

  /* Floating buttons — smaller & calmer */
  .float-call,
  .float-whatsapp {
    padding: 10px 14px;
    font-size: 13px;
  }

  .float-call {
    left: 16px;
    bottom: 16px;
  }

  .float-whatsapp {
    right: 16px;
    bottom: 16px;
  }
}

/* Extra-small devices */
@media (max-width: 420px) {

  .block h1 {
    font-size: 24px;
  }

  .block h2 {
    font-size: 20px;
  }

  .logo {
    font-size: 20px;
  }
}
/* FIXED EDITORIAL NAV BAR */

.header {
  position: relative;
  z-index: 100;
}

.header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #f6f3ef;
  border-bottom: 1px solid #cfc6bc;
}

body.has-fixed-header {
  padding-top: 82px; /* header height */
}
