@charset "UTF-8";
@font-face {
  font-family: "Figtree";
  font-weight: 400;
  src: url("fonts/Figtree-Regular.woff2"); }
@font-face {
  font-family: "Figtree";
  font-weight: 500;
  src: url("fonts/Figtree-Medium.woff2"); }
@font-face {
  font-family: "Figtree";
  font-weight: 600;
  src: url("fonts/Figtree-SemiBold.woff2"); }
@font-face {
  font-family: "Figtree";
  font-weight: 800;
  src: url("fonts/Figtree-ExtraBold.woff2"); }
@font-face {
  font-family: "Figtree";
  font-weight: 900;
  src: url("fonts/Figtree-Black.woff2"); }

html {
  font-family: "Figtree", sans-serif;
  font-weight: 400;
  line-height: 130%;
  font-size: 16px; }

body {
  margin: 0;
  background-color: transparent;
  color: #00451a;
  hyphens: manual;
  overflow-wrap: break-word; }

h1 {
  font-weight: 900;
  line-height: 110%;
  margin: 0;
  text-align: center; }

h2 {
  font-weight: 500;
  line-height: 120%;
  margin: 0; }

ul {
  padding-left: 1rem; }
  ul li {
    margin-bottom: 0.8rem; }

@media screen and (width > 768px) {
  .buttons {
    font-size: 1rem; }

  #one h1 {
    font-size: 3.375rem; }

  .big-button {
    font-size: 1.25rem; }

  .subscription {
    font-size: 1.25rem;
    line-height: 130%; }
    .subscription h2 {
      font-size: 2.25rem; }
    .subscription li {
      margin-bottom: 0.8rem; }
    .subscription .price {
      font-size: 3rem; }
      .subscription .price::after {
        font-size: 2.25rem; }
    .subscription .order-button {
      font-size: 1.25rem; }

  .where-to-buy {
    font-size: 1.2rem; } /* 1,5625rem; */

  #three h1 {
    font-size: 3.375rem; }

  .card {
    font-size: 1.25rem;
    position: relative; /* important for .card-icon positioning */
  }
  .card h2 {
    font-size: 2.25rem; }
	
	
  .full-width-with-image {
    font-size: 1.5rem;
    line-height: 135%; }
    .full-width-with-image h2 {
      font-size: 2.25rem; }

  .conditions {
    font-weight: 500;
    font-size: 2.25rem;
    line-height: 120%; }

  #six .header {
    font-size: 1.25rem; } }

@media screen and (width <= 768px) and (width > 420px) {
  .buttons {
    font-size: 1rem; }

  #one h1 {
    font-size: 2.75rem; }

  .big-button {
    font-size: 1.25rem; }

  .subscription {
    font-size: 1rem;
    line-height: 135%; }
    .subscription h2 {
      font-size: 2.25rem; }
    .subscription li {
      margin-bottom: 0.4rem; }
    .subscription .price {
      font-size: 2.75rem; }
      .subscription .price::after {
        font-size: 2.25rem; }
    .subscription .order-button {
      font-size: 1.25rem; }

  .where-to-buy {
    font-size: 1.5625rem; }

  #three h1 {
    font-size: 3rem; }

  .card {
    font-size: 1rem; }
    .card h2 {
      font-size: 1.953125rem; }

  .full-width-with-image {
    font-size: 1rem;
    line-height: 135%; }
    .full-width-with-image h2 {
      font-size: 1.953125rem; }

  .conditions {
    font-weight: 500;
    font-size: 1.953125rem;
    line-height: 110%; }

  #six .header {
    font-size: 1rem; } }

@media screen and (width <= 420px) {
  .buttons {
    font-size: 0.625rem; }

  #one h1 {
    font-size: 2.25rem; }

  .big-button {
    font-size: 1rem; }

  .subscription {
    font-size: 0.875rem;
    line-height: 135%; }
    .subscription h2 {
      font-size: 2rem; }
    .subscription li {
      margin-bottom: 0; }
    .subscription .price {
      font-size: 2.5rem; }
      .subscription .price::after {
        font-size: 2rem; }
    .subscription .order-button {
      font-size: 1rem; }

  .where-to-buy {
    font-size: 1.5625rem; }

  #three h1 {
    font-size: 1.5rem; }

  .card {
    font-size: 1rem; }
    .card h2 {
      font-size: 1.625rem; }

  .full-width-with-image {
    font-size: 1rem;
    line-height: 135%; }
    .full-width-with-image h2 {
      font-size: 2rem; }

  .conditions {
    font-weight: 500;
    font-size: 1.5625rem;
    line-height: 120%; }

  #six .header {
    font-size: 1rem; } }

#two > .content, #three > .content, #four > .content, #five > .content, #six > .content {
  padding: 6.25vw; }

#one {
  background-color: #98d26c; }
  #one::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: #98d26c white transparent transparent; }
    @media screen and (width > 768px) {
      #one::after {
        border-width: 5.56vw 100vw 0 0; } }
    @media screen and (width <= 768px) and (width > 420px) {
      #one::after {
        border-width: 9.38vw 100vw 0 0; } }
    @media screen and (width <= 420px) {
      #one::after {
        border-width: 14.06vw 100vw 0 0; } }
  #one img {
    width: 100%;
    object-fit: cover;
    margin-top: -4.5rem; }
    @media screen and (width <= 720px) {
      #one img {
        height: 370px;
        object-position: 55%; } }
  #one h1 {
    margin-top: 2rem; }
  #one .big-button {
    display: block;
    margin: 0 auto;
    border: solid 0px;
    border-radius: 100vw;
    background: #00451a;
    color: white;
    font-weight: 500;
    letter-spacing: -2%;
    text-align: center;
    text-decoration: none;
    width: 11em;
    margin: 2rem auto 2rem auto;
    padding: 0.8em 1.25em; }
    @media screen and (width <= 768px) {
      #one .big-button {
        padding: 0.5em; } }
    #one .big-button:hover {
      background: #c9ff5f;
      color: #00451a; }

#two {
  background-color: white; }
  #two::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: white transparent transparent #00451a; }
    @media screen and (width > 768px) {
      #two::after {
        border-width: 5.56vw 0 0 100vw; } }
    @media screen and (width <= 768px) and (width > 420px) {
      #two::after {
        border-width: 9.38vw 0 0 100vw; } }
    @media screen and (width <= 420px) {
      #two::after {
        border-width: 14.06vw 0 0 100vw; } }

.cards, .subscriptions {
  display: grid;
  justify-content: space-between;
  gap: 3rem 1.5rem;
  grid-gap: 3rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
  @media screen and (width <= 420px) {
    .cards, .subscriptions {
      grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); } }

@media screen and (height <= 520px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(36rem, 1fr)); } }

.card, .subscription {
  border-radius: 30px;
  line-height: 130%; }

.card {
  padding: 2.5rem;
  position: relative; 
  }


/* Here goes */

/* Left card: media layout (image + text in one card) */
.card.media {
  display: grid;
  grid-template-columns: 300px 1fr;  /* desktop image column width */
  gap: 26px;
  align-items: start;
}

.card.media .card-thumb {
  width: 100%;
  height: auto%;
  min-height: 160px;
  object-fit: cover;
  border-radius: 16px;
}

/* Tablet tweaks */
@media (max-width: 1200px) {
  .card.media { grid-template-columns: 280px 1fr; }
  .card.media .card-thumb { height: 200px; }
}

/* Mobile: stack image above text */
@media (max-width: 780px) {
  .card.media { grid-template-columns: 1fr; }
  .card.media .card-thumb {
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
  }
}




.subscription {
  background-color: #04ce5b;
  margin: 1.5rem 0;
  padding: 1.875rem 1.875rem 3rem;
  position: relative; }
  .subscription .price {
    font-weight: 800;
    color: white; }
    .subscription .price::after {
      font-weight: 400;
      content: " €/kk**"; }
  .subscription .order-button {
    position: absolute;
    bottom: -1.35rem;
    right: 1.5rem; }
    @media screen and (width <= 420px) {
      .subscription .order-button {
        padding: 0.5rem 0; } }
    .subscription .order-button a {
      display: block;
      margin: 0 auto;
      border: solid 0px;
      border-radius: 100vw;
      background: #00451a;
      color: white;
      font-weight: 500;
      letter-spacing: -2%;
      text-align: center;
      text-decoration: none;
      width: 6rem;
      padding: 0.7rem 0.8rem; }
      .subscription .order-button a::before {
        content: "Valitse"; }
  .subscription::before {
    display: block;
    position: absolute;
    top: -1.5rem;
    right: 1.5rem;
    width: 4rem;
    padding: 0.6rem 0.9rem;
    border: solid 4px #04ce5b;
    border-radius: 2rem;
    font-weight: 800;
    font-size: 1.25rem;
    text-align: center; }
    @media screen and (width <= 420px) {
      .subscription::before {
        top: -1.35rem;
        padding: 0.6rem 0.5rem; } }

.four-g::before {
  background: white;
  content: "4G"; }

.five-g::before {
  background: #c9ff5f;
  content: "5G"; }

.where-to-buy {
  text-align: center;
  margin-top: 7rem;
  font-weight: 600;
  font-size: 1.563rem; }
  
  


#three {
  background-color: #00451a; }
  #three::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: #00451a #04ce5b transparent transparent; }

#three.white-background {
  background-color: white;
}

/* Make the slanted slice under #three white when this row is white */
#three.white-background::after {
  /* original was: border-color: #00451a #04ce5b transparent transparent; */
  border-color: white white transparent transparent !important;
}

    @media screen and (width > 768px) {
      #three::after {
        border-width: 5.56vw 100vw 0 0; } }
    @media screen and (width <= 768px) and (width > 420px) {
      #three::after {
        border-width: 9.38vw 100vw 0 0; } }
    @media screen and (width <= 420px) {
      #three::after {
        border-width: 14.06vw 100vw 0 0; } }
  #three h1 {
    color: #64ec00;
    padding: 2.5rem; }

#four {
  background-color: #04ce5b; }
  #four::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: #04ce5b transparent transparent white; }
    @media screen and (width > 768px) {
      #four::after {
        border-width: 5.56vw 0 0 100vw; } }
    @media screen and (width <= 768px) and (width > 420px) {
      #four::after {
        border-width: 9.38vw 0 0 100vw; } }
    @media screen and (width <= 420px) {
      #four::after {
        border-width: 14.06vw 0 0 100vw; } }

.full-width-with-image {
  border-radius: 30px;
  overflow: hidden; }
  .full-width-with-image .body {
    padding: 2.5rem; }
    @media screen and (width <= 420px) {
      .full-width-with-image .body {
        padding: 1.25rem 1.5rem !important; /* was 2.5rem */ } }
  @media screen and (width >= 640px) {
    .full-width-with-image {
      display: flex;
      flex-flow: row wrap; }
      .full-width-with-image img {
        flex: 1 1 0;
        object-fit: cover;
        object-position: 55%;
        width: 25%; } }
  @media screen and (width >= 640px) and (width >= 900px) {
    .full-width-with-image .body {
      flex: 3 1 0; } }
  @media screen and (width >= 640px) and (width < 900px) {
    .full-width-with-image .body {
      flex: 2 1 0; } }

  @media screen and (width < 640px) {
    .full-width-with-image img {
      width: 100%;
      clip-path: polygon(0 0, 0 85%, 100% 100%, 100% 0); } }

#five {
  background-color: white; }
  #five .conditions {
    color: #00451a;
    text-decoration: none; }
  #five .apps {
    font-weight: 600;
    font-size: 1.5625rem;
    line-height: 120%; }
  #five .badges {
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
    width: fit-content; }
    #five .badges a {
      flex: 1 1 0; }
      #five .badges a img {
        min-width: 130px;
        max-width: 190px;
        width: 100%;
        height: 100%; }

#six {
  background-color: #04ce5b;
  color: #00451a; }
  #six .content {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 0 1.5rem;
    padding: 3rem; }
  #six img {
    flex: 2 1 0;
    align-self: first baseline;
    object-fit: scale-down;
    max-width: 200px;
    margin: 0 4% 0 3%; }
    @media screen and (width <= 900px) {
      #six img {
        min-width: 120px;
        max-width: 50%;
        margin: 0 0 2rem 0; } }
  #six section {
    flex: 1 1 10rem; }
    #six section .header {
      font-weight: 600;
      margin-bottom: 2rem; }

.white {
  background-color: white;
  color: #00451a; }

.smartness-green {
  background-color: #00451a;
  color: white; }

.money-saving-green {
  background-color: #04ce5b;
  color: #00451a; }

/* ====== HEADER (merged, centered links) ====== */
.menubar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4.5rem;
  background-color: white;
  border-radius: 0 0 30px 30px;
  padding: 0 3vw; }
  @media screen and (width <= 768px) {
    .menubar {
      background-color: transparent; } }
  .menubar .buttons {
    display: flex;
    justify-content: space-between;
    column-gap: 0.25rem;
    align-items: center;
    /* padding-right: 7.75vw;  removed for true centering */ }

.logo {
  padding-left: 0; }
  .logo img {
    height: 2.5rem; }

.button {
  font-weight: 400;
  border: 0;
  border-radius: 100vw;
  background-color: #00451a;
  color: white;
  display: inline-block;
  text-decoration: none;
  padding: 0.5em 1.2em; }
  .button:active {
    background-color: #c9ff5f;
    color: #00451a; }

.button:hover {
  background-color: #c9ff5f;
  color: #00451a; }

#content {
  display: none; }

/* === New center links in header === */
.header-links {
  flex: 1 1 auto;
  text-align: center;
  white-space: nowrap;
  line-height: 1; }

.header-links a {
  text-decoration: none;
  margin: 0 8px;
  font-weight: 500;
  color: #00451a; }

.header-links a:hover {
  text-decoration: underline;
  color: #04ce5b; }

.header-links .sep {
  opacity: 0.5; }

/* On small screens, stack links below logo/My Giga button */
@media screen and (max-width: 640px) {
  .menubar {
    flex-wrap: wrap; }
  .header-links {
    order: 3;
    width: 100%;
    margin-top: 6px;
    white-space: normal; } }

.no-slice::after { display: none !important; }

/* === Tighten gap after the green cards row === */
#three.white-background::after {
  border-width: 0 !important;
}

#three.white-background > .content {
  padding-bottom: 4rem;
}

/* White links on green cards, no underline at all */
.money-saving-green a.conditions,
.money-saving-green a.conditions:visited,
.money-saving-green a.conditions:hover {
  color: #ffffff;
  text-decoration: none;
}


/* Black links on white cards, no underline */
.white a.conditions,
.white a.conditions:visited,
.white a.conditions:hover {
  color: #000000;
  text-decoration: none;
}


/* decorative corner icon inside cards */
.card-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 68x;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}
		 
@media (max-width: 768px) {
  .card-icon {
    width: 36px;
    top: 12px;
    right: 12px;
  }
}
.lang-switch a {
  color: #000;
  text-decoration: none;
}
.lang-switch a:visited,
.lang-switch a:hover,
.lang-switch a:active {
  color: #000;
  text-decoration: none;
}
/* Active language styling */
.lang-switch .active-lang {
  color: #00451a; /* Giga green */
  font-weight: bold;
}
/* Two-column wrapper: left 2 parts, right 1 part */
.two-up-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .two-up-2-1 { grid-template-columns: 1fr; }
}




.three-up-2-1-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  .three-up-2-1-1 {
    grid-template-columns: 1fr;
  }
}












/* ===== Video card: title (left) + video (right) ===== */

.video-card .video-row {
  display: flex;          /* keep flex */
  align-items: flex-start;/* headline aligns at top (like other cards) */
  gap: 20px;              /* a bit more breathing space */
  flex-wrap: wrap;            /* lets the video drop under the H2 if needed */
  }

.video-card .video-row { margin-top: 12px; } /* spacing under the headline */

.video-card h2{
  margin: 0;
  line-height: 1.1;
}	




/* Video element inside the card */
.card-video{
  display: block;
  margin: 0;
  border-radius: 8px;
  
  /* Make it visibly narrower on wide screens */
  flex: 0 0 360px;            /* was 0 1 360px */
  max-width: 280px;
  height: auto;
  max-height: 00px;          /* was 220px */
}

/* Stack title above video on smaller widths */
@media (max-width: 900px){
  .video-card .video-row{ flex-direction: column; }
  .card-video{
    flex: 0 0 auto;
    max-width: 100%;
    max-height: none;
  }
}

/* ensure the embedded player actually scales down */
.card-video iframe,
.card-video video {
  width: 100%;
  height: auto;
  display: block;
}

/* 1) Keep the video bigger, but don't let the card grow */
.card.video-card{
  /* default .card has 2.5rem padding and 1.75ren; trim it for this card only */
  padding: 2.5rem 1.75rem;   /* ↓ vertical padding ≈ -32px total */
}

/* 2) Slightly tighter space between title and video */
.video-card .video-row{
  gap: 8px;                 /* was 16px */
}

/* 3) Biggish video, still tidy */
.card-video{
  flex: 0 0 420px;           /* width cap */
  max-width: 420px;
  max-height: 380px;         /* visual presence */
  margin: 0;                 /* no extra whitespace */
  border-radius: 8px;
}

/* Make the actual player shrink nicely */
.card-video iframe,
.card-video video{
  width: 100%;
  height: auto;
  display: block;
}

/* Stack on small screens as before */
@media (max-width: 900px){
  .video-card .video-row{ flex-direction: column; }
  .card-video{
    flex: 0 0 auto;
    max-width: 100%;
    max-height: none;
  }
}



/* Bigger body text in the left media card only */
.card.white.media .body p {
  font-size: 1.25em;   /* ≈12% larger than the card’s base 1.12em*/
  line-height: 1.35;   /* 1.35; */
}

/* Optional: slightly smaller bump on small screens */
@media (max-width: 768px){
  .card.white.media .body p { font-size: 1.06em; }
}





.card.white.pricelist .body p {
  font-size: 1.25em;   /* ≈12% larger than the card’s base 1.12em*/
  line-height: 1.35;   /* 1.35; */
}

/* Optional: slightly smaller bump on small screens */
@media (max-width: 768px){
  .card.white.pricelist .body p { font-size: 1.06em; }
}

.where-to-buy {
  font-size: 1.2rem !important;

}

/* Style the "Find your nearest Gigantti shop" button */
.where-to-buy a {
  display: inline-block;
  border-radius: 100vw;
  background: #00451a;
  color: white;
  font-weight: 500;
  font-size: 1.25rem;
  text-align: center;
  text-decoration: none;
  padding: 0.8em 1.25em;
  width: auto;
  white-space: nowrap;  /* prevent text from wrapping */
}

.where-to-buy a:hover {
  background: #c9ff5f;
  color: #00451a;
}

/* Plans section headline (above the four product cards) */
.plans-title{
  font-weight: 900;               /* same heavy weight as hero */
  text-align: center;             
  color: var(--green-900);        
  margin: 0 0 28px;               /* space above cards */
  line-height: 1.15;
  /* responsive size similar to the hero but a touch smaller */
  font-size: clamp(28px, 4.5vw, 44px);
}

/* optional: tighten space on very wide screens */
@media (min-width: 1200px){
  .plans-title{ margin-bottom: 32px; }
}
/* Subtitle under plans headline */
.plans-subtitle {
  font-weight: 700;                 /* still bold, but less heavy than h2 */
  text-align: center;
  color: var(--green-900);          /* same color as h2 */
  margin: -5px 0 24px;              /* pulls closer to h2, adds space below */
  line-height: 1.2;
  font-size: clamp(18px, 3vw, 28px); /* smaller than h2 */
}
.subscriptions section .price-note {
  margin: 2px 0 0;
  line-height: 1.2;
  font-size: 1.15rem;
  font-weight: 600;     /* tweak as you like */
  opacity: .9;          /* optional: make it slightly toned down */
}

a[href^="tel"] {
  color: #ffffff;
  text-decoration: none;
}
a[href^="tel"]:hover {
  color: #ffffff;   
  text-decoration: underline;
}

/* Footer logo: fixed size and no inherited spacing */
.footer-logo img {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: none;
  margin: 0;
}

/* Footer logo container */
.footer-logo {
  display: flex;
  justify-content: center;  /* centers horizontally */
  align-items: center;      /* centers vertically */
  text-align: center;       /* ensures inner text/images align */
  margin-bottom: 0.3rem;    /* small tweak to match address spacing */
}

/* If your footer sits inside #six on some pages, guard against those rules */
#six .footer-logo img {
  max-width: none;
  margin: 0;
}



#emergency-banner {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  background-color: #c62828;
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  padding: 12px 16px;
  z-index: 9999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

