:root {
  --bg: #f4f2ec;
  --ink: #141816;
  --muted: #66706a;
  --accent: #b8ff57;
  --accent-deep: #8dd62d;
  --card: #fffdf7;
  --line: rgba(20, 24, 22, .12);
  --dark: #111614;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'DM Sans', sans-serif; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.orb { position: fixed; border-radius: 50%; filter: blur(110px); pointer-events: none; opacity: .28; z-index: -1; }
.orb-one { width: 420px; height: 420px; background: var(--accent); top: -160px; right: -80px; }
.orb-two { width: 280px; height: 280px; background: #79d4ff; bottom: 5%; left: -120px; opacity: .14; }
.site-header { width: min(1180px, calc(100% - 48px)); margin: 20px auto 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(244,242,236,.78); backdrop-filter: blur(18px); position: sticky; top: 16px; z-index: 20; }
.brand { display: flex; gap: 10px; align-items: center; font-family: 'Manrope'; font-weight: 800; font-size: 20px; letter-spacing: -.04em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 16px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.nav-links a { opacity: .78; }
.nav-links a:hover { opacity: 1; }
.nav-links .nav-cta { background: var(--ink); color: white; padding: 10px 15px; border-radius: 999px; opacity: 1; }
.menu-button { display: none; border: 0; background: none; font: inherit; font-weight: 700; }
.hero { padding: 126px 0 72px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; margin-bottom: 22px; color: #536057; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; letter-spacing: -.055em; margin-top: 0; }
h1 { font-size: clamp(58px, 8.2vw, 108px); line-height: .93; max-width: 1050px; margin-bottom: 34px; }
h1 span { color: #768079; }
.hero-copy { font-size: clamp(19px, 2vw, 24px); max-width: 760px; color: var(--muted); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 70px; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 14px 20px; font-weight: 700; border: 1px solid var(--ink); transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; font: inherit; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.button-primary { background: var(--accent); color: var(--ink); }
.button-secondary { background: transparent; }
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip div { padding: 24px 22px 24px 0; }
.proof-strip strong { display: block; font-family: 'Manrope'; font-size: 17px; margin-bottom: 4px; }
.proof-strip span { font-size: 14px; color: var(--muted); }
.split-section { padding: 120px 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
h2 { font-size: clamp(40px, 5vw, 68px); line-height: 1.02; margin-bottom: 0; }
.large-copy { font-size: clamp(20px, 2.1vw, 27px); color: var(--muted); }
.large-copy p:first-child { color: var(--ink); }
.cards-section { padding-bottom: 130px; }
.section-heading { max-width: 850px; margin-bottom: 54px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { padding: 32px; min-height: 420px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,253,247,.7); display: flex; flex-direction: column; }
.featured-card { background: var(--accent); }
.service-number { font-size: 13px; font-weight: 700; opacity: .65; margin-bottom: auto; }
.service-card h3 { font-size: 30px; margin-bottom: 16px; }
.service-card p { color: var(--muted); }
.featured-card p { color: rgba(20,24,22,.72); }
.service-card ul { margin: 24px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid rgba(20,24,22,.12); }
.service-card li { margin: 9px 0; font-weight: 600; font-size: 14px; }
.dark-section { background: var(--dark); color: white; padding: 120px 0; border-radius: 42px; width: calc(100% - 24px); margin: 0 auto; }
.light-heading .eyebrow { color: #9aa49f; }
.light-heading h2 { max-width: 900px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 64px; }
.process-item { padding: 24px; border: 1px solid rgba(255,255,255,.11); border-radius: 22px; min-height: 240px; }
.process-item span { color: var(--accent); font-weight: 700; }
.process-item h3 { margin-top: 65px; margin-bottom: 10px; font-size: 24px; }
.process-item p { color: #aeb7b2; font-size: 15px; }
.advantage-section { padding: 120px 0; }
.advantage-panel { background: var(--card); border: 1px solid var(--line); border-radius: 34px; padding: 52px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; }
.advantage-list { display: grid; gap: 0; }
.advantage-list div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.advantage-list div:last-child { border-bottom: 0; }
.advantage-list strong { font-size: 18px; }
.advantage-list p { margin: 6px 0 0; color: var(--muted); }
.manifesto { padding: 40px 0 130px; }
.manifesto-line { font-family: 'Manrope'; font-size: clamp(54px, 8vw, 108px); font-weight: 800; line-height: .95; letter-spacing: -.06em; }
.manifesto-line.muted { color: #8d9690; }
.contact-section { background: var(--accent); padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 80px; }
.contact-grid h2 { max-width: 620px; margin-bottom: 26px; }
.contact-grid > div > p { max-width: 560px; font-size: 19px; }
.contact-form { background: var(--dark); border-radius: 28px; padding: 30px; color: white; display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.06); color: white; padding: 14px; font: inherit; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form .button { width: 100%; border: 0; margin-top: 5px; }
.form-note { color: #9ca5a0; font-size: 12px; margin: 0; text-align: center; }
.site-footer { padding: 36px 0 44px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--ink); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 65px; left: 0; right: 0; margin: 0; padding: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; flex-direction: column; align-items: flex-start; }
  .menu-button { display: block; }
  .hero { padding-top: 88px; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .split-section, .advantage-panel, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section-shell, .site-header { width: min(100% - 28px, 1180px); }
  .site-header { margin-top: 10px; top: 10px; }
  h1 { font-size: 54px; }
  .hero { padding-top: 76px; }
  .proof-strip, .process-grid { grid-template-columns: 1fr; }
  .split-section, .advantage-section, .contact-section, .dark-section { padding-top: 78px; padding-bottom: 78px; }
  .advantage-panel { padding: 28px; }
  .dark-section { border-radius: 28px; }
}

.visual-showcase { margin-bottom: 36px; }
.visual-showcase img { width: 100%; display: block; border-radius: 34px; border: 1px solid var(--line); box-shadow: 0 26px 70px rgba(20,24,22,.12); }
.expertise-section { padding: 118px 0 128px; background: #e9ece5; width: calc(100% - 24px); margin: 0 auto 120px; border-radius: 42px; }
.expertise-heading { max-width: 940px; }
.expertise-heading > p { max-width: 780px; color: var(--muted); font-size: 19px; margin-top: 24px; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.expertise-card { padding: 32px; min-height: 480px; border: 1px solid rgba(20,24,22,.12); border-radius: 28px; background: rgba(255,255,255,.58); display: flex; flex-direction: column; }
.expertise-card > span { font-size: 13px; font-weight: 700; opacity: .58; margin-bottom: auto; }
.expertise-card h3 { font-size: 31px; line-height: 1.04; margin-bottom: 16px; }
.expertise-card p { color: var(--muted); }
.expertise-card ul { list-style: none; padding: 20px 0 0; margin: 24px 0 0; border-top: 1px solid rgba(20,24,22,.12); }
.expertise-card li { margin: 9px 0; font-size: 14px; font-weight: 600; }
.accent-card { background: var(--dark); color: white; }
.accent-card p { color: #aeb7b2; }
.accent-card ul { border-top-color: rgba(255,255,255,.12); }
.accent-card > span { color: var(--accent); opacity: 1; }

@media (max-width: 900px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: 340px; }
  .visual-showcase img { border-radius: 24px; }
}
@media (max-width: 560px) {
  .expertise-section { padding-top: 78px; padding-bottom: 78px; border-radius: 28px; }
}

/* 2026-08 IFICI-aligned service expansion */
.service-grid-five {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.service-grid-five .featured-card {
  grid-column: span 2;
}
.service-grid-five .featured-card ul {
  columns: 2;
  column-gap: 2rem;
}
.process-grid-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 2rem;
}
.industry-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.industry-grid article {
  padding: 2rem;
  border: 1px solid rgba(22, 28, 28, .12);
  border-radius: 22px;
  background: rgba(255,255,255,.7);
}
.industry-grid article span {
  display: block;
  margin-bottom: 2.5rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent);
}
.industry-grid article h3 {
  font-size: 1.1rem;
  margin-bottom: .8rem;
}
.industry-grid article p {
  color: var(--muted);
  line-height: 1.65;
}
.about-section {
  border-top: 1px solid rgba(22, 28, 28, .1);
}
.footer-detail {
  font-size: .82rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .service-grid-five,
  .process-grid-six,
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .service-grid-five .featured-card {
    grid-column: auto;
  }
  .service-grid-five .featured-card ul {
    columns: 1;
  }
}

/* Image-led service story */
.image-story { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-bottom:36px; }
.image-story-card { overflow:hidden; border:1px solid var(--line); border-radius:28px; background:rgba(255,253,247,.78); }
.image-story-card img { width:100%; height:260px; object-fit:cover; display:block; }
.image-story-card div { padding:26px 28px 30px; }
.image-story-card span { display:block; margin-bottom:12px; text-transform:uppercase; letter-spacing:.12em; font-size:11px; font-weight:800; color:#536057; }
.image-story-card h3 { margin:0 0 10px; font-size:28px; line-height:1.05; }
.image-story-card p { margin:0; color:var(--muted); }
@media (max-width:900px) { .image-story { grid-template-columns:1fr; } .image-story-card img { height:230px; } }

/* Premium Communiqo theme — Midnight Navy / Ivory / Cobalt / Champagne */
:root {
  --bg: #F7F6F2;
  --ink: #0B1728;
  --muted: #66717F;
  --accent: #1769E0;
  --accent-deep: #0F54BC;
  --champagne: #B8A47C;
  --card: #FFFFFF;
  --line: rgba(11, 23, 40, .11);
  --dark: #07182E;
  --slate: #14283F;
}

body {
  background: var(--bg);
  color: var(--ink);
}

.orb { display: none; }

.site-header {
  background: rgba(247, 246, 242, .90);
  border-color: rgba(11, 23, 40, .10);
  box-shadow: 0 10px 40px rgba(7, 24, 46, .05);
}
.brand-mark {
  background: var(--accent);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.nav-links .nav-cta {
  background: var(--dark);
  color: #fff;
}
.nav-links a:hover { color: var(--accent); }
.nav-links .nav-cta:hover { color: #fff; background: var(--slate); }

.hero {
  margin-top: 26px;
  padding: 106px 64px 58px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 88% 12%, rgba(23,105,224,.20), transparent 34%),
    linear-gradient(135deg, #07182E 0%, #0A1E38 58%, #102A48 100%);
  color: #fff;
  box-shadow: 0 26px 70px rgba(7, 24, 46, .16);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(184,164,124,.22);
  border-radius: 50%;
  right: -150px;
  bottom: -180px;
  box-shadow: 0 0 0 55px rgba(184,164,124,.035), 0 0 0 110px rgba(184,164,124,.025);
  pointer-events: none;
}
.hero .eyebrow { color: #B9C7D8; }
.hero h1 { max-width: 980px; }
.hero h1 span { color: #D5DDE7; }
.hero-copy { color: #C6D0DB; }
.hero-actions .button-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.hero-actions .button-secondary {
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.hero-actions .button-secondary:hover { border-color: #fff; }
.hero .proof-strip {
  border-color: rgba(255,255,255,.14);
}
.hero .proof-strip strong { color: #fff; }
.hero .proof-strip span { color: #AEBBC9; }

.eyebrow { color: var(--accent); }
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--champagne);
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.button-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.button-secondary { border-color: rgba(11,23,40,.25); }

.image-story { margin-top: 30px; margin-bottom: 54px; }
.image-story-card {
  background: #fff;
  border-color: rgba(11,23,40,.09);
  box-shadow: 0 16px 46px rgba(7,24,46,.06);
}
.image-story-card img {
  filter: saturate(.82) contrast(1.02);
}
.image-story-card span { color: var(--accent); }
.image-story-card h3 { color: var(--dark); }

.split-section { border-bottom: 1px solid var(--line); }
.large-copy p:first-child { color: var(--dark); }

.expertise-section {
  background: #EEF2F6;
  border: 1px solid rgba(11,23,40,.06);
}
.expertise-card {
  background: rgba(255,255,255,.82);
  border-color: rgba(11,23,40,.09);
  box-shadow: 0 12px 36px rgba(7,24,46,.035);
}
.accent-card {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.accent-card p { color: #B7C4D2; }
.accent-card > span { color: var(--champagne); }

.service-card {
  background: #fff;
  border-color: rgba(11,23,40,.09);
  box-shadow: 0 12px 36px rgba(7,24,46,.035);
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(7,24,46,.08); }
.service-card { transition: transform .2s ease, box-shadow .2s ease; }
.featured-card {
  background: linear-gradient(145deg, #0B213D 0%, #07182E 100%);
  color: #fff;
}
.featured-card p { color: #B9C5D2; }
.featured-card ul { border-top-color: rgba(255,255,255,.12); }
.featured-card .service-number { color: var(--champagne); opacity: 1; }

.dark-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(23,105,224,.18), transparent 32%),
    var(--dark);
  box-shadow: 0 24px 70px rgba(7,24,46,.15);
}
.light-heading .eyebrow { color: #9FB4CB; }
.light-heading .eyebrow::before { background: var(--champagne); }
.light-heading p { color: #B3BFCC; }
.process-item { background: rgba(255,255,255,.025); border-color: rgba(255,255,255,.10); }
.process-item span { color: var(--champagne); }
.process-item p { color: #AEBBC9; }

.industry-grid article {
  background: #fff;
  border-color: rgba(11,23,40,.09);
  box-shadow: 0 10px 28px rgba(7,24,46,.035);
}
.industry-grid article span { color: var(--champagne); }

.advantage-panel {
  background: #fff;
  border-color: rgba(11,23,40,.09);
  box-shadow: 0 18px 48px rgba(7,24,46,.05);
}
.advantage-list strong { color: var(--dark); }

.manifesto-line { color: var(--dark); }
.manifesto-line.muted { color: #8D98A6; }

.contact-section {
  background: #EEF2F6;
  border-top: 1px solid rgba(11,23,40,.06);
}
.contact-form {
  background: var(--dark);
  box-shadow: 0 20px 50px rgba(7,24,46,.15);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form .button-primary { background: var(--accent); color: #fff; }

.site-footer {
  color: #7A8592;
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.footer-brand { color: var(--dark); }
.footer-brand .brand-mark { background: var(--accent); color: #fff; }

@media (max-width: 900px) {
  .hero { padding: 82px 38px 48px; border-radius: 30px; }
  .nav-links.open { background: rgba(247,246,242,.98); }
}
@media (max-width: 560px) {
  .hero { margin-top: 18px; padding: 66px 24px 38px; border-radius: 24px; }
  .hero::after { display: none; }
}

/* Softer premium hero — warm ivory + photography, reduced blue weight */
.hero {
  margin-top: 26px;
  padding: 96px 64px 54px;
  border-radius: 38px;
  background:
    linear-gradient(90deg,
      rgba(247,246,242,1) 0%,
      rgba(247,246,242,.99) 36%,
      rgba(247,246,242,.94) 45%,
      rgba(247,246,242,.60) 54%,
      rgba(247,246,242,.08) 72%,
      rgba(247,246,242,0) 100%),
    url('assets/hero-portugal-soft.png') right center / 64% 100% no-repeat,
    #F7F6F2;
  color: var(--ink);
  box-shadow: 0 22px 60px rgba(7, 24, 46, .10);
  position: relative;
  overflow: hidden;
  min-height: 610px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(184,164,124,.035));
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero .eyebrow { color: #746C5F; }
.hero h1 { max-width: 760px; color: var(--ink); }
.hero h1 span { color: #8D7750; }
.hero-copy { color: #485565; max-width: 690px; }
.hero-actions .button-primary {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.hero-actions .button-primary:hover { background: var(--slate); border-color: var(--slate); }
.hero-actions .button-secondary {
  color: var(--ink);
  border-color: rgba(7,24,46,.28);
  background: rgba(247,246,242,.72);
  backdrop-filter: blur(8px);
}
.hero-actions .button-secondary:hover { border-color: var(--champagne); }
.hero .proof-strip {
  max-width: 840px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(7,24,46,.10);
  border-radius: 20px;
  padding: 20px 22px;
  backdrop-filter: blur(12px);
}
.hero .proof-strip strong { color: var(--ink); }
.hero .proof-strip span { color: #66717F; }

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(247,246,242,.96) 0%, rgba(247,246,242,.88) 60%, rgba(247,246,242,.42) 100%),
      url('assets/hero-portugal-soft.png') center / cover no-repeat;
  }
}
